Re: Is it legal to have multiple taglib setter methods for the same property

2001-02-07 Thread Alex Tang
e tag looks like: OR However, if the tag is used like so: <% int i = 1; %> Tomcat tries to call "setIndex ( int i )", instead of trying to convert the int into a String. This results in an error in the JSP. ...alex... > > > "Craig

Re: Is it legal to have multiple taglib setter methods for the same property

2001-02-06 Thread Alex Tang
specification. In addition, it seems to cause the Java reflection APIs to think >that there > is no setter method at all, so you will get complaints about a read-only property >from any > JSP implementation that uses this technique. > > Craig McClanahan > > Alex Tang wr

Is it legal to have multiple taglib setter methods for the same property

2001-02-06 Thread Alex Tang
Hi folks. (My apologies for crossposting, I wasn't sure if this is a taglib question or a tomcat question/problem) I'm writing a taglib using the JSP 1.1 spec (currently Tomcat 3.x). I'm having a problem with a property "set" method. I have a taglib tag which takes one parameter: "index". This

Re: WML Generation from JSP broken!!!!

2000-11-29 Thread Alex Tang
Is there a way to get the compiler to ignore the "" syntax? Otherwise this means that serving any page that is XML compliant (WML, XHTML, etc) now requires a complete rewrite of all JSP files to run in 4.0. Thanks. ...alex... "Craig R. McClanahan" wrote: > Davanum Srinivas wrote: > > > Hi a