Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Scriptlets in Struts tag

Chaudhary, Harsh

2007-02-27

Replies:

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: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.