Henry Park wrote:
How can I append the values in a list to a struts tag? For example, in
the example below, how can I append 'lastname' into 'AppendedList'?

<s:set name="AppendedList" value=""/>

<s:iterator value="resultList" status="status">
  <s:property name="lastname"/>
</s:iterator>

I have tried
<s:append id="AppendedList">
  <s:param value="lastname"/>
</s:append>

I'm not sure what you're trying to accomplish, but that doesn't look like the purpose of s:append, which takes one or more existing lists and concatenates them.

What can't you use resultList directly? If you describe what you're trying to accomplish and why you want to push data into a scripting variable, someone may be able to describe an easier approach.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to