The following comment has been added to this issue:
Author: Mike Nguyen
Created: Mon, 8 Nov 2004 12:48 AM
Body:
Hi,
I would like to know what if I don't want to display the id of each record but
I still want the onclick(to open a record) , how could I handle this ?
Thanks
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/DISPL-66?page=comments#action_26192
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/DISPL-66
Here is an overview of the issue:
---------------------------------------------------------------------
Key: DISPL-66
Summary: Customizable code in the <td>and <tr> tags
Type: Wish
Status: Unassigned
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: DisplayTag
Components:
Tag Library
Versions:
1.0 RC1
Assignee:
Reporter: fabrizio giustina
Created: Sat, 16 Oct 2004 3:53 AM
Updated: Mon, 8 Nov 2004 12:48 AM
Description:
====
imported from sf tracker
id 825670
submitted by Christoph Schmidt - k-os
http://sourceforge.net/support/tracker.php?aid=825670
====
It would be nice if i could add my own code to the <tr>
and <td> tags, like onMouseOver, onClick Events etc.
For example a Row Highlighting could then be done via
Javascript...
maybe something like this:
<display:table name="test" class="<%=lClass%>">
<display:row customCode="onClick="hlgtRow()"/>
<display:column property="id" title="ID"
class="idcol"/ customCode="....">
<display:column property="name" />
....
</display:table>
(For higlighting i think i need a <tr id="r1" " ... >
and then a hlgtRow('r1') to identify which dom object i
should change the stylesheet... anyone an idea how
this could be done via the taglib?)
===
Date: 2003-10-17 21:03
Sender: mraible
Logged In: YES
user_id=226669
You don't need id's on tr's or td's in order to do this - not
if you're
using modern browsers. Here's how:
http://tinyurl.com/rbwg
===
Date: 2003-10-18 11:08
Sender: k-os
Logged In: YES
user_id=77543
to mraible: cool .. that will do.. thank you (-:
I noticed that the patch "716857 <display:row> tag
implementation + RowDecorator" woukd solve my request. But
it seems to be coded for version 0.8.6.
Is there a chance that this featur will get into the 1.0?
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
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-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel