Bugs item #880929, was opened at 2004-01-20 22:40
Message generated for change (Comment added) made by jimmy_moriarty
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=880929&group_id=73068

Category: main tag library
Group: v 1.0-b3
Status: Closed
Resolution: Duplicate
Priority: 5
Submitted By: Jerry Jalenak (jjalenak)
Assigned to: fabrizio giustina (fgiust)
Summary: unable to set id= parameter dynamically

Initial Comment:
When generating multiple tables on the same page, the 
id= parameter must be changed in order to separate the 
sorting, paging, etc. functionality from one table to the 
next.  The current implementation in TableTagExtraInfo 
does not allow the use of scriptlet code to dynamically 
generate these id values.  Use of scriptlet code or 
attempting to access page-scoped variables results in 
ClassCastExceptions on the following line:

Object tagId = data.getAttributeString
(TagAttributeInfo.ID);



----------------------------------------------------------------------

Comment By: Jim Moriarty (jimmy_moriarty)
Date: 2004-02-05 11:02

Message:
Logged In: YES 
user_id=867646

I have needed the abilility for the html id attribute to be 
dynamically set (so that I can refer to an individual table with 
javascript when there are multiple displaytag tables on 
screen). 

To that end, I've added a new attribute styleid to 
<displaytag:table> (to both normal and EL enabled tags). 
When writing the open <table> tag it swaps the current, 
implicit id attribute out and replaces it with the evaluated 
contents of styleid, then returns the id value internally to 
normal.

I can post this if people are interested... [Ive synced this 
with the latest b3 snapshot.]


----------------------------------------------------------------------

Comment By: fabrizio giustina (fgiust)
Date: 2004-02-04 22:32

Message:
Logged In: YES 
user_id=798060

duplicated from [813006]

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=880929&group_id=73068


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to