Hi all.

The 'Exposing framework objects to JSTL, with a JSTL and DisplayTag
Example' from here:
http://struts.apache.org/2.0.8/docs/exposing-framework-objects-to-jstl-w
ith-a-jstl-and-displaytag-example.html uses JSTL etc to display a URL
within a displaytag table.
e.g.:

<c:url var="viewurl" value="/viewJobDetail.action">
        <c:param name="name" value="${row.name}"/>
        <c:param name="groupName" value="${row.group}"/>
</c:url>

Now this does sound displaytag specific, and should be posted on their
related forums/mailing list, but it's actually a more general Struts 2
question, just using displaytag as an example.

Within the displaytag 'display:table' tag, a 'row' object is set into
the page context.
How is this accessible from Struts 2? I've tried all sorts of
combinations to get something like this working:

<s:url action="/MyAction.action" value="${row.param1}">
        <s:param name="messageId" value="${row.param2 }"/>
</s:url>                

But neither param1/param2 ever appear. Am I using the correct OGNL?

Thanks in advance.



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

Reply via email to