You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Thomas Colin de Verdiere <td...@scort.com> on 2002/03/07 18:52:16 UTC

Attributes translation time validation

Hi,
Does the jsp container have to validate attribute :

<tags:myTag attr1="1">

and i have in my tag
public void setAttr1(int value) {attr1 = value;}

for example what happen if i put <tags:myTag attr1="astring">
In my tag i expected an int but the attribute attr1 value is a string.

About validation what are the keys to make validation ( and tell the 
maximum to the container so it can do the work).
Is the tag extra info class useful for translation time?
Does someone have sources or links about it?

Thanks,

Thomas Colin de Verdière


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>