You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jaarthy <aa...@yahoo.com> on 2008/02/21 22:43:44 UTC
Pagination in Struts2
Hi,
How to implement pagination as in Google in Struts2?Any Help would be
appreciated.
Thanks,
Aarthy
--
View this message in context: http://www.nabble.com/Pagination-in-Struts2-tp15619264p15619264.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Pagination in Struts2
Posted by Jaarthy <aa...@yahoo.com>.
I want the results in google format.Any help would be appreciated.
Thanks,
Aarthy
balart wrote:
>
> Hi Aarthy,
>
> you can use the displaytag to implement the pagination in struts2.
>
> kindly tell that, Pagination as in Google? how, you want the page no in
> google format or result in google format.
>
> Regards,'
> Bala
>
> Jaarthy wrote:
>>
>> Hi,
>>
>> How to implement pagination as in Google in Struts2?Any Help would be
>> appreciated.
>>
>> Thanks,
>> Aarthy
>>
>
>
--
View this message in context: http://www.nabble.com/Pagination-in-Struts2-tp15619264p16991738.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Pagination in Struts2
Posted by balart <ba...@gmail.com>.
Hi Aarthy,
you can use the displaytag to implement the pagination in struts2.
kindly tell that, Pagination as in Google? how, you want the page no in
google format or result in google format.
Regards,'
Bala
Jaarthy wrote:
>
> Hi,
>
> How to implement pagination as in Google in Struts2?Any Help would be
> appreciated.
>
> Thanks,
> Aarthy
>
--
View this message in context: http://www.nabble.com/Pagination-in-Struts2-tp15619264p16807472.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Pagination in Struts2
Posted by Giovanni Azua <gi...@imc.nl>.
Using displaytag defining a 1-column table, no borders, and the right
Decorator implementation you get your table-less Google.
But OK then you would risk having a Decorator producing HTML, though
this could be avoided by using some template-based framework e.g. velocity.
regards,
Giovanni
Adam Hardy wrote:
> Just thought it's worth pointing out that displaytag does tables,
> whereas google search results are actually table-less.
>
> I'd be very interested if anyone knows whether displaytag or any other
> project is or will offer a table-less solution.
>
> There are so many extras that would be nice to have for pagination, I
> would gladly swap my own quick'n'dirty implementation for something
> 3rd party.
>
>
> Adam
>
> Giovanni Azua on 22/02/08 09:47, wrote:
>> hi,
>>
>> I use displaytag (http://displaytag.sourceforge.net). If you can live
>> without a natively AJAX-enabled pagination library, displaytag is
>> excellent. I like very much the concept of display Decorators,
>> produces a very clean design and perfect separation of concerns.
>>
>> Workarounds exist to AJAXify displaytag (AjaxAnywhere, AjaxTags)
>> http://demo.raibledesigns.com/appfuse-light-ajax/users.html
>> http://raibledesigns.com/rd/entry/the_future_of_the_displaytag
>> http://ajaxtags.sourceforge.net/usage.html
>>
>> I don't use any of these myself, though.
>>
>> The other choice you have I think is tabletags
>> (http://code.google.com/p/tabletags/). The aim seems to provide the
>> same functionality as displaytag but integrating better with Struts 2
>> e.g. seems to use the same template-based concept and therefore you
>> can customize it entirely. But AFAIK it does not offer yet automatic
>> paging like displaytag does see:
>> http://code.google.com/p/tabletags/issues/detail?id=10
>>
>> I tried to adopt tabletags at first but it is too at an early stage
>> yet i.e. lacks lot of functionality that displaytag currently offers
>> out of the box.
>>
>> HTH,
>> Best regards,
>> Giovanni
>>
>> PS: there are lot of people subscribed to this list that are involved
>> with those projects and could give a more educated guidance on
>> differences among these two.
>>
>> Jaarthy wrote:
>>> Hi,
>>>
>>> How to implement pagination as in Google in Struts2?Any Help would be
>>> appreciated.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Pagination in Struts2
Posted by Adam Hardy <ah...@cyberspaceroad.com>.
Just thought it's worth pointing out that displaytag does tables, whereas google
search results are actually table-less.
I'd be very interested if anyone knows whether displaytag or any other project
is or will offer a table-less solution.
There are so many extras that would be nice to have for pagination, I would
gladly swap my own quick'n'dirty implementation for something 3rd party.
Adam
Giovanni Azua on 22/02/08 09:47, wrote:
> hi,
>
> I use displaytag (http://displaytag.sourceforge.net). If you can live
> without a natively AJAX-enabled pagination library, displaytag is
> excellent. I like very much the concept of display Decorators, produces
> a very clean design and perfect separation of concerns.
>
> Workarounds exist to AJAXify displaytag (AjaxAnywhere, AjaxTags)
> http://demo.raibledesigns.com/appfuse-light-ajax/users.html
> http://raibledesigns.com/rd/entry/the_future_of_the_displaytag
> http://ajaxtags.sourceforge.net/usage.html
>
> I don't use any of these myself, though.
>
> The other choice you have I think is tabletags
> (http://code.google.com/p/tabletags/). The aim seems to provide the same
> functionality as displaytag but integrating better with Struts 2 e.g.
> seems to use the same template-based concept and therefore you can
> customize it entirely. But AFAIK it does not offer yet automatic paging
> like displaytag does see:
> http://code.google.com/p/tabletags/issues/detail?id=10
>
> I tried to adopt tabletags at first but it is too at an early stage yet
> i.e. lacks lot of functionality that displaytag currently offers out of
> the box.
>
> HTH,
> Best regards,
> Giovanni
>
> PS: there are lot of people subscribed to this list that are involved
> with those projects and could give a more educated guidance on
> differences among these two.
>
> Jaarthy wrote:
>> Hi,
>>
>> How to implement pagination as in Google in Struts2?Any Help would be
>> appreciated.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Pagination in Struts2
Posted by Giovanni Azua <gi...@imc.nl>.
hi,
As I said in the previous email. A straightforward way using displaytag
would be defining a one-column table and define a decorator that will
produce the free format you want to produce. If you configure displaytag
to not show borders (look in displaytag css) and also configure the
header then you can get it to look almost like Google i.e. it won't look
as a table but internally is one-column table.
regards,
Giovanni
Jaarthy wrote:
> Hi Giovanni,
>
> I want the results to be dislayed as they are in the Google Search results
> page,not in a table form.Any help please?
>
> Thanks,
> Aarthy
>
>
> Giovanni Azua-3 wrote:
>
>> hi,
>>
>> I use displaytag (http://displaytag.sourceforge.net). If you can live
>> without a natively AJAX-enabled pagination library, displaytag is
>> excellent. I like very much the concept of display Decorators, produces
>> a very clean design and perfect separation of concerns.
>>
>> Workarounds exist to AJAXify displaytag (AjaxAnywhere, AjaxTags)
>> http://demo.raibledesigns.com/appfuse-light-ajax/users.html
>> http://raibledesigns.com/rd/entry/the_future_of_the_displaytag
>> http://ajaxtags.sourceforge.net/usage.html
>>
>> I don't use any of these myself, though.
>>
>> The other choice you have I think is tabletags
>> (http://code.google.com/p/tabletags/). The aim seems to provide the same
>> functionality as displaytag but integrating better with Struts 2 e.g.
>> seems to use the same template-based concept and therefore you can
>> customize it entirely. But AFAIK it does not offer yet automatic paging
>> like displaytag does see:
>> http://code.google.com/p/tabletags/issues/detail?id=10
>>
>> I tried to adopt tabletags at first but it is too at an early stage yet
>> i.e. lacks lot of functionality that displaytag currently offers out of
>> the box.
>>
>> HTH,
>> Best regards,
>> Giovanni
>>
>> PS: there are lot of people subscribed to this list that are involved
>> with those projects and could give a more educated guidance on
>> differences among these two.
>>
>> Jaarthy wrote:
>>
>>> Hi,
>>>
>>> How to implement pagination as in Google in Struts2?Any Help would be
>>> appreciated.
>>>
>>> Thanks,
>>> Aarthy
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Pagination in Struts2
Posted by Jaarthy <aa...@yahoo.com>.
Hi Giovanni,
I want the results to be dislayed as they are in the Google Search results
page,not in a table form.Any help please?
Thanks,
Aarthy
Giovanni Azua-3 wrote:
>
> hi,
>
> I use displaytag (http://displaytag.sourceforge.net). If you can live
> without a natively AJAX-enabled pagination library, displaytag is
> excellent. I like very much the concept of display Decorators, produces
> a very clean design and perfect separation of concerns.
>
> Workarounds exist to AJAXify displaytag (AjaxAnywhere, AjaxTags)
> http://demo.raibledesigns.com/appfuse-light-ajax/users.html
> http://raibledesigns.com/rd/entry/the_future_of_the_displaytag
> http://ajaxtags.sourceforge.net/usage.html
>
> I don't use any of these myself, though.
>
> The other choice you have I think is tabletags
> (http://code.google.com/p/tabletags/). The aim seems to provide the same
> functionality as displaytag but integrating better with Struts 2 e.g.
> seems to use the same template-based concept and therefore you can
> customize it entirely. But AFAIK it does not offer yet automatic paging
> like displaytag does see:
> http://code.google.com/p/tabletags/issues/detail?id=10
>
> I tried to adopt tabletags at first but it is too at an early stage yet
> i.e. lacks lot of functionality that displaytag currently offers out of
> the box.
>
> HTH,
> Best regards,
> Giovanni
>
> PS: there are lot of people subscribed to this list that are involved
> with those projects and could give a more educated guidance on
> differences among these two.
>
> Jaarthy wrote:
>> Hi,
>>
>> How to implement pagination as in Google in Struts2?Any Help would be
>> appreciated.
>>
>> Thanks,
>> Aarthy
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Pagination-in-Struts2-tp15619264p15634448.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Pagination in Struts2
Posted by Giovanni Azua <gi...@imc.nl>.
hi,
I use displaytag (http://displaytag.sourceforge.net). If you can live
without a natively AJAX-enabled pagination library, displaytag is
excellent. I like very much the concept of display Decorators, produces
a very clean design and perfect separation of concerns.
Workarounds exist to AJAXify displaytag (AjaxAnywhere, AjaxTags)
http://demo.raibledesigns.com/appfuse-light-ajax/users.html
http://raibledesigns.com/rd/entry/the_future_of_the_displaytag
http://ajaxtags.sourceforge.net/usage.html
I don't use any of these myself, though.
The other choice you have I think is tabletags
(http://code.google.com/p/tabletags/). The aim seems to provide the same
functionality as displaytag but integrating better with Struts 2 e.g.
seems to use the same template-based concept and therefore you can
customize it entirely. But AFAIK it does not offer yet automatic paging
like displaytag does see:
http://code.google.com/p/tabletags/issues/detail?id=10
I tried to adopt tabletags at first but it is too at an early stage yet
i.e. lacks lot of functionality that displaytag currently offers out of
the box.
HTH,
Best regards,
Giovanni
PS: there are lot of people subscribed to this list that are involved
with those projects and could give a more educated guidance on
differences among these two.
Jaarthy wrote:
> Hi,
>
> How to implement pagination as in Google in Struts2?Any Help would be
> appreciated.
>
> Thanks,
> Aarthy
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org