Eric -
In this scenario I have had to take advantage of the struts tags:
<display:column title="Del" class="Center_Column">
<s:url id="deleteUrl" action="myapp">
<s:param name="controllerId">FormController</s:param>
<s:param name="methodId">deleteRecord</s:param>
<s:param name="deltype">ticket</s:param>
<s:param name="ticketed"><s:property
value="%{#attr.row.ticketId}"/></s:param>
<s:param name="transporttype"><s:property
value="%{#attr.row.transportTypeId}"/></s:param>
</s:url>
<s:a href="%{#deleteUrl}"><s:property
value="%{#attr.row.ticketId}"/></s:a>
</display:column>
The assumption here is that in my <display:table/> tag I have specified
uid="row".
Does that help?
Chris
________________________________
From: Belaski, Eric [mailto:eric.bela...@blackhillscorp.com]
Sent: Thursday, February 25, 2010 9:56 AM
To: displaytag-user@lists.sourceforge.net
Subject: [displaytag-user] Multiple URL Parameters
Hi DT Community,
I am using the code below to create a link in using displaytag. I am
using paramId and paramProperty to create the URL parameter dynamically.
Is there a way to pass more than one dynamic parameter?
<display:column title="Del" class="Center_Column"
href="myapp?controllerId=FormController&methodId=deleteRecord&deltype=ti
cket&" paramId="ticketid" paramProperty="ticketId">
</display:column>
I tried doing something like this:
paramId="ticketid,transporttype"
paramProperty="ticketId,transportTypeId"
But that did not work.
Thanks for your help.
Eric
________________________________
This electronic message transmission contains information from Black
Hills Corporation, its affiliate or subsidiary, which may be
confidential or privileged. The information is intended to be for the
use of the individual or entity named above. If you are not the intended
recipient, be aware the disclosure, copying, distribution or use of the
contents of this information is prohibited. If you received this
electronic transmission in error, please reply to sender immediately;
then delete this message without copying it or further reading.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user