I was able to implement multiple tables in one page and got no problem like
yours. Each table's pagination works separately. I just used uid and ommmited
the id attribute. Hope this helps.
Cheers,
Emerson
Check me out!
--- On Tue, 26/1/10, Naveen Namburi <naveennamb...@gmail.com> wrote:
From: Naveen Namburi <naveennamb...@gmail.com>
Subject: Re: [displaytag-user] Multiple tables on one page
To: displaytag-user@lists.sourceforge.net
Date: Tuesday, 26 January, 2010, 5:55 AM
try using different id names for your 2 tables in same page.
2010/1/25 Eric Miles <eric.a.mi...@gmail.com>
Thanks Narcis for your response. I was under the impression that setting the
'id' attribute would add a parameter/value pair in the url or do something to
differentiate between 2 display tables on the same page. My first impression
with the displaytag taglib is that documentation is not in agreement with
implementation. Has anyone gotten 2 displaytag's working on the same page with
independent paging and sorting of partial lists?
2010/1/22 Paslaru Narcis <paslaru.nar...@gmail.com>
Hello,
You may try to put a parameter in the requestUri for each table. The parameter
should be called tableName and use it as a discriminator in your
servlet/action/etc.
Cheers,
Narcis
2010/1/22 Eric Miles <eric.a.mi...@gmail.com>
I’m using 2 tables in one JSP page. Each table is connected to its own
PaginatedList object so that I can retrieve partial lists from the database,
etc.
Here’s the problem:
Let’s say table1 has 3 pages and table2 has 2 pages. When I go to page 2 on
table1, table2 also changes to page 2. How can I uniquely id each of the
tables? I’ve tried using the ‘id’ parameter, the ‘uid’ parameter but the URL
always displays ‘page=2’, so when I retrieve the data for each table, the code
cannot differentiate which table wants a different page. Using ‘id’ and ‘uid’
doesn’t seem to do anything.
Are there any examples out there? The documentation is very bleak in this area.
Thanks in advance.
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
-----Inline Attachment Follows-----
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user
Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com.
http://mail.promotions.yahoo.com/newdomains/aa/
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user