I do have both tables paginating. It's just that when I hit page 2 on one
table, both tables go to page 2. The url for the page link is '...?page=2'
and with 2 tables, I'm expecting something like
'...?d-XXXXX-p=1&d-XXXXX-p=2' and I'm not seeing this.
I'm using Spring & Struts with interceptors, stylesheets, decorators, etc.
These things should not be interfering, could they? They're pretty common
things to use.
Thanks for looking into this.
2010/1/25 Rick.Wellman <rick.well...@kiewit.com>
> Then you must have something else going on. First, try making sure each
> table works correctly when it is the only one on the page (just comment out
> the other one). Once you have verified that, you should be able to just
> make sure they have a different id=”xxx”. If that does not work, you can
> directly email me your entire JSP but it really is just that simple which is
> why the documentation is so “bleak”… there just is not more to it.
>
>
>
> *From:* Eric Miles [mailto:eric.a.mi...@gmail.com]
> *Sent:* Monday, January 25, 2010 5:15 PM
> *To:* displaytag-user@lists.sourceforge.net
> *Subject:* Re: [displaytag-user] Multiple tables on one page
>
>
>
> I tried that. Are there any other attributes I need to set?
>
> Here's one of the tables:
> <display:table
> id="receivedTable"
> name="receivedPaginatedList"
> requestURI="view.html"
> class="displayTable"
> export="true">
>
> The second one has a different 'id' and 'name'.
>
> 2010/1/25 Naveen Namburi <naveennamb...@gmail.com>
>
> 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
>
>
>
>
> ------------------------------------------------------------------------------
> 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
>
>
>
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
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