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
sers 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<%=someV

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
e: Scriptlets in Struts tag 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

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: ind

Scriptlets in Struts tag

2007-02-27 Thread Chaudhary, Harsh
My code: The code within the ->>> and <<<- is not working. I think it might be due to the way the tag is parsed in the JSP but does anyone know of a way to do this. Basically, I would like to have id='BLA1', id='BLA2' .. in the rendered HTML. Harsh.