tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Colin de Verdiere" <tdeverdi...@scort.com>
Subject Attributes translation time validation
Date Thu, 07 Mar 2002 17:52:16 GMT
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:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message