Ok, I tried updating to DisplayTag 1.1, and experienced major frustrations, as 
there seem to be some pretty substantial changes that I don't have time to 
navigate. One big one.....when I do an Excel export, the exporter cannot find 
any of my Decorators, even though the table is being properly displayed. I 
don't have time to investigate this, but I thought I'd point it out.

 

I *did* fix my problem, however, and this probably needs to be added to the 
documentation.

 

I was using the id attribute on all my tables. I *added* a uid attribute to 
each table, but all the tables on the page still had the same random number 
value on all the sort and export links. However, when I *removed* the id 
attribute, leaving only the uid attribute, that solved the problem. So, it 
appears that the id attribute and the uid attribute are mutually exclusive. 
Since the uid attribute does the same thing as the id attribute, perhaps it 
would make sense to eliminate the id attribute, and *only* support the uid 
attribute. Anyway, mentioning in the docs somewhere that if you have multiple 
tables on a page, and you want to sort and/or export data from them, only use 
the uid attribute, and *never* use the id attribute.

 

-Paul Cooper

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paslaru Narcis 
Eugen
Sent: Saturday, January 06, 2007 12:43 PM
To: displaytag-user@lists.sourceforge.net
Subject: Re: [displaytag-user] Multiple tables on one page problem

 

Yes that's possible, why don't you try 1.1 ?

----- Original Message ----
From: Paul Cooper <[EMAIL PROTECTED]>
To: displaytag-user@lists.sourceforge.net
Sent: Saturday, January 6, 2007 10:59:53 AM
Subject: Re: [displaytag-user] Multiple tables on one page problem

Narcis,

 

Thanks for the response.

 

I’ve used the uid attribute on each table, and each table’s uid attribute is 
unique. It still doesn’t work properly.

 

Note that I’m using displaytag 1.0. Is this perhaps a bug in that version? I’m 
in the middle of a major project, and I’m not fond of updating libraries unless 
that upgrade fixes known bugs. Too many times time is wasted working out kinks 
in upgrades, and when deadlines are approaching, that kind of time expenditure 
is counterproductive.

 

-Paul

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paslaru Narcis 
Eugen
Sent: Saturday, January 06, 2007 2:46 AM
To: displaytag-user@lists.sourceforge.net
Subject: Re: [displaytag-user] Multiple tables on one page problem

 

Hi,

Make sure you specify an id for every tabe. and make sure that id is unique.

Regards,
Narcis Paslaru

----- Original Message ----
From: Paul Cooper <[EMAIL PROTECTED]>
To: displaytag-user@lists.sourceforge.net
Sent: Saturday, January 6, 2007 2:13:13 AM
Subject: [displaytag-user] Multiple tables on one page problem

Funny, just posted a reply to another user on this list, and now *I*
have a question!

I have multiple tables (3) on a single page. I have specified the UID
for each table as a separate value. However, when I try to export the
second or third table, the exported data is the data from the first
table. When I sort any column on any table, the corresponding column in
the other two tables is sorted, as well.

I've looked at the page source, and displaytag puts random (I assume
they are random) numbers in as request parameters for the sort and
export links. The numbers for each table are identical.

How do I specify which table is which to the sorts and exports?

Paul Cooper
Project Manager
EMS Performance Improvement Center
Chapel Hill , NC


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

 


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

 


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to