My temporary solution was to remove the {cgi} creation step from
Maypole::View::Base::vars and then go through my templates (HTML::Mason)
and change all the:
$classmetadata->{cgi}->{$col}->as_HTML
to:
$classmetadata->{name}->to_field($col)->as_HTML
It works great but it's a bit of a hack. It actually makes the
application usable.
Brian Glass wrote:
> Has any more thought been put into this problem? I'd be happy to help
> code the solution, but I don't think a consensus has been reached as
> to what to do about the problem.
>
>
> Matt Adams wrote:
>
>> ... I'd very much like to see Simon's suggestion for "AsForm to
>> return its own objects, which save state and only hit the database
>> when as_HTML is called on them."
>>
>>
>> Matt
>
>
>
>
_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT