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
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 davelnew...@gmail.com 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
-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
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
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
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=1d-16533-e=5 and 6578706f7274 doesn't
seem to be valid on recent
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
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
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 pankaj.hug...@gmail.comwrote:
Hi All,
Is there any way Jaakata /SUN library or any api in struts
Hi,
But I am looking for Pagination in Struts framework specifically.
Thanks,
Pankaj
On Wed, May 11, 2011 at 3:51 PM, Kushan Jayathilake kusha...@gmail.comwrote:
Well.. if you are going with JSF, there are tags with pagination support
builtin.
you just need to pass the collection and
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 pankaj.hug...@gmail.com wrote:
Hi,
But I am looking for Pagination in
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
Display tag, works like a charm:
http://displaytag.sourceforge.net/1.2/tut_basic.html
Works with lists and handles pagination, data export, I recommend it!
Em 29-03-2010 11:07, Celinio Fernandes escreveu:
Hi,
This is a classic requirement.
I have this table, in a JSP, that I have created with
i prefer pagination to be db based so there is a minimum amount of data
retrieved and held in memory. i.e. only retrieve what you will display. don't
retrieve 200 records in memory and page through them.
adam
Date: Mon, 29 Mar 2010 03:07:25 -0700
Thanks. I already read about it but does it work well with Struts 2 ?
--- On Mon, 3/29/10, Alex Rodriguez Lopez alo...@flordeutopia.pt wrote:
From: Alex Rodriguez Lopez alo...@flordeutopia.pt
Subject: Re: Pagination with Struts 2.1.8 ?
To: user@struts.apache.org
Date: Monday, March 29, 2010, 4
be best done at
DB level as Adam suggested.
--- On Mon, 3/29/10, Alex Rodriguez Lopezalo...@flordeutopia.pt wrote:
From: Alex Rodriguez Lopezalo...@flordeutopia.pt
Subject: Re: Pagination with Struts 2.1.8 ?
To: user@struts.apache.org
Date: Monday, March 29, 2010, 4:32 AM
Display tag, works
already read about it but does it work well with Struts 2 ?
--- On Mon, 3/29/10, Alex Rodriguez Lopez alo...@flordeutopia.pt wrote:
From: Alex Rodriguez Lopez alo...@flordeutopia.pt
Subject: Re: Pagination with Struts 2.1.8 ?
To: user@struts.apache.org
Date: Monday, March 29, 2010, 4
2009/5/25 Murugesh muruges...@gmail.com:
can any one help me to achieve this?
Could you show how did you try to use DisplayTag, some code example?
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail:
thanks Lukasz
what i did is,
added :displaytag-1.2.jar in the lib
added :%@ taglib uri=http://displaytag.sf.net; prefix=display% in my
JSP
code snippet is
display:table list=minDataList requestURI=calldata.action
pagesize=10
display:column property=name/
display:column property=id/
2009/5/25 Murugesh muruges...@gmail.com:
display:table list=minDataList requestURI=calldata.action
pagesize=10
display:column property=name/
display:column property=id/
/display:table
Could you also show action code?
Regards
--
Lukasz
http://www.lenart.org.pl/
You might try:
display:table list=${minDataList} requestURI=calldata.action
pagesize=10
instead.
(*Chris*)
On Sun, May 24, 2009 at 11:56 PM, Murugesh muruges...@gmail.com wrote:
thanks Lukasz
what i did is,
added :displaytag-1.2.jar in the lib
added :%@ taglib
public class PacketsAction extends ActionBase {
public ManagePacketsAction() {
public String call30Mdata() throws ServiceException {
DataManager dm = new DataManager();
setMinDataList(dm.getMinsData(null, getall))
try {
}
private ListminInfoVO minDataList = null;
End the last thing, action's configuration. As I noticed you don't use
execute() method and maybe your are missing call to method
call30Mdata(). And also try Chris suggestion.
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To
No Lukasz
my struts.xml is
action name=calldata class=com.PacketsAction method=call30Mdata
result/WEB-INF/components/packet/showData.jsp/result
/action
i am getting list with s:iterator but not displaytag
On Mon, May 25, 2009 at 12:53 PM, Lukasz Lenart
2009/5/25 Murugesh muruges...@gmail.com:
i am getting list with s:iterator but not displaytag
Did you try Chris suggestion?
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail:
Wow. it getting displayed. but if i click next page it got an error
ie requset resource not available.
is i missed anything?
On Mon, May 25, 2009 at 1:17 PM, Lukasz Lenart lukasz.len...@googlemail.com
wrote:
2009/5/25 Murugesh muruges...@gmail.com:
i am getting list with s:iterator but not
i got fix for this. i missed request uri in displaytag.
thanks for helping a lot.
is their any way to modify the display?
like the page no's and no of items coming on top , i need it to be bottom.
so where i have to chnage this?
On Mon, May 25, 2009 at 2:19 PM, Murugesh muruges...@gmail.com
2009/5/25 Murugesh muruges...@gmail.com:
is their any way to modify the display?
like the page no's and no of items coming on top , i need it to be bottom.
so where i have to chnage this?
Check DisplayTag documentation, for begining that [1]
[1]
adding to this question...
I've asked this before as well but not gotten a clearer answer.
What if in the same example as this but when user clicks 'next' you want to
go back and fetch the results again. Will that be possible with display
tag. What I mean is that lets say that the list is
obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
Date: Mon, 25 May 2009 08:49:33 -0400
Subject: Re: Pagination
From: bhaara...@gmail.com
To: user@struts.apache.org
adding
Yup, it's possible, just read the DisplayTag documentation on external
pagination.
(*Chris*)
On Mon, May 25, 2009 at 5:49 AM, Bhaarat Sharma bhaara...@gmail.com wrote:
adding to this question...
I've asked this before as well but not gotten a clearer answer.
What if in the same example as
i take a fast look about your link
i can done the presentation of the data by myself ?
these libraries done only the pagination?
On Thu, Apr 23, 2009 at 23:08, denis cabasson denis.cabas...@gmail.com wrote:
Display tag is great for table pagination.
If you are looking for pagination without
when i put
% request.setAttribute( test, new TestList(2, false) ); %
netbeans said: cannot find construtcto TestList(int,bool)
and the application goes in a exception:
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 1 in the jsp file:
Lots of possibilities here:* you need to have a class named TestList in your
application
* you need a constructor for your TestList class that accepts an int and a
boolean as its arguments
* you need to be sure you are appropriate importing the reference to
TestList in your JSP
On Thu, Apr 23,
u have to first create TestList for the code to work
On Thu, Apr 23, 2009 at 11:36 AM, Stefano elste...@gmail.com wrote:
when i put
% request.setAttribute( test, new TestList(2, false) ); %
netbeans said: cannot find construtcto TestList(int,bool)
and the application goes in a exception:
emm i've a list in my session called items.
so i'd write
a ok, i'd understand, now works.
anyway, how can i create the page number below?
On Thu, Apr 23, 2009 at 17:40, Bhaarat Sharma bhaara...@gmail.com wrote:
u have to first create TestList for the code to work
On Thu, Apr 23, 2009 at
i done this:
this is the class taht create the list
private ListItem items = new ArrayListItem();
private Integer resultSize;
public AllItem() {
}
@Override
public String execute() throws Exception {
items= mgmt.getAllItem();
resultSize=getItems().size();
I found I had to use the s:set tag to set the object in the request
scope before displaytag could see it, since displaytag doesn't know
about the Value Stack (maybe it should?). Confusingly, displaytag
gives you that message if it can't see the variable you're
referencing, as well as if
i've done a pagination by myself.
is an Alpha relase :D, not tested but u can set size and page to display:
action:
private ListItem items = new ArrayListItem();
private int tot;
private int page = 0;
private int size = 1;
private List pages = new ArrayList();
public
Display tag is great for table pagination.
If you are looking for pagination without tables, I'd recommend the pager
tag library :
http://jsptags.com/tags/navigation/pager/index.jsp
Custom coding is my least favorite way of solving an issue.
To extract a variable from an action to the page, I'd
someone has experience with this tag?
i don't really understand how it works.
On Tue, Apr 21, 2009 at 18:39, Chris Pratt thechrispr...@gmail.com wrote:
I'd suggest looking into DisplayTag (http://displaytag.sourceforge.net/)
(*Chris*)
On Tue, Apr 21, 2009 at 4:58 AM, Bhaarat Sharma
Stefano Tranquillini wrote:
someone has experience with this tag?
i don't really understand how it works.
What issues are you having? There are a number of tutorials and examples
on the site:
http://displaytag.sourceforge.net/1.2/tut_basic.html
Dave
I wanted to use it for the purpose so that when I click NEXT or 2nd page
then again I go to the DB to fetch next set of 50 records.
but didnt see any examples of that sort
On Wed, Apr 22, 2009 at 4:13 PM, Dave Newton newton.d...@yahoo.com wrote:
Stefano Tranquillini wrote:
someone has
I found this within thirty seconds of clicking Dave's link:
http://displaytag.sourceforge.net/1.2/tut_sources.html
Note that the contents of this page are actually fairly freakin' horrible
and should not be done on a grownup application. But the instructions are
right there and easy to find.
jk
jim,
I found this example
http://displaytag.homeip.net/displaytag-examples-1.2/example-paging.jsp?d-49653-p=1
it says Ok, you have made a query that returns you back a list of 120
elements, but you don't want to show the user all 120 items at once, you
want to allow them to page through the
Have a look at the external sorting and pagination page[1] on the
DisplayTag site. Also, take a look at the PaginatedList interface[2].
It takes a little bit to get your head around it.
If you get stuck, the displaytag lists are pretty good at helping with
the common issues.
Andy.
[1]
http://displaytag.sourceforge.net/1.2/tut_externalSortAndPage.html
It pays to really spend some time looking over existing documentation;
it's often quicker than waiting for someone on a list or forum to answer.
Dave
Bhaarat Sharma wrote:
jim,
I found this example
It's just a sample pages...
2009/4/22 Dave Newton newton.d...@yahoo.com
http://displaytag.sourceforge.net/1.2/tut_externalSortAndPage.html
It pays to really spend some time looking over existing documentation; it's
often quicker than waiting for someone on a list or forum to answer.
Dave
I'd suggest looking into DisplayTag (http://displaytag.sourceforge.net/)
(*Chris*)
On Tue, Apr 21, 2009 at 4:58 AM, Bhaarat Sharma bhaara...@gmail.com wrote:
Are there any examples that show how to do pagination in struts2?
I would like to do pagination where we call the DB again when the
FYI,
just recording my experience here.
I looked at displaytag it looks good but if there are some minor changes (it
encodes property names etc so when you post for sort/pagination, setting the
structs 2 action properties is difficult) other wise it looks simple.
Also I looked at jqGrid using
I recomend jMesa... is very good and is possible to do pagination with
Ajax using limits.
On Wed, 2009-03-25 at 05:37 -0700, mahanare wrote:
FYI,
just recording my experience here.
I looked at displaytag it looks good but if there are some minor changes (it
encodes property names etc so
displayTag is not terrible when working with Struts propertiesthese days.
Remember that you can get to stuff on the value stack via JSTL expressions
as well. Which works well with displayTag.
Mileidys Gonzalez Prieto wrote:
I recomend jMesa... is very good and is possible to do
Hi Andy,
i was always working with my home made paginators, actualy one for S1
and one for S2, one reason is i'm working with no standard database
solutions, and the other that pagination fragment is just a few line
of jsp code that can be included any where in your apps plus some kind
of
One very popular option is DisplayTag (http://www.displaytag.org/).
(*Chris*)
On Wed, Mar 18, 2009 at 11:08 PM, mahanare mahan...@gmail.com wrote:
Hi,
What is the best approach to display database table content page wise using
struts 2?
We used display tag few years back, but there
Hi Adam,
Thanks for your reply. I am doing pagination like this now since I found
that using index to do searching from a range of record is quite fast, much
faster than I thought before. So I just use your suggested solution.
2008/11/30 Adam Ruggles [EMAIL PROTECTED]
Personally I think it
distribution to any party other than intended
recipient. Sender does not necessarily endorse content contained within this
transmission. Date: Mon, 1 Dec 2008 09:40:50 +0800 From: [EMAIL PROTECTED]
To: user@struts.apache.org Subject: Re: Pagination Questions Hi Adam,
Thanks for your reply. I am doing
Personally I think it would be a bad idea to buffer the data from the db,
since most users when performing a search will only look at the first page
of results. It would be better to simply return a limited set of results
from the DB. Otherwise you might be fetching data the user will never
Are you sure there is data on that list? try this on your page
s:property value=employeeList.size() /
musachy
On Mon, May 26, 2008 at 12:53 AM, Varun Deep [EMAIL PROTECTED] wrote:
Request to All
I am using pagination with display tag in struts2. Following is the code
I included in my jsp
Yes, s:property value=employeeList.size() / giving value 8 for this.
-Original Message-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 25, 2008 10:07 PM
To: Struts Users Mailing List
Subject: Re: Pagination problem with struts2,Please Please help me.
Are you sure
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 25, 2008 10:17 PM
To: 'Struts Users Mailing List'
Subject: RE: Pagination problem with struts2,Please Please help me.
Yes, s:property value=employeeList.size() / giving value 8
One of my samples:
%@ taglib prefix=s uri=/struts-tags%
%@ taglib prefix=display uri=http://displaytag.sf.net%
%@ page language=java contentType=text/html; charset=ISO-8859-1
pageEncoding=ISO-8859-1%
%@ taglib prefix=f uri=http://java.sun.com/jsf/core; %
%@ taglib prefix=h
I want the results in google format.Any help would be appreciated.
Thanks,
Aarthy
balart wrote:
Hi Aarthy,
you can use the displaytag to implement the pagination in struts2.
kindly tell that, Pagination as in Google? how, you want the page no in
google format or result in google
Hi Aarthy,
you can use the displaytag to implement the pagination in struts2.
kindly tell that, Pagination as in Google? how, you want the page no in
google format or result in google format.
Regards,'
Bala
Jaarthy wrote:
Hi,
How to implement pagination as in Google in Struts2?Any Help
hi,
I use displaytag (http://displaytag.sourceforge.net). If you can live
without a natively AJAX-enabled pagination library, displaytag is
excellent. I like very much the concept of display Decorators, produces
a very clean design and perfect separation of concerns.
Workarounds exist to
Just thought it's worth pointing out that displaytag does tables, whereas google
search results are actually table-less.
I'd be very interested if anyone knows whether displaytag or any other project
is or will offer a table-less solution.
There are so many extras that would be nice to have
Using displaytag defining a 1-column table, no borders, and the right
Decorator implementation you get your table-less Google.
But OK then you would risk having a Decorator producing HTML, though
this could be avoided by using some template-based framework e.g. velocity.
regards,
Giovanni
Hi Giovanni,
I want the results to be dislayed as they are in the Google Search results
page,not in a table form.Any help please?
Thanks,
Aarthy
Giovanni Azua-3 wrote:
hi,
I use displaytag (http://displaytag.sourceforge.net). If you can live
without a natively AJAX-enabled pagination
hi,
As I said in the previous email. A straightforward way using displaytag
would be defining a one-column table and define a decorator that will
produce the free format you want to produce. If you configure displaytag
to not show borders (look in displaytag css) and also configure the
--- jalal udeen [EMAIL PROTECTED] wrote:
I have to use pagination in jsp so i did it with
logic:iterate tag as follows
One reason you may not be getting an answer is that
this has nothing to do with Struts.
%
String strOffset =0;
if(request.getParameter(pagination)!=null)
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
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
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:
Not unless you want to do something via proxy or a ListAdaptor to your
DataSource.
Extend AbstractList and override methods to load additional items from a
transiently referenced datasource or service that can be looked up.
We use this for our application where we have lots of data that we want
77 matches
Mail list logo