hi all
I have to use pagination in jsp so i did it with logic:iterate tag as
follows but when i use 2 links next and previous
but next link is not disspearinng when it reaces the last one can any help
me for this
the code follows
%
String strOffset =0;
if(request.getParameter
I am interested to know the ‘best’ practice for navigating through long lists.
At the moment we have implemented Struts-layout for this purpose. Our
implementation currently retrieves the full dataset and uses Struts-layout
sorting and navigation pager options to navigate through the results.
Hi Andrew,
I suggest using displaytag with its external paging and sorting features
http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html
Gareth
Andrew Martin wrote:
I am interested to know the ‘best’ practice for navigating through long lists.
At the moment we have implemented
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrew,
Andrew Martin wrote:
I am interested to know the ‘best’ practice for navigating through
long lists.
I haven't used Struts-layout, so I'm not sure how my suggestion will
fit-in with your preferred display engine, but here goes, anyway.
We
For struts2 tags, checkout
https://issues.apache.org/struts/browse/WW-1569
The problem I have with displaytag is that in an effort to satisfy
everyone's needs, it is infinitely configurable. IMHO, that makes it
hard to figure out and hard to use. The other issue we had with display
tags is
Making a suggestion is difficult without knowing what tools/tiers or
other specifics are involved.
Our MD4J [1] generated DAOs return implementations of a Page interface
[2] for search queries. A Hibernate-based Page implementation [3] is
also available. This serves generic memory and DB access
Hi Andrew,
I ran into similar problems. Anoter developer on
the team wrote a tag. It extracts the paging
information and goes to the database table to find out
the total number of records.
The tag retrieves and displays only the first
set of records in accordance with the paging
struts itself does not (need to) handle pagination.
for displaytag, you can check
http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html
While I prefer displaytag, there is also valuelist:
http://valuelist.sourceforge.net
Regards,
David
-Original Message-
From: Lixin Chu [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 21, 2006 2:26 AM
To: Struts Users Mailing List
Subject: Re: about pagination
struts itself does
On 9/21/06, Venkata Phani Kumar [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
To: Struts Users Mailing List user
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 [EMAIL PROTECTED] wrote:
Hi Venkata,
You may first visit either display tag or extreme component. They
have ample documentation
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
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 [EMAIL PROTECTED] wrote:
Hi Li,
Yeah I agree with you since pagination when done on the presentation
layer maybe too costly
You can find this issue documented inside of the Strut's Survival Guide at:
http://www.objectsource.com/
-Original Message-
From: yamilka vallejo ramos [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 4:10 PM
To: user@struts.apache.org
Subject: about pagination
hi, does
hi, does anybody know how to work with Struts 1.1 and 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 [EMAIL PROTECTED] wrote:
hi, does anybody know how to work with Struts 1.1 and pagination
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 [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, September 21
, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
- Original Message -
From: pantichd [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Tuesday, August 15, 2006 10:19 PM
Subject: RE: Need to do pagination
Subject: RE: Need to do pagination but can't use DisplayTag
David,
Thanks for the reply. It's encouraging to hear that you were able to use
it
with JSP 1.2. According to this link it requires JSP 2.0
http://displaytag.sourceforge.net/11/displaytag/dependencies.html
When I try to run
On 8/15/06, pantichd [EMAIL PROTECTED] wrote:
Thanks for the reply. It's encouraging to hear that you were able to use it
with JSP 1.2. According to this link it requires JSP 2.0
http://displaytag.sourceforge.net/11/displaytag/dependencies.html
Those are the docs for Displaytag 1.1.
--
Wendy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/Need-to-do-pagination-but-can%27t-use-DisplayTag-tf229
Hello,
We are using SAP's Netweaver Developer Studio (NDS) to develop Struts
applications.
We want to implement pagination but we can't use DisplayTag because it
requires JSP 2.0/Servlet 2.4. Unfortunately, NDS only supports JSP 1.2 +
servlet 2.3.
Can anyone recommend some other framework
://www.nabble.com/Need-to-do-pagination-but-can%27t-use-DisplayTag-tf229.html#a5820880
Sent from the Struts - User forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
@struts.apache.org
Subject: Need to do pagination but can't use DisplayTag
Hello,
We are using SAP's Netweaver Developer Studio (NDS) to develop Struts
applications.
We want to implement pagination but we can't use DisplayTag because it
requires JSP 2.0/Servlet 2.4. Unfortunately, NDS only supports JSP 1.2
to
their mailing list for installation help? Have you also
tried http://valuelist.sourceforge.net ?
Regards,
David
-Original Message-
From: pantichd [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 15, 2006 3:47 PM
To: user@struts.apache.org
Subject: Need to do pagination but can't use DisplayTag
://valuelist.sourceforge.net ?
Regards,
David
-Original Message-
From: pantichd [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 15, 2006 3:47 PM
To: user@struts.apache.org
Subject: Need to do pagination but can't use DisplayTag
Hello,
We are using SAP's Netweaver Developer
Hi All,
Am using struts in my project. Can anyone tel me how to implement pagination
in struts. I dont have any idea how to do that. Any links or examples will be
of great value.
Thanks in Advance.
-
Heres a new
http://www.google.com/search?q=struts+example+pagination
the fisrt result on javaworld pretty looks like what you need:/
On 8/1/06, Medicherla Lakshmi [EMAIL PROTECTED] wrote:
Hi All,
Am using struts in my project. Can anyone tel me how to implement pagination
in struts. I dont have any
Displaytag will do it
http://displaytag.sourceforge.net/11/displaytag/tagreference.html
See the pagesize attribute.
-Original Message-
From: Medicherla Lakshmi [mailto:[EMAIL PROTECTED]
Sent: 01 August 2006 08:20
To: user@struts.apache.org
Subject: pagination
Hi All,
Am using
Don't forget SourceForge's ValueList:
http://valuelist.sourceforge.net/
-David
-Original Message-
From: Lance [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 01, 2006 8:49 AM
To: 'Struts Users Mailing List'
Subject: RE: pagination
Displaytag will do it
http://displaytag.sourceforge.net
I display a List of objects.
Because the List can be very long, I use a pagination
tag library to display my long list 10 at a time.
This taglib is not a front-end one. The taglib makes
a trip to the back end to retrieve the next 10 records
from the database when the next pagination link
Hi , I am trying to use pagination in struts , but when I put the tag in my jsp
page , the page is blanck : here is my jsp page :
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;
%@ page contentType=text/html;charset=UTF-8 language=java
Hi,
I have using a service at Bussiness layert which may fetch n number records...
However i have to show this records using pagination...
also when user won't find(let's say) his intended record on 1st paginated page
try to find data on 2nd paginated page,by clicking (12345
Barde [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 17, 2006 1:27 AM
To: user@struts.apache.org
Subject: How to do pagination using Struts!
Hi,
I have using a service at Bussiness layert which may fetch n number
records...
However i have to show this records using pagination...
also when user
Aladin,
I do know that DisplayTag 1.1 has the batch paging capability, that was
my first email I sent to this list but my concern was that they had
warned that this version is yet to be ready and that they could change
functionality (not stable for production)... so I was a little afraid of
using
team
appreciates hearing success stories :)
Following the earlier thread entitled Tags For Pagination I wondered if
JWP
might take this generic problem up. Paging through results seems to me an
ideal use of AJAX.
I've thought about it... we are now starting to discuss the idea of
creating
Hi,
We have a situation where we require to paginate our result list (which
is quite huge, around 1000+ records). We found few tags like DisplayTags
from sourceforge.net but the current version does not support batch
lists (i.e. retrieving the list in batches based on the page the user is
in,
On 1/23/06, Srini Pillai [EMAIL PROTECTED] wrote:
We have a situation where we require to paginate our result list (which
is quite huge, around 1000+ records). We found few tags like DisplayTags
from sourceforge.net but the current version does not support batch
lists (i.e. retrieving the
From: Rick Reumann [EMAIL PROTECTED]
On 1/23/06, Srini Pillai wrote:
We have a situation where we require to paginate our result list (which
is quite huge, around 1000+ records). We found few tags like DisplayTags
from sourceforge.net but the current version does not support batch
Gary,
We were thinking of executing an initial query to get the total count
for the criteria (using count(*)) and then page it using the offset and
range that would be passed as part of the query string when clicked on
the page numbers. Also we are using hibernate, which has the facility to
. The set of keys are used to retrieve
the details/rest of the object per page. Your initial inquiry returns the full set of
keys matching the criteria.
I implemented pagination with batched retrieval using Hibernate, which
takes a couple of parameters on its fetch methods, maxCount
On 1/23/06, Srini Pillai [EMAIL PROTECTED] wrote:
Gary,
We were thinking of executing an initial query to get the total count
for the criteria (using count(*)) and then page it using the offset and
range that would be passed as part of the query string when clicked on
the page numbers. Also
Adam,
Did you use your own custom tag to display the results or did u extend
any tags available in the web ?
- Srini
=
I implemented pagination with batched retrieval using Hibernate, which
takes a couple of parameters on its fetch methods, maxCount and
firstRecord.
It's fairly
Thanks, it was quite helpful... I am looking for more of a component
(tag) that could plugin nicely without much customization...but looks
like we have to code our own tag... Thanks anyway :)
- Srini
[EMAIL PROTECTED] 1/23/2006 3:31:52 PM
On 1/23/06, Srini Pillai [EMAIL PROTECTED] wrote:
On 1/23/06, Srini Pillai [EMAIL PROTECTED] wrote:
...but looks
like we have to code our own tag... Thanks anyway :)
At least for the display of pages and the whole next/last stuff, make
this an open source tag:) I just haven't gotten around to making one
myself. It should take something like:
Thanks anyway...
[EMAIL PROTECTED] 1/23/2006 4:39:49 PM
Srini Pillai on 23/01/06 20:45, wrote:
Did you use your own custom tag to display the results or did u
extend
any tags available in the web ?
=
I implemented pagination with batched retrieval using Hibernate,
which
Rick,
Thanks for the guidance...It is a good start for me...
- Srini
[EMAIL PROTECTED] 1/23/2006 4:37:53 PM
On 1/23/06, Srini Pillai [EMAIL PROTECTED] wrote:
...but looks
like we have to code our own tag... Thanks anyway :)
At least for the display of pages and the whole next/last stuff,
That was my first reaction too. As a matter of fact, I am using version
1.1 and it works quite nicely. You should most definetly revisit it,
the flexibility of external sorting sublists are major improvements.
Aladin
Rick Reumann wrote:
Aladin Alaily wrote:
After compile displaytag
Hi All
Can some one please recommend a pagination utility for my struts application.
I also need to export the data in the table to excel (xml also if possible).
I looked at Displaytag, however I ran into issue when I had to display
different tables in different pages
for Displaytag, yes you will...
-Original Message-
From: Rafael Taboada [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 21, 2005 5:03 PM
Cc: Struts Users Mailing List
Subject: Re: Pagination
Hi folks. Thanks for ur help. Those projects are so cool... But i have
built all my jsp and used
Hi folks, i'm again :) with my list of customers.
I could do my CRUD approach. So thank u for ur help.
My question is if there is some approach to do pagination with struts.
I don't know, maybe a plugin, extention...
Thanks again
--
Rafael Taboada
have a look to struts-layout and its collection tags
http://struts.application-servers.com/doc/index.html
hope it helps
- Original Message -
From: Rafael Taboada [EMAIL PROTECTED]
To: Struts List user@struts.apache.org
Sent: Thursday, April 21, 2005 3:10 PM
Subject: Pagination
Hi
take a look at Displaytag:
http://displaytag.sourceforge.net/
-Original Message-
From: Rafael Taboada [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 21, 2005 8:11 AM
To: Struts List
Subject: Pagination
Hi folks, i'm again :) with my list of customers.
I could do my CRUD approach. So
Hi folks. Thanks for ur help. Those projects are so cool... But i have
built all my jsp and used taglibs...
If I decide to use this tags. Does it mean I have to rebuild my jsps?.
--
Rafael Taboada
-
To unsubscribe, e-mail:
I am working on an application with a page that uses pager-taglib to
break down query results so that only ten show up on each page.
However, as far as I can tell, this tag library assumes that all the
query results have been retrieved from the database.
I have been tasked with modifying the app
-Original Message-
From: Dhruva B. Reddy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 25, 2004 4:19 PM
To: Struts Users Mailing List
Subject: Pagination of Query Results Without Getting All Results At Once
I am working on an application with a page that uses pager-taglib to
break down query
101 - 156 of 156 matches
Mail list logo