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: Re: Scriptlets in Struts tag hi, try this code. <%=indexVal.intValue()%> Regards, Nuwan. ----- Original Message ----- From: "Chaudhary, Harsh" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[email protected]> Sent: Tuesday, February 27, 2007 6:22 PM Subject: Scriptlets in Struts tag My code: <logic:iterate name="FDA3Form" property="dependentsInfoAl" id="element" indexId="indexVal"> <html:text name="element" property="dependentName" size="20" maxlength="35" indexed="true" style="display:block;" styleId='BLABLABLA----->>><%= indexVal %><<<-----'/> </logic:iterate> 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

