--- "Kelly.Graus" <[EMAIL PROTECTED]> wrote:
> [...]
> 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?
> [...]
> <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>

Some of your JSP didn't come through.

You can set a parameter on a link created with <s:url...> [1] by using the
<s:param.../> tag [2], examples of doing so are on [1]. Sometimes the
documentation is your friend.

You'd need to set an ID, because the *only* thing a browser can send via HTTP
is a String.

Dave

[1] http://struts.apache.org/2.x/docs/url.html
[2] http://struts.apache.org/2.x/docs/param.html



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

Reply via email to