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

>Category: None
>Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Bard A. Evjen (bardman)
>Assigned to: Nobody/Anonymous (nobody)
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: fabrizio giustina (fgiust)
Date: 2003-10-11 00:11

Message:
Logged In: YES 
user_id=798060

The problem in setting the id attribute appears only in Tomcat 
4.x, due to the bug/correct behaviour described in
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21711

It is working in other application servers and in tomcat 5: the 
only way to make it working in tomcat 4 could be renaming 
the id attribute to something different. I will see if it can work 
and maybe add an optional, duplicated attribute for tomcat.

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

Comment By: Paul McCulloch (paulmcculloch)
Date: 2003-10-09 17: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=536613&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