You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Struts2 Fan <st...@gmail.com> on 2007/01/29 15:45:05 UTC

[S2] Inner Tag Syntax

Hi Struts2 Users,

I have a question.

<s:iterator value="commercialList" >
            <area href="<s:url action="Direction"
includeParams="all"><s:param name="address" value="10" /></s:url>"
                  title="<s:property value="name"/>"/>
</s:iterator>

Here I used iterator tag and for the s:param's value (it is currently 10
above) I want to put the id property of the bean. (The bean has the property
id.) How can I put it there?  <s:property value="id"/> cannot be accepted
there.

Thanks for your attention