Are you using a PaginatedList class? I want to handle paging and sorting
externally because I only want to retrieve 1 page worth of records from the
database instead of possibly millions of records.
I'm currently working on implementing this solution:
http://code.google.com/p/pagingappfuse/wiki/PagingSorting
Thanks.
2010/1/25 emerson sanchez <es_sanch...@yahoo.com>
> 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! <http://www.myspace.com/emersonsanchez>
>
> --- 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<http://mc/compose?to=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<http://mc/compose?to=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<http://mc/compose?to=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<http://mc/compose?to=displaytag-u...@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<http://mc/compose?to=displaytag-u...@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<http://mc/compose?to=displaytag-u...@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<http://mc/compose?to=displaytag-u...@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
> ------------------------------
> Get your preferred Email name!
> <http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/aa/>
> Now you can @ymail.com and @rocketmail.com.
>
> ------------------------------------------------------------------------------
> 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