On 2/23/06, Aaron Trevena <[EMAIL PROTECTED]> wrote:
> Hi All,
>

> I have a maypole application I am developing working nicely, with the
> exception of the re-ordering links (which currently seem to be
> broken), and I would like dropdowns in edit/create forms to include a
> blank option.

The new AsForm should do this if the column is Nullable.  Heres its
logic with examples of how to trigger it
1) checks args->{column_nullable}

$beer->to_field(brewery, {column_nullable => 1, column_default => undef });

2) It tries to call $model->column_nullable

$beer->to_field('brewery');


try that.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Maypole-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-devel

Reply via email to