Aother thing that i have been wanting is to specify a where clause for
the select.  I currently do thi with a has_a_select_limit sub in my
model that returns a hash of field and WHERE clause .  But in general
it would be nice just to be able to pass it as an option or have a
to_select_where method.     Options are where i was planning on
picking up next in the AsForm code.

One day. ..
Cheers,


On 11/3/05, Aaron Trevena <[EMAIL PROTECTED]> wrote:
> On 11/3/05, Peter Speltz <[EMAIL PROTECTED]> wrote:
>
> > > >    if ( my $cid = $r->params->{customer_id} {
> > > >         $self->_to_select('customer_id', $cid)
> ...
> > In case i was not clear enough, I'm suggesting that maybe the
> > Maypole:;Form methods making inputs could inpect the parameter hash ,
> > perhaps passed in as an argument, and if there is a value there for
> > the field it is making an input for,  make that value the initial
> > value.
>
> works for me
>
> A.
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Maypole-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/maypole-devel
>


--
pjs


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Maypole-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-devel

Reply via email to