Hi all,

Sounds reasonable if a field has defined a validation for maxlength
that the HTML field include a default maxlength and size values.
Maxlength is the max chars that the field will accept (the browser
enforces it), and size is the width of the field, also in chars.

My idea is to attach the ValidationMetadata instances that are applied
during the binding phase as a request attribute ("stripes.validations"
or something), so that tags can use them to calculate default values
like this.

I can prepare this as another patch, if it sounds interesting.

Cheers,

Ignacio.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to