I use <s:iterator/>
inside this tag I want to compose a String.
I've tried this one:
                        <s:set name="representativeIds" value="" scope="page"/>
                                <s:iterator value="lawDraft.representatives">
                                        <s:if test="id != 0">
                                                <s:property value="'id=' + id"/>
                                                <s:set name="representativeIds" 
value="#representativeIds + id +
';'"/>
                                                <s:property value="'set=' + 
#representativeIds"/>
                                        </s:if>
                                </s:iterator>

<s:property value="'id=' + id"/> shows me that my iterator works and I have
several id != 0
<s:property value="'set=' + #representativeIds"/> always shows set=null

seems like I'm on the wrong way. Is it possible to solve such task using
struts tags?
-- 
View this message in context: 
http://www.nabble.com/append-value-inside-%3C%3Aiterator-tp18873205p18873205.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]

Reply via email to