[Html-widget] HTML::Widget::Element::Password->maxlength
Krzysztof Krzyzaniak
eloy at kofeina.net
Thu Jun 22 15:16:34 CEST 2006
Ash Berlin wrote:
> Krzysztof Krzyzaniak wrote:
>> Just curious: why HTML::Widget::Element::Password doesn't handle
>> maxlength method? It's perfectly legal in HTML/XHTML[1].
>>
>> error:
>> Caught exception in SireCSM::Controller::User->login "Can't locate
>> object method "maxlength" via package "HTML::Widget::Element::Password"
>> at /srv/web/SireCSM/trunk/script/../lib/SireCSM/Controller/User.pm line
>> 192."
>>
>> HTML::Widget 1.07 version.
>>
>> eloy
>>
>> [1] http://www.w3.org/TR/html4/interact/forms.html#h-17.4
>>
> It was missing as a direct accessors - Fireartist added it to the SVN
> version on 2006-05-24.
>
> In the mean time you can set it via
>
> $element->attributes({maxlength=>20})
Ok, thank you.
eloy
--
-------e-l-o-y---------------------------e-l-o-y- at -k-o-f-e-i-n-a-.-n-e-t------
jak to dobrze, że są oceany - bez nich byłoby jeszcze smutniej
More information about the Html-widget
mailing list