[Catalyst] HTML::Widget feedback
    Sebastian Riedel 
    sri at oook.de
       
    Wed Feb  1 02:16:12 CET 2006
    
    
  
01.02.2006 01:29 Alan Humphrey:
> Maybe I'm not understanding something, but right now I'm doing this:
>
> $c->widget->constraint('Range', 'Field')->minimum(1);
> $c->widget->constraint('Range', 'Field')->maximum(4);
>
> Which seems unnecessarily verbose, especially if you have several  
> fields
> that need differing range constraints.
$c->widget->constraint( 'Range', 'Field' )->minimum(1)->maximum(4);
--
sebastian
    
    
More information about the Catalyst
mailing list