You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by holod <se...@gmail.com> on 2008/07/28 12:02:07 UTC

Re: Compose String value and stack value into String, set result as property value of struts2 tag, solution

targets[<s:property value="%{'attachedMainDocRow' + #document.count}"/>]
works fine, 
<s:a id="" showLoadingText="false" targets="%{'attachedMainDocRow' +
#document.count}"
										   theme="ajax" href="%{#deleteDocumentAction}">
										 <s:url value= "/>
									</s:a>

rewrites content of html element with id="attachedMainDocRow{num}"
{num} is iterator count value.

So easy :)
-- 
View this message in context: http://www.nabble.com/Compose-String-value-and-stack-value-into-String%2C-set-result-as-property-value-of-struts2-tag-tp18686786p18687298.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org