RE: Pagination using Struts library
> -Original Message- > From: Pankaj Gupta [mailto:pankaj.hug...@gmail.com] > Sent: Thursday, May 19, 2011 10:12 > To: Struts Users Mailing List > Subject: Re: Pagination using Struts library > > Hi Dave, > > Just need quick help. > Is display tag supported for struts1.2. > http://www.displaytag.org/1.2/ is niether unsuported or supported, is is a JSP tag library not associated with Struts. To answer if it can be used, yes I have used it in struts 1 and struts 2. > > Thanks, > Pankaj > > On Wed, May 11, 2011 at 5:36 PM, Dave Newton > wrote: > > > There isn't any; Struts is largely front-end neutral. Check > the jQuery > > plugin, otherwise your best bet is to use any of the myriad > pagination > > libs. > > > > DisplayTag is open-source, BTW. > > > > Dave > > On May 11, 2011 7:48 AM, "Pankaj Gupta" > wrote: > > > Hi, > > > > > > But I am looking for Pagination in Struts framework specifically. > > > > > > Thanks, > > > Pankaj > > > > > > > > > > > > > > > > > > > > > On Wed, May 11, 2011 at 3:51 PM, Kushan Jayathilake > > > > >wrote: > > > > > >> Well.. if you are going with JSF, there are tags with pagination > > >> support builtin. > > >> you just need to pass the collection and the page size for that > > >> > > >> On Wed, May 11, 2011 at 3:25 PM, Pankaj Gupta > > >> > >> >wrote: > > >> > > >> > Hi All, > > >> > > > >> > Is there any way Jaakata /SUN library or any api in > struts which > > >> > can > > be > > >> > used > > >> > to > > >> > implement pagination. > > >> > > > >> > > > >> > I suggested Display tag and Page Loader, but since > they are not > > >> > open source, not ssociated with Jakarta/Sun, user is not > > >> > agreeging to it? > > >> > > > >> > > > >> > Any suggestions would be appreciated? > > >> > > > >> > > > >> > Thanks, > > >> > Pankaj > > >> > > > >> > > >> > > >> > > >> -- > > >> Regards > > >> Kushan Jayathilake > > >> > > > -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Pagination using Struts library
Hi Dave, Just need quick help. Is display tag supported for struts1.2. Thanks, Pankaj On Wed, May 11, 2011 at 5:36 PM, Dave Newton wrote: > There isn't any; Struts is largely front-end neutral. Check the jQuery > plugin, otherwise your best bet is to use any of the myriad pagination > libs. > > DisplayTag is open-source, BTW. > > Dave > On May 11, 2011 7:48 AM, "Pankaj Gupta" wrote: > > Hi, > > > > But I am looking for Pagination in Struts framework specifically. > > > > Thanks, > > Pankaj > > > > > > > > > > > > > > On Wed, May 11, 2011 at 3:51 PM, Kushan Jayathilake >wrote: > > > >> Well.. if you are going with JSF, there are tags with pagination support > >> builtin. > >> you just need to pass the collection and the page size for that > >> > >> On Wed, May 11, 2011 at 3:25 PM, Pankaj Gupta >> >wrote: > >> > >> > Hi All, > >> > > >> > Is there any way Jaakata /SUN library or any api in struts which can > be > >> > used > >> > to > >> > implement pagination. > >> > > >> > > >> > I suggested Display tag and Page Loader, but since they are not open > >> > source, > >> > not ssociated with Jakarta/Sun, user is not agreeging to it? > >> > > >> > > >> > Any suggestions would be appreciated? > >> > > >> > > >> > Thanks, > >> > Pankaj > >> > > >> > >> > >> > >> -- > >> Regards > >> Kushan Jayathilake > >> >
Re: Pagination using Struts library
Recently when I tried the jQuery Grid from the website it is not able to edit the grid. Seems like there is some problem. I have posted the same in the forum. Dont know it has been fixed or not. Try this below url. http://www.weinfreund.de/struts2-jquery-grid-showcase/index.action -- View this message in context: http://struts.1045723.n5.nabble.com/Pagination-using-Struts-library-tp4386974p4408918.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Pagination using Struts library
You'll need to make some mods for displaytag to work with S2. 1. You'll need to add an acceptableParameterName method to your classes, we just add it to our base class. 2. You have to add the Displaytag responseOverrideFilter to your web.xml for the export to work Having said all that, we are moving away from display tag and to jQuery Datatables. Honestly our life has become so much easier since we started incorporating more client side javascript. The code is easier to follow, ajax calls make security a breeze and the server load is considerably lighter. Z. On 14/05/11 12:04 AM, "Miguel" wrote: >Speaking of which, Dave, have you used displaytag recently? > >It seems to have been abandoned. It's good for regular usage, but as >time goes by we start having some problems. > >For example, with the export options (displaytag can export to excel, >pdf, etc automatically) we see a ognl WARN: > >WARN [CommonsLogger.java:60] : Error setting expression '6578706f7274' >with value '[Ljava.lang.String;@385b5df0' >ognl.ExpressionSyntaxException: Malformed OGNL expression: 6578706f7274 >[ognl.ParseException: Encountered " "7274 "" at line 1, >column 9. > >This is due to the fact that displaytag's export url is >Someaction.action?6578706f7274=1&d-16533-e=5 and 6578706f7274 doesn't >seem to be valid on recent versions. > >Miguel Almeida > > >Dave,On Wed, 2011-05-11 at 08:06 -0400, Dave Newton wrote: > >> >> DisplayTag is open-source, BTW. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Pagination using Struts library
displaytag1.2 + struts2 + tiles works good for me. displaytag is a very good tool for pagination. http://www.displaytag.org/1.2/ Another paging feature I found just recently is: DataTables http://www.datatables.net/index The online doc shows good features, but I have not done production app based on it yet. while for displaytag, I do use it a lot with struts2 + displaytag + tiles. Displaytag does good with paging for struts2. Emi On 05/11/2011 07:47 AM, Pankaj Gupta wrote: Hi, But I am looking for Pagination in Struts framework specifically. Thanks, Pankaj On Wed, May 11, 2011 at 3:51 PM, Kushan Jayathilakewrote: Well.. if you are going with JSF, there are tags with pagination support builtin. you just need to pass the collection and the page size for that On Wed, May 11, 2011 at 3:25 PM, Pankaj Gupta wrote: Hi All, Is there any way Jaakata /SUN library or any api in struts which can be used to implement pagination. I suggested Display tag and Page Loader, but since they are not open source, not ssociated with Jakarta/Sun, user is not agreeging to it? Any suggestions would be appreciated? Thanks, Pankaj -- Regards Kushan Jayathilake -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848-2424 x5884 - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Pagination using Struts library
displaytag1.2 + struts2 + tiles works good for me. displaytag is a very good tool for pagination. http://www.displaytag.org/1.2/ Emi On 05/11/2011 07:47 AM, Pankaj Gupta wrote: Hi, But I am looking for Pagination in Struts framework specifically. Thanks, Pankaj On Wed, May 11, 2011 at 3:51 PM, Kushan Jayathilakewrote: Well.. if you are going with JSF, there are tags with pagination support builtin. you just need to pass the collection and the page size for that On Wed, May 11, 2011 at 3:25 PM, Pankaj Gupta wrote: Hi All, Is there any way Jaakata /SUN library or any api in struts which can be used to implement pagination. I suggested Display tag and Page Loader, but since they are not open source, not ssociated with Jakarta/Sun, user is not agreeging to it? Any suggestions would be appreciated? Thanks, Pankaj -- Regards Kushan Jayathilake -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848-2424 x5884 - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Pagination using Struts library
On Fri, May 13, 2011 at 10:04 AM, Miguel wrote: > Speaking of which, Dave, have you used displaytag recently? I've never used it at all. > This is due to the fact that displaytag's export url is > Someaction.action?6578706f7274=1&d-16533-e=5 and 6578706f7274 doesn't > seem to be valid on recent versions. OGNL expects valid property names, things starting with numbers aren't valid Java property names. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Pagination using Struts library
Speaking of which, Dave, have you used displaytag recently? It seems to have been abandoned. It's good for regular usage, but as time goes by we start having some problems. For example, with the export options (displaytag can export to excel, pdf, etc automatically) we see a ognl WARN: WARN [CommonsLogger.java:60] : Error setting expression '6578706f7274' with value '[Ljava.lang.String;@385b5df0' ognl.ExpressionSyntaxException: Malformed OGNL expression: 6578706f7274 [ognl.ParseException: Encountered " "7274 "" at line 1, column 9. This is due to the fact that displaytag's export url is Someaction.action?6578706f7274=1&d-16533-e=5 and 6578706f7274 doesn't seem to be valid on recent versions. Miguel Almeida Dave,On Wed, 2011-05-11 at 08:06 -0400, Dave Newton wrote: > > DisplayTag is open-source, BTW.
Re: Pagination using Struts library
You have struts 2 jquery plugin for grid and full hibernate support plugin to do pagination. With Best Regards, Amol Ghotankar Technical Lead Cursive Technologies Pvt. Ltd. www.cursivetech.com
Re: Pagination using Struts library
There isn't any; Struts is largely front-end neutral. Check the jQuery plugin, otherwise your best bet is to use any of the myriad pagination libs. DisplayTag is open-source, BTW. Dave On May 11, 2011 7:48 AM, "Pankaj Gupta" wrote: > Hi, > > But I am looking for Pagination in Struts framework specifically. > > Thanks, > Pankaj > > > > > > > On Wed, May 11, 2011 at 3:51 PM, Kushan Jayathilake wrote: > >> Well.. if you are going with JSF, there are tags with pagination support >> builtin. >> you just need to pass the collection and the page size for that >> >> On Wed, May 11, 2011 at 3:25 PM, Pankaj Gupta > >wrote: >> >> > Hi All, >> > >> > Is there any way Jaakata /SUN library or any api in struts which can be >> > used >> > to >> > implement pagination. >> > >> > >> > I suggested Display tag and Page Loader, but since they are not open >> > source, >> > not ssociated with Jakarta/Sun, user is not agreeging to it? >> > >> > >> > Any suggestions would be appreciated? >> > >> > >> > Thanks, >> > Pankaj >> > >> >> >> >> -- >> Regards >> Kushan Jayathilake >>
Re: Pagination using Struts library
Hi, But I am looking for Pagination in Struts framework specifically. Thanks, Pankaj On Wed, May 11, 2011 at 3:51 PM, Kushan Jayathilake wrote: > Well.. if you are going with JSF, there are tags with pagination support > builtin. > you just need to pass the collection and the page size for that > > On Wed, May 11, 2011 at 3:25 PM, Pankaj Gupta >wrote: > > > Hi All, > > > > Is there any way Jaakata /SUN library or any api in struts which can be > > used > > to > > implement pagination. > > > > > > I suggested Display tag and Page Loader, but since they are not open > > source, > > not ssociated with Jakarta/Sun, user is not agreeging to it? > > > > > > Any suggestions would be appreciated? > > > > > > Thanks, > > Pankaj > > > > > > -- > Regards > Kushan Jayathilake >
Re: Pagination using Struts library
Well.. if you are going with JSF, there are tags with pagination support builtin. you just need to pass the collection and the page size for that On Wed, May 11, 2011 at 3:25 PM, Pankaj Gupta wrote: > Hi All, > > Is there any way Jaakata /SUN library or any api in struts which can be > used > to > implement pagination. > > > I suggested Display tag and Page Loader, but since they are not open > source, > not ssociated with Jakarta/Sun, user is not agreeging to it? > > > Any suggestions would be appreciated? > > > Thanks, > Pankaj > -- Regards Kushan Jayathilake
Pagination using Struts library
Hi All, Is there any way Jaakata /SUN library or any api in struts which can be used to implement pagination. I suggested Display tag and Page Loader, but since they are not open source, not ssociated with Jakarta/Sun, user is not agreeging to it? Any suggestions would be appreciated? Thanks, Pankaj