You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by yamilka vallejo ramos <ya...@gmail.com> on 2006/09/20 22:09:34 UTC

about pagination

hi, does anybody know how to work with Struts 1.1 and pagination???

Re: about pagination

Posted by Li <am...@gmail.com>.
Hi Kim,

If you page has features that allow to alter the representation of the data
on the page, defining a plug-in, a customized component or a tag is a good
approach. But for simple paginated data representation, struts tag can
handle it.

I like display tag as it gives me options to enhance my data display, for
most cases in my dev i just create a helper class, few objects to control
and browsing at presentation layer.

Regards

Li

On 9/21/06, Kim Brianne Go <ki...@gmail.com> wrote:
>
> Hi Li,
>
> Yeah I agree with you since pagination when done on the presentation
> layer maybe too costly since data that will not be shown will still be
> retrieved and processed.  But with extreme components for example,
> they have an implementation to limit the data retrieval only to ones
> that will be displayed.
>
> Brian
>
> On 9/21/06, Li <am...@gmail.com> wrote:
> > the real pagination should not be done at presentation layer but
> persistent
> > layer, like using hibernate query or direct jdbc resultset
> >
> >
> >
> > On 9/21/06, Kim Brianne Go <ki...@gmail.com> wrote:
> > >
> > > Hi Venkata,
> > >
> > > You may first visit either display tag or extreme component.  They
> > > have ample documentation for you to start with.  It's actually quite
> > > simple, provide a collection to either request.attribute or
> > > session.attribute then create a jsp to display the content of the
> > > collection.
> > >
> > > Brian
> > >
> > > On 9/21/06, Venkata Phani Kumar <ve...@ocimumbio.com> wrote:
> > > > Hi Brainne,
> > > > do you have any idea about these ready made library for pagination.
> > > > beacuase i also require the same.
> > > >
> > > > thnx,
> > > > Venkata phanikumar.g
> > > > ----- Original Message -----
> > > > From: "Kim Brianne Go" <ki...@gmail.com>
> > > > To: "Struts Users Mailing List" <us...@struts.apache.org>
> > > > Sent: Thursday, September 21, 2006 6:35 AM
> > > > Subject: Re: about pagination
> > > >
> > > >
> > > > > Yamilka,
> > > > >
> > > > > You might want to try using a ready made library for this like
> display
> > > > > tag or extreme components, so you don't have to reinvent the
> wheel.
> > > > >
> > > > > Brian
> > > > >
> > > > > On 9/21/06, yamilka vallejo ramos <ya...@gmail.com> wrote:
> > > > > > hi, does anybody know how to work with Struts 1.1 and
> pagination???
> > > > > >
> > > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > 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
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> >
> >
> > --
> > When we invent time, we invent death.
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
When we invent time, we invent death.

Re: about pagination

Posted by Kim Brianne Go <ki...@gmail.com>.
Hi Li,

Yeah I agree with you since pagination when done on the presentation
layer maybe too costly since data that will not be shown will still be
retrieved and processed.  But with extreme components for example,
they have an implementation to limit the data retrieval only to ones
that will be displayed.

Brian

On 9/21/06, Li <am...@gmail.com> wrote:
> the real pagination should not be done at presentation layer but persistent
> layer, like using hibernate query or direct jdbc resultset
>
>
>
> On 9/21/06, Kim Brianne Go <ki...@gmail.com> wrote:
> >
> > Hi Venkata,
> >
> > You may first visit either display tag or extreme component.  They
> > have ample documentation for you to start with.  It's actually quite
> > simple, provide a collection to either request.attribute or
> > session.attribute then create a jsp to display the content of the
> > collection.
> >
> > Brian
> >
> > On 9/21/06, Venkata Phani Kumar <ve...@ocimumbio.com> wrote:
> > > Hi Brainne,
> > > do you have any idea about these ready made library for pagination.
> > > beacuase i also require the same.
> > >
> > > thnx,
> > > Venkata phanikumar.g
> > > ----- Original Message -----
> > > From: "Kim Brianne Go" <ki...@gmail.com>
> > > To: "Struts Users Mailing List" <us...@struts.apache.org>
> > > Sent: Thursday, September 21, 2006 6:35 AM
> > > Subject: Re: about pagination
> > >
> > >
> > > > Yamilka,
> > > >
> > > > You might want to try using a ready made library for this like display
> > > > tag or extreme components, so you don't have to reinvent the wheel.
> > > >
> > > > Brian
> > > >
> > > > On 9/21/06, yamilka vallejo ramos <ya...@gmail.com> wrote:
> > > > > hi, does anybody know how to work with Struts 1.1 and pagination???
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
> --
> When we invent time, we invent death.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: about pagination

Posted by Li <am...@gmail.com>.
the real pagination should not be done at presentation layer but persistent
layer, like using hibernate query or direct jdbc resultset



On 9/21/06, Kim Brianne Go <ki...@gmail.com> wrote:
>
> Hi Venkata,
>
> You may first visit either display tag or extreme component.  They
> have ample documentation for you to start with.  It's actually quite
> simple, provide a collection to either request.attribute or
> session.attribute then create a jsp to display the content of the
> collection.
>
> Brian
>
> On 9/21/06, Venkata Phani Kumar <ve...@ocimumbio.com> wrote:
> > Hi Brainne,
> > do you have any idea about these ready made library for pagination.
> > beacuase i also require the same.
> >
> > thnx,
> > Venkata phanikumar.g
> > ----- Original Message -----
> > From: "Kim Brianne Go" <ki...@gmail.com>
> > To: "Struts Users Mailing List" <us...@struts.apache.org>
> > Sent: Thursday, September 21, 2006 6:35 AM
> > Subject: Re: about pagination
> >
> >
> > > Yamilka,
> > >
> > > You might want to try using a ready made library for this like display
> > > tag or extreme components, so you don't have to reinvent the wheel.
> > >
> > > Brian
> > >
> > > On 9/21/06, yamilka vallejo ramos <ya...@gmail.com> wrote:
> > > > hi, does anybody know how to work with Struts 1.1 and pagination???
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
When we invent time, we invent death.

Re: about pagination

Posted by Kim Brianne Go <ki...@gmail.com>.
Hi Venkata,

You may first visit either display tag or extreme component.  They
have ample documentation for you to start with.  It's actually quite
simple, provide a collection to either request.attribute or
session.attribute then create a jsp to display the content of the
collection.

Brian

On 9/21/06, Venkata Phani Kumar <ve...@ocimumbio.com> wrote:
> Hi Brainne,
> do you have any idea about these ready made library for pagination.
> beacuase i also require the same.
>
> thnx,
> Venkata phanikumar.g
> ----- Original Message -----
> From: "Kim Brianne Go" <ki...@gmail.com>
> To: "Struts Users Mailing List" <us...@struts.apache.org>
> Sent: Thursday, September 21, 2006 6:35 AM
> Subject: Re: about pagination
>
>
> > Yamilka,
> >
> > You might want to try using a ready made library for this like display
> > tag or extreme components, so you don't have to reinvent the wheel.
> >
> > Brian
> >
> > On 9/21/06, yamilka vallejo ramos <ya...@gmail.com> wrote:
> > > hi, does anybody know how to work with Struts 1.1 and pagination???
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: about pagination

Posted by David Friedman <hu...@ix.netcom.com>.
While I prefer displaytag, there is also valuelist:

http://valuelist.sourceforge.net

Regards,
David

-----Original Message-----
From: Lixin Chu [mailto:lixin.chu@gmail.com]
Sent: Thursday, September 21, 2006 2:26 AM
To: Struts Users Mailing List
Subject: Re: about pagination


struts itself does not (need to) handle pagination.

for displaytag, you can check
http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: about pagination

Posted by Lixin Chu <li...@gmail.com>.
struts itself does not (need to) handle pagination.

for displaytag, you can check
http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html

Re: about pagination

Posted by Venkata Phani Kumar <ve...@ocimumbio.com>.
Hi Brainne,
do you have any idea about these ready made library for pagination.
beacuase i also require the same.

thnx,
Venkata phanikumar.g 
----- Original Message ----- 
From: "Kim Brianne Go" <ki...@gmail.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Thursday, September 21, 2006 6:35 AM
Subject: Re: about pagination


> Yamilka,
> 
> You might want to try using a ready made library for this like display
> tag or extreme components, so you don't have to reinvent the wheel.
> 
> Brian
> 
> On 9/21/06, yamilka vallejo ramos <ya...@gmail.com> wrote:
> > hi, does anybody know how to work with Struts 1.1 and pagination???
> >
> >
> 
> ---------------------------------------------------------------------
> 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: about pagination

Posted by Kim Brianne Go <ki...@gmail.com>.
Yamilka,

You might want to try using a ready made library for this like display
tag or extreme components, so you don't have to reinvent the wheel.

Brian

On 9/21/06, yamilka vallejo ramos <ya...@gmail.com> wrote:
> hi, does anybody know how to work with Struts 1.1 and pagination???
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org