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: Using a jsp:include action (JSP 1.1) within a BodyTag taglib tag

2001-01-30 Thread Alex Tang
st an ugliness in the spec because they didn't think about > nested tags that deeply. > Hope this helps. > -Jeff Ward > > -Original Message- > From: Alex Tang [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 30, 2001 10:16 AM > To: [EMAIL PROTECTED]