use the <s:set> tag http://struts.apache.org/2.1.2/docs/set.html
2008/10/4 Hardik Shah <[EMAIL PROTECTED]>: > > how to use iterator property as variable > > suppose > > > <s:iterator value="attributelist" id="attriblist"> > <%int prevAttrId=-1; %> > <tr> > <td><s:property value="attrName"/></td> > <td><s:property value="attrValue"/></td> > <td><s:property value="attrType"/></td> > <td><s:property value="attrForIndiName"/></td> > <td><s:property value="userTypeName"/></td> > <td><s:property value="userInput"/></td> > <td><s:property value="remark"/></td> > <td><s:property value="attrMatrixValue"/></td> > </tr> > > > </s:iterator> > after each iteration i want to store attrMatrixValue in prevAttrId variable > > can i use ognl expression or another else for this > i m not well experienced in s2 > > help > > > ----- > > > Java/J2EE developer > India > > blogs > http://hardik4u.wordpress.com wordpress blog > > -- > View this message in context: > http://www.nabble.com/use-property-of-iterator-tp19810685p19810685.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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]