Feature Requests item #813006, was opened at 2003-09-26 11:20
Message generated for change (Comment added) made by paulmcculloch
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536616&aid=813006&group_id=73068

Category: main taglib
Group: v 1.0-b1
Status: Open
Resolution: None
Priority: 5
Submitted By: Bard A. Evjen (bardman)
Assigned to: fabrizio giustina (fgiust)
Summary: Ability to use java var in id attribute in tabletag

Initial Comment:
I would appreciate the ability to specify the id attribute 
as a java variable, like 

<% 
for(int i=0;i < vec.size(); i++) {
String idString = "table"+i 
%>

<display:table id="<%=idString%>" name="compRows" 
scope="session" width="100%">

....

<% } %>

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

Comment By: Paul McCulloch (paulmcculloch)
Date: 2003-10-09 15:02

Message:
Logged In: YES 
user_id=883626

I tried to add this functionality to the 0.9 release without
sucess. I *think* the problem is that the id attribute is
implicitly defined for alll tags, and can't be a request
time expression (event if you specify it as such in the TLD).

My workaround was to create a new attribute, tableId, and
use it in the code which creates the table unique links -
TableTag.java - encodeParameter().

I'm just starting to look at the 1.0 release. I'll create a
patch if I have to make the same change there.

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

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


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to