pagination problem in jsp

2007-05-04 Thread jalal udeen
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

Ideal solution to pagination (long lists)?

2007-01-04 Thread Andrew Martin
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.

Re: Ideal solution to pagination (long lists)?

2007-01-04 Thread Gareth Evans
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

Re: Ideal solution to pagination (long lists)?

2007-01-04 Thread Christopher Schultz
-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

Re: Ideal solution to pagination (long lists)?

2007-01-04 Thread Tom Schneider
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

Re: Ideal solution to pagination (long lists)?

2007-01-04 Thread Manos Batsis
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

Re: Ideal solution to pagination (long lists)?

2007-01-04 Thread Caroline Jen
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

Re: about pagination

2006-09-21 Thread Lixin Chu
struts itself does not (need to) handle pagination. for displaytag, you can check http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html

RE: about pagination

2006-09-21 Thread David Friedman
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

Re: about pagination

2006-09-21 Thread Kim Brianne Go
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

Re: about pagination

2006-09-21 Thread Li
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

Re: about pagination

2006-09-21 Thread Kim Brianne Go
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

Re: about pagination

2006-09-21 Thread Li
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

RE: about pagination

2006-09-21 Thread Givler, Eric
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

about pagination

2006-09-20 Thread yamilka vallejo ramos
hi, does anybody know how to work with Struts 1.1 and pagination???

Re: about pagination

2006-09-20 Thread Kim Brianne Go
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

Re: about pagination

2006-09-20 Thread Venkata Phani Kumar
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

Re: Need to do pagination but can't use DisplayTag

2006-08-16 Thread Martin Gainty
, 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

Re: Need to do pagination but can't use DisplayTag

2006-08-16 Thread pantichd
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

Re: Need to do pagination but can't use DisplayTag

2006-08-16 Thread Wendy Smoak
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.

Re: Need to do pagination but can't use DisplayTag

2006-08-16 Thread pantichd
-- 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

Need to do pagination but can't use DisplayTag

2006-08-15 Thread pantichd
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

Re: Need to do pagination but can't use DisplayTag

2006-08-15 Thread pantichd
://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

RE: Need to do pagination but can't use DisplayTag

2006-08-15 Thread David Friedman
@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

RE: Need to do pagination but can't use DisplayTag

2006-08-15 Thread kalpesh modi
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

RE: Need to do pagination but can't use DisplayTag

2006-08-15 Thread pantichd
://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

pagination

2006-08-01 Thread Medicherla Lakshmi
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. - Here’s a new

Re: pagination

2006-08-01 Thread P Y
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

RE: pagination

2006-08-01 Thread Lance
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

RE: pagination

2006-08-01 Thread David Friedman
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

Pagination and Memorizing Marked Checkboxes

2006-07-28 Thread Caroline Jen
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

How to use jsptags for pagination in struts ??

2006-07-06 Thread A. Lotfi
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

How to do pagination using Struts!

2006-06-16 Thread Shailesh Barde
  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

RE: How to do pagination using Struts!

2006-06-16 Thread David Friedman
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

Re: Tags for Pagination

2006-01-24 Thread Srini Pillai
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

RE: [OT-ANN] Java Web Parts v1.0 beta3 and Tags For Pagination

2006-01-24 Thread Frank W. Zammetti
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

Tags for Pagination

2006-01-23 Thread Srini Pillai
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,

Re: Tags for Pagination

2006-01-23 Thread Rick Reumann
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

Re: Tags for Pagination

2006-01-23 Thread Gary VanMatre
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

Re: Tags for Pagination

2006-01-23 Thread Srini Pillai
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

Re: Tags for Pagination

2006-01-23 Thread Adam Hardy
. 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

Re: Tags for Pagination

2006-01-23 Thread Ryan Wynn
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

Re: Tags for Pagination

2006-01-23 Thread Srini Pillai
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

Re: Tags for Pagination

2006-01-23 Thread Srini Pillai
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:

Re: Tags for Pagination

2006-01-23 Thread Rick Reumann
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:

Re: Tags for Pagination

2006-01-23 Thread Srini Pillai
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

Re: Tags for Pagination

2006-01-23 Thread Srini Pillai
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,

Re: Tags for Pagination

2006-01-23 Thread Aladin Alaily
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

Pagination Export Utility

2005-11-15 Thread bib_lucene bib
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

RE: Pagination

2005-04-22 Thread Abdullah Jibaly
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

Pagination

2005-04-21 Thread Rafael Taboada
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

Re: Pagination

2005-04-21 Thread Gaet
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

RE: Pagination

2005-04-21 Thread Abdullah Jibaly
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

Re: Pagination

2005-04-21 Thread Rafael Taboada
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:

Pagination of Query Results Without Getting All Results At Once

2004-05-25 Thread Dhruva B. Reddy
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

RE: Pagination of Query Results Without Getting All Results At On ce

2004-05-25 Thread Hookom, Jacob
-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

<    1   2