A little snthng snthng like
<display:table
id="row"
name="<%= xxx %>" >
<display:column title="xxx" media="html">
<a href=""
onclick="openPopup('doThingEe?<%= DataConstants.ENTRY_ID
%>=<%=((OptionValue) row).getId()%>');return false;"
><img
src="<%=request.getContextPath()%>/en_US/images/UpdateButton8.gif"
border="0"/></a>
</display:column>
Should work to put as many parameters as you want...
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Shabada, Gnaneshwer
Sent: Wednesday, November 10, 2004 1:00 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [displaytag-user] Concatenating two column attributes into
one.
Thanks Keith. That worked. Man!! I am getting amazed by this tag's potential
day-by-day :-)
OTOH, I was wondering while building a column as a URL, does it take more
than one parameter for me to pass..
Can I do like
<display:column property="fullName" title="Associate Name"
sortable="true" headerClass="sortable myTag"
href="/phonebookejb/phonebook/associatemaintenance/default"
paramId="associateId index" paramProperty="associateId _rowNum %>" />
Here I want to pass "associateId" and "index" as two different parameters
with values "associateId" and "_rowNum" which is provided by the tag.
Can I do this? or is there any other way? I try to hardocde the whole thing
in the "href" attribute but it doesn't take..
TIA
Gnan
-----Original Message-----
From: Shabada, Gnaneshwer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 10, 2004 10:49 AM
To: '[EMAIL PROTECTED]'
Subject: [displaytag-user] Concatenating two column attributes into one.
Hello All,
I have a requirement where I need to concatenate two attributes from my bean
and display it as one column in my display: table. I have a "lastName" and
"firstName" attributes in my bean as in the database tables. But when I
display in my JSP they should be combined so that I can display "Name" as
single column instead of two columns. Is this possible using display:tag.
Will sorting on that column work if at all I do this. Let me know your
suggestions.
TIA
Gnan
========================================================================
This email message is for the sole use of the intended recipient (s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message. To reply to our email administrator directly, send
an email to [EMAIL PROTECTED]
Toys "R" Us, Inc.
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user
========================================================================
This email message is for the sole use of the intended recipient (s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message. To reply to our email administrator directly, send
an email to [EMAIL PROTECTED]
Toys "R" Us, Inc.
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user
This message is a PRIVATE communication.
If you are not the intended recipient, please do not read, copy,
or use it, and do not disclose it to others. Please notify the
sender of the delivery error by replying to this message, and then
delete it from your system. Thank you.
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user