Hi,

I figured it out. I used <s:set/ > for this. Thanks.

<s:iterator value="model.list">
   <s:set name="value">
       <s:property />
   </s:set>
<custom:tag attr="${value}" /> </s:iterator>

regards


Kropp, Henning schrieb:
Hi List,

I am new to struts2. I iterate over a list of strings. Every string in that list is supposed to be executed by a custom tag. I tried it in many fashions but its not working. I am only able to give over the whole list as a string with:

<custom:tag attr="${model.list}" />

How to I get the <s:proptery /> value into my custom tag?

Kind regards
Henning Kropp


---------------------------------------------------------------------
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]

Reply via email to