Re: Scriptlets in Struts tag

2007-02-27 Thread Laurie Harper
Yup, that's the way the spec says it should work :-) An attribute can be *either* a static String *or* a Runtime Expression. You can't mix both, so you have to make the any static text part of the RT as you showed. L. Frank W. Zammetti wrote: I don't think so... if that was true you'd expect

RE: Scriptlets in Struts tag

2007-02-27 Thread Frank W. Zammetti
ndered, the id attribute is rendered > as: >> >> id='BLABLA<%=indexVal.intValue()%>' >> >> Harsh. >> >> -Original Message- >> From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, February 27, 2007 6:09 PM >> To:

RE: Scriptlets in Struts tag

2007-02-27 Thread Chaudhary, Harsh
: Struts Users Mailing List Cc: Struts Users Mailing List Subject: RE: Scriptlets in Struts tag I believe your running into something I ran into the other day, something I didn't know... if you have an attribute: someAttribute="123<%=someVar%>" ...the value of someVar isn

RE: Scriptlets in Struts tag

2007-02-27 Thread Frank W. Zammetti
arsh wrote: > I tried that. But in the HTML rendered, the id attribute is rendered as: > > id='BLABLA<%=indexVal.intValue()%>' > > Harsh. > > -Original Message- > From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February

RE: Scriptlets in Struts tag

2007-02-27 Thread Chaudhary, Harsh
I tried that. But in the HTML rendered, the id attribute is rendered as: id='BLABLA<%=indexVal.intValue()%>' Harsh. -Original Message- From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 6:09 PM To: Struts Users Mailing List Subject: R

Re: Scriptlets in Struts tag

2007-02-27 Thread Nuwan Chandrasoma
hi, try this code. <%=indexVal.intValue()%> Regards, Nuwan. - Original Message - From: "Chaudhary, Harsh" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, February 27, 2007 6:22 PM Subject: Scriptlets in Struts tag My code: indexId="indexVal"> maxlength="35"