[Catalyst] html-widget bug or design?

Carl Franks fireartist at gmail.com
Wed Mar 8 18:18:40 CET 2006


On 01/03/06, Sebastian Riedel <sri at oook.de> wrote:
>
>  On 3/1/06, Carl Franks <fireartist at gmail.com> wrote:
>
> > Also, I'd like an accessor to retrieve an element by name, so that I
> > don't have to store them all as they're created.
>
> I would call the methods get_elements/get_constraints/get_filters and
> just let them return a list.
>
> Patches welcome! :)

Committed!

$w->get_constraints()
$w->get_constraints( type => 'Integer' )
$w->get_constraints( name => 'username' )

$w->get_elements()
$w->get_elements( type => 'Textfield' )

$w->get_filters()
$w->get_filters( type => 'LowerCase' )


Carl



More information about the Catalyst mailing list