Hello,

I currently have an action that creates a list of objects (lets say each
object has a name and an id), then redirects to a jsp page that iterates
over the list and displays the name and id for each object in a table.

I want to be able to hyperlink each of the names, then display additional
detailed information when one of the names is clicked on about the object
that was clicked on.  Is there a way to set up the anchor for each name so
that either the actual object, or the id of the object is set on the action?

Below is the relevent part of the jsp that displays each object.  There is a
list in the session called 'terms', which holds Term objects.  When the link
is clicked on, I want the EditTerm action to be able to access the Term
object, or the termId.

Thanks!

Kelly


<s:iterator value="#session['terms']">
        <tr>
                <td> <s:url action= "><s:property value="name"/> </td>
                <td><s:property value="termId"/></td>
                <td><s:property value="locale"/></td>
        </tr>
</s:iterator>

-- 
View this message in context: 
http://www.nabble.com/-S2--Pass-dynamic-parameter-to-action-tp15907288p15907288.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to