RE: id attribute

2002-03-07 Thread van Hilten, Clive
Here is an example of something I have along the lines you suggest. It is a JSP that generates WML code to be viewed in a WML browser on a mobile device. The JSP container I am using is Tomcat 3.2 on Windows 2000 Professional. It compiles just fine. The custom tag library I am using is the

RE: id attribute

2002-03-07 Thread van Hilten, Clive
Actually, on reading my reply again, I think we are talking about different things altogether - I see that you are trying to have the attribute _name_, not its _value_, determined at runtime - no idea about this, sorry. Clive -Original Message- From: van Hilten, Clive [mailto:[EMAIL

Attributes translation time validation

2002-03-07 Thread Thomas Colin de Verdiere
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

Re: id attribute

2002-03-07 Thread Borislav Iordanov
Hi, Tanks Clive! Actually, I was talking about the _value_ of the id attribute, the name is of course statically defined in the TLD. However, code similar to your example didn't work for me under Tomcat 3.2.1. The string value of the id is kept with the %= and %, i.e. it is not evaluated at