From: Struts2 Fan [mailto:struts2fan@(protected)]
> <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>
First of all, for clarity, I would create the url with an id and use it
in the expression later.
<s:iterator value="commercialist" id="item">
<s:url action="Direction" includeParams="all" id="dirUrl">
<s:param name="address" value="10"/> <%-- 10? --%>
<s:param name="id" value="%{item.id}"/>
</s:url>
<area href="<s:property value="#dirUrl"/>"
title="<s:property value="name"/>"/>
</s:iterator>
Hmm, might be %{#item.id}, I can't keep track of the new EL stuff yet.
Wow, that wasn't very helpful, was it :/
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)