Hi,
I always wondered a question about this kind of server side paging:
THE PROBLEM:
I suppose it is based on getting all the results at once from the database
and storing them in session. Further on, data is extracted in slots from the
session and thrown to a JSP for rendering.
Well, I guess
PROTECTED]
Sent: Sunday, January 04, 2004 10:41 AM
Subject: RE: Paging for table...
Hi,
I always wondered a question about this kind of server side paging:
THE PROBLEM:
I suppose it is based on getting all the results at once from the database
and storing them in session. Further on, data
involve sorting. The
final order of the rows is not known until the sort steps are completed.
Ed
- Original Message -
From: Adolfo Miguelez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, January 04, 2004 10:41 AM
Subject: RE: Paging for table...
Hi,
I always wondered a question
provides any inbuilt
framework to do this kind of paging
Regards
VasudevRaoGupta
Confidentiality Notice
The information contained in this electronic message and any attachments to this
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged
I use displaytag, www.displaytag.org, for that.
Regards,
David
-Original Message-
From: vasudevrao gupta [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 03, 2004 7:40 AM
To: 'Struts Users Mailing List'
Subject: Paging for table...
Hi,
I have a requirement where in user executes
.Can you please send across the sample code that you have developed???
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: 03 January 2004 20:57
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Paging for table...
I use displaytag, www.displaytag.org
-
From: vasudevrao gupta [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 03, 2004 10:27 AM
To: 'David Friedman'; 'Struts Users Mailing List'
Subject: RE: Paging for table...
.Can you please send across the sample code that you have developed???
-Original Message-
From: David Friedman
Check for paging taglib available for struts which will meet your requirements.
Rahul
-Original Message-
From: Vasudevrao Gupta M V S S S (WT01 - UTILITIES)
Sent: Saturday, January 03, 2004 8:57 PM
To: 'David Friedman'; 'Struts Users Mailing List'
Subject: RE: Paging for table
Rahul,
What is this paging taglib? Do you have a url?
Curious,
David
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 04, 2004 12:15 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Paging for table...
Check for paging taglib
David,
Check for the details on http://www.servletsuite.com/servlets/pagertag.htm
Rahul
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 04, 2004 10:48 AM
To: Struts Users Mailing List
Subject: RE: Paging for table...
Rahul,
What is this paging
hi,
I need to do paging of dropdown with multiple values in pagewise
manner.i am able to do the pagewise data (in each page i need to display
20 records only,ie page 2 starts with 21 to 40 etc).I have done this
paging .no problem.but the issue is ,in page1 i have selected 2 values
and page2 i
Hi People!!!
Anybody knows, how can I do paging with Struts??? (Previous 1 - 2 - 3 ... Next)
And changing the color of the rows on the table each iteration?
Is there any Tag Lib who do this???
Tanks!!!
[]´s
Mauricio
Mauricio,
You can look at 'struts-layout' :
http://struts.application-servers.com/
It is a quite powerful taglib that includes, among other stuff, paging
management.
Fred
Le lun 03/11/2003 12:43, Mauricio T. Ferraz a crit :
Hi People!!!
Anybody knows, how can I do paging with Struts
Subject: Re: Paging
Mauricio,
You can look at 'struts-layout' :
http://struts.application-servers.com/
It is a quite powerful taglib that includes, among other stuff, paging
management.
Fred
Le lun 03/11/2003 12:43, Mauricio T. Ferraz a crit :
Hi People!!!
Anybody knows, how can I do paging
sized
collections of light objects, but if you want paging where you end up
with a new query to bring back your objects then you'll have to
implement something else.
--
Rick
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Hi
Visit this URL, it works great with struts or any jsp
framework
http://kulkarni_ash.tripod.com/howto/jsptaglib-howto.html
Ashish
--- Mauricio T. Ferraz
[EMAIL PROTECTED] wrote:
Hi People!!!
Anybody knows, how can I do paging with Struts???
(Previous 1 - 2 - 3 ... Next) And changing
- Original Message -
From: Rick Reumann [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, November 03, 2003 3:29 PM
Subject: Re: Paging
Christian Bollmeyer wrote:
http://displaytag.sourceforge.net/ (my favorite, new 1.0 beta out)
The last time I used
Ashish Kulkarni wrote:
Visit this URL, it works great with struts or any jsp
framework
http://kulkarni_ash.tripod.com/howto/jsptaglib-howto.html
Yea page not found errors work great with any framework, I agree:0
--
Rick
-
To
list:
http://www.mail-archive.com/index.php?hunt=displaytag
Regards,
David
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2003 9:29 AM
To: Struts Users Mailing List
Subject: Re: Paging
Christian Bollmeyer wrote:
http
- Original Message -
From: Rick Reumann [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, November 03, 2003 4:46 PM
Subject: Re: Paging
Ashish Kulkarni wrote:
Visit this URL, it works great with struts or any jsp
framework
http
Christian Bollmeyer wrote:
But what do you recommend? I saw there's a paginatedList feature
in iBATIS, but I don't have any experience with it yet.
--
You have to use 3 things together:
1. Display tag pagination (good for thousands of rows, maybe all you
need, I store in request scope, let
with, I think. To be sure, ask on their user
list:
http://www.mail-archive.com/index.php?hunt=displaytag
Regards,
David
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2003 9:29 AM
To: Struts Users Mailing List
Subject: Re: Paging
Christian Bollmeyer
Model Layer
If you database supports *limit* clause, use that.
OR
Use Paging Patterns (known as Value List Handler in J2EE but i think it's
misnomer ;-)
Presentation Layer
Use Pager Taglib
|-Original Message-
|From: Kapadia Mitesh-C23457 [mailto:[EMAIL PROTECTED]
|Sent: Tuesday, August
Any suggestions or ideas on how I can page through a DB ResultSet?
Thanks in advance.
- Mitesh
I use the iterate tag to show the records set. But is there any good way to
show the records in several pages and with first,previous,next,last button
in each pages?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
=%=\beanList[\+i+\].Name\%/
Here MyForm has indexed getters and setters for the beans.
Hopw this helps,
regards,
Shirish
-Original Message-
From: Jorge Mascena [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 8:06 PM
To: 'Struts Users Mailing List'
Subject: RES: Paging a collection property
Hi Guys,
I have a paging catalogue of items which all works fine but i'm
wondering how do i store selected items across multiple pages??
As i move to another page should i store the select item keys in my session
before displaying the next page???
Any ideas
create a javabean to contain the items like a shopping cart and place that in
the session scope for the user
On Tuesday 25 March 2003 9:29 am, Pat Quinn wrote:
Hi Guys,
I have a paging catalogue of items which all works fine but i'm
wondering how do i store selected items across multiple
I have a LookupDispatchAction as follows:
protected Map getKeyMethodMap() {
Map map = new HashMap();
map.put(label.catalogue.find, doFind);
map.put(label.catalogue.addtoCart, doAddToCart);
map.put(label.paging, doPaging);
return map;
}
I display my paging
]
Subject: LookupDispatchAction + Paging with form submit
I have a LookupDispatchAction as follows:
protected Map getKeyMethodMap() {
Map map = new HashMap();
map.put(label.catalogue.find, doFind);
map.put(label.catalogue.addtoCart, doAddToCart);
map.put(label.paging
I need some directions on how to use the struts html and/or neste
taglibs to handle the case where there's a collection property of a form
bean that may contain a big number of objects. In this case, I'd like to
able to do some sort of paging on these objects and I'd like to know if
struts have
of paging on these objects and I'd like to know if
struts have any support for that.
For example: I have a form bean, AuthorFormBean, that has a collection
of books he wrote. I can use the nested taglib to render the book
collection, so the user can fill the books data from the same form he
fills
: [EMAIL PROTECTED]
Assunto: Re: Paging a collection property
Look at display tag in google.
hth, .V
Jorge Mascena wrote:
I need some directions on how to use the struts html and/or neste
taglibs to handle the case where there's a collection property of a
form bean that may contain
. If so,
what do I have to do to accomplish that?
Thanks
Jorge Mascena
-Mensagem original-
De: Vic Cekvenich [mailto:[EMAIL PROTECTED]
Enviada em: Monday, March 24, 2003 3:22 PM
Para: [EMAIL PROTECTED]
Assunto: Re: Paging a collection property
Look at display tag in google.
hth, .V
Jorge
, 2003 4:34 PM
Para: [EMAIL PROTECTED]
Assunto: Re: RES: Paging a collection property
Struts is very smart about multi row update (and tag uses
indexed tag). But I have no idea how YOUR tag works, as far
is iterator, is per page
or over the collection.
.V
Jorge Mascena wrote
Does anyone have a good example of Paging using struts??
_
The new MSN 8 is here: Try it free* for 2 months
http://join.msn.com/?page=dept/dialup
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e
Pat Quinn wrote:
Does anyone have a good example of Paging using struts??
_
The new MSN 8 is here: Try it free* for 2 months
http://join.msn.com/?page=dept/dialup
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED
http://jsptags.com/tags/navigation/pager/pager-demo.jsp
Pat Quinn wrote:
Does anyone have a good example of Paging using struts??
_
The new MSN 8 is here: Try it free* for 2 months
http://join.msn.com/?page=dept/dialup
I don't think struts has any paging functionality available out of the box.
What you can do is looking into Sun's design pattern in the petstore
codebase and learn from there. Basically, you can use JDBC like this stmt =
conn.prepareStatement(sqlString, ResultSet.TYPE_SCROLL_INSENSITIVE
]
Subject: Paging using struts
Does anyone have a good example of Paging using struts??
_
The new MSN 8 is here: Try it free* for 2 months
http://join.msn.com/?page=dept/dialup
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED
You can find more info about pager tag here:
http://jsptags.com/tags/navigation/pager/index.jsp
-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 2:33 PM
To: [EMAIL PROTECTED]
Subject: Paging using struts
Does anyone have a good example
I have a JSP table that contains a checkbox column used for multiple
selection, which returns the selected item(s) Id value to a String array
in my ActionForm bean. Happily, this is working. However, my problem is
with paging. I am using the Display Tags to display my table, with a
Decorator
page.
Now i'm using logic:iterator tagfor displaying the whole data in
one page.
Is there any option to get the paging in my jsp?
Kalaiselvan.S
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, October 11
Hii Craig,
I have 1000 of records in my database.
I want to show them in 10 per page.
Now i'm using logic:iterator tagfor displaying the whole data in
one page.
Is there any option to get the paging in my jsp?
Kalaiselvan.S
- Original Message -
From: Craig R
http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=Struts+Paging
http://nagoya.apache.org/eyebrowse/SearchList?listId=listName=struts-user%40jakarta.apache.orgsearchText=PagingdefaultField=subjectSearch=Search
... you probably already looked at all of those though - right?
Kalaiselvan wrote
-Original Message-
From: Brian Alexander Lee [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 06, 2002 7:42 PM
To: Struts Users Mailing List
Subject: Re: Any Idea about Paging Logic
I looked at the display tag library:
http://edhill.its.uiowa.edu/display/
Did I majorly screw
Alexander Lee
[mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 06, 2002 7:42 PM
To: Struts Users Mailing List
Subject: Re: Any Idea about Paging Logic
I looked at the display tag library:
http://edhill.its.uiowa.edu/display/
Did I majorly screw something up or is this tag
Is there any chance you've already searched the archive? I generally
skip that and go to Google, myself. Tried that?
http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=Struts+Paging
There was a recent discussion on the list about paging that ... got
pretty involved and contained some good
- Original Message -
From: Eddie Bush [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, October 06, 2002 2:32 AM
Subject: Re: Any Idea about Paging Logic
Is there any chance you've already searched the archive? I generally
skip that and go to Google, myself. Tried
Hii all,
I'm using struts for my application. I have reterive data from DB and
shown in table. Where i have thousands of records in my DB. So i want to
show the data 100 for each page. I'm using logic:iterate tag for
displaying the data. Where how can i seperate the data and how can
Paging is the good term to describe what I want to do.
I don't work directly with a dataset because I use an back-end application
server that works on the database. So I receive a list of JavaBean that
I would like to display in JSP pages.
I found a little description of the paging pattern but I
List
Subject: RE: Result paging for site search results
Simon,
I'm not sure if you are handling very large ResultSets and
need database-aware paging (i.e., user clicks next, and the
next 25 results are fetched from DB, vs. having them all in a
Collection that you are paging through
Ditto, I just checked this out and wish I'd known about it sooner!
-Original Message-
From: Mazza, Glen R, PERSCOM [mailto:[EMAIL PROTECTED]]
Sent: August 28, 2002 7:28 AM
To: 'Joe Barefoot'; Struts Users Mailing List
Subject: RE: Result paging for site search results
Thanks, Joe
All
I am a newbie so if this question sounds a bit simple don't shoot...
I am developing a search page and want to break the results into pages of
containg 25 results per page. I know I can use the offset and length
parameters on the iterator tag but I can't seem to be able to pass the
27, 2002 12:58 PM
Subject: Result paging for site search results
All
I am a newbie so if this question sounds a bit simple don't shoot...
I am developing a search page and want to break the results into pages of
containg 25 results per page. I know I can use the offset and length
To: Struts Users Mailing List
Subject: Result paging for site search results
All
I am a newbie so if this question sounds a bit simple don't shoot...
I am developing a search page and want to break the results into pages of
containg 25 results per page. I know I can use the offset and length
Simon,
I'm not sure if you are handling very large ResultSets and need database-aware paging
(i.e., user clicks next, and the next 25 results are fetched from DB, vs. having
them all in a Collection that you are paging through in-memory). If you aren't
handling very large volumes, I suggest
I was searching the archive and come up empty with regarding to the paging
functionality in struts. Some people mentioned the Jsptags.com's paging
tags. The problem is this tag is that it puts a big collection of result
data in the session. It may have a scalability problem.
Sun's
/TD
/TR
/table
--- END ---
-Original Message-
From: Malcolm Wise [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 04, 2002 4:32 AM
To: 'Struts Users Mailing List'
Subject: RE: paging taglib and struts?
John,
I am using this taglib quite extensively and it works
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 9:31 AM
To: 'Struts Users Mailing List'
Subject: RE: paging taglib and struts?
Pedro,
(Posted here 'cos I couldn't get through to your email address.)
Refer to the taglib documentation at
http://jsptags.com/tags/navigation/pager/pager
/pg:index
/TD
/TR
/TABLE
/TD
/TR
/TABLE
/pg:pager
-Original Message-
From: John Menke [mailto:[EMAIL PROTECTED]]
Sent: 03 March 2002 02:08
To: struts-user
Subject: paging taglib
Does anyone any suggestions for implementing paging with struts? I have
searched the archive and karl basel posted this:
snip
There's a good pager taglib at jsptags.com. I've used it in a struts app and
does the job quite well when embedded in the iterate tags.
logic:iterate
pg:item
On Wed, 31 Jan 2001, Peter Alfors wrote:
check out the pager taglib: http://jsptags.com/tags/navigation/pager/
Very handy! For anyone else looking at this for paging long-winded
result sets, and using Tomcat 4.0-b1, I needed to edit the demo
"pager-demo.jsp" and change:
On Wed, 31 Jan 2001, Peter Alfors wrote:
check out the pager taglib: http://jsptags.com/tags/navigation/pager/
Actually, I can run the example that comes with the distribution but am
having some problems using this pager taglib in Struts. The links created
by the pager aren't working.
The
On Mon, 12 Feb 2001, Steve A Drake wrote:
On Wed, 31 Jan 2001, Peter Alfors wrote:
check out the pager taglib: http://jsptags.com/tags/navigation/pager/
Actually, I can run the example that comes with the distribution but am
having some problems using this pager taglib in Struts. The
on it. Now
I'm just waiting for him to make the taglib that generates his menu
available :-)
Here's the link http://jsptags.com/tags/navigation/pager
This topic does beg the question whether Struts should have its own paging
tags... I suspect you can probably implement paging with the standard logic
check out the pager taglib: http://jsptags.com/tags/navigation/pager/
"Boulatian, Misak" wrote:
Hi alI,
I am trying to implement paging for web application. The query may return
over thousand records and it is a bad idea to dump all of those to the
client. I was thinking to fe
67 matches
Mail list logo