Re: Pagination

2009-05-24 Thread Murugesh
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 thanks murugesh On Mon, May 25, 2009 at 12:15 PM, Lukasz Lenart < lukasz.len...@googlemail.com> wrote: > 2009/5/25 Murugesh

Re: Pagination

2009-05-24 Thread Lukasz Lenart
2009/5/25 Murugesh : > 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: user-unsubscr...@struts.apa

Re: Fwd: Help

2009-05-24 Thread Murugesh
thanks i have successfully implemented this. thanks a lot for responsing. 2009/5/19 Paweł Wielgus > Hi Murugesh, > read about session in HTTP. > > Best greetings, > Paweł Wielgus. > > > 2009/5/19 Murugesh : > > Thanks for reply > > > > like googles gmail, if u try to open 2nd gmail in same bro

Pagination

2009-05-24 Thread Murugesh
Hi cheers, currently i am using belowjsp code to display my list "DataList" details. now i want to add pagination using displaytag 1.2. i have followed some steps but not getting any out put. can any one help me to achieve this? thnaks murugesh

Re: IllegalStateException: Cannot forward. Response already committed.

2009-05-24 Thread Wes Wannemacher
Try turning the page buffer up really high... Like 256k or something obnoxious. It's obviously not a real solution, but it might get you by if you're on a deadline. I would try firing up a debugger and see what is generating the output. Another solution would be to try a different app server. I

Re: how to have an empty result type

2009-05-24 Thread Musachy Barroso
yeah, retuning null also works. musachy On Sun, May 24, 2009 at 2:40 PM, Dave Newton wrote: > Bhaarat Sharma wrote: >> >> Hello, >> >> I am trying to implement http://www.appelsiini.net/projects/jeditable in >> my >> struts2 code. >> >> Problem I am having is that when the user clicks Ok I am go

Re: JSON plugin class loading problem? (Part Deux)

2009-05-24 Thread Dave Newton
Martin Gainty wrote: success.jsp jsonResult /**success.jsp would have logic to accept a ajax response from YourAction*/ The "json" result type writes the response--I'm not sure what a JSP parameter would mean here. Do you have working code configured like this? Dave --

Re: JSON plugin class loading problem? (Part Deux)

2009-05-24 Thread Dave Newton
jim_gre...@fws.gov wrote: I've worked around the problem inconsistent JSON results by removing the root parameter from the JSONResult annotations. It appears that at least I'm getting consistent results this way: @Results( { @Result(name = "jsonPopsResult", type = JSONResult.class, va

RE: JSON plugin class loading problem? (Part Deux)

2009-05-24 Thread Martin Gainty
the success result should look something like.. success.jsp jsonResult /**success.jsp would have logic to accept a ajax response from YourAction*/ the behaviour should be consistent between supplied params in xml and those supplied to the annotati

Re: RequiredString Validation doesn't work and AbstractValidationActionSupport is missing

2009-05-24 Thread Dave Newton
Niklas Johansson wrote: Such a beginner error... But after renaming the validation.xml file to what you specifide, still no error-response when not entering anything in the "heading" field. You'll have to post your original message but so it's readable--the list accepts plain-text emails, most

RE: RequiredString Validation doesn't work and AbstractValidationActionSupport is missing

2009-05-24 Thread Niklas Johansson
Hello Dave, Thanks for your reply. Such a beginner error... But after renaming the validation.xml file to what you specifide, still no error-response when not entering anything in the "heading" field. Sorry for being a bit unspecific for my second question: When extending my action class

Re: how to have an empty result type

2009-05-24 Thread Dave Newton
Bhaarat Sharma wrote: Hello, I am trying to implement http://www.appelsiini.net/projects/jeditable in my struts2 code. Problem I am having is that when the user clicks Ok I am going back to my action, however, I just want my aciton to execute the code necessary to save changes back to the datab

RE: how to have an empty result type

2009-05-24 Thread Qunhuan Mei
Hi Bhaarat, My experience for this requirement is to "return false" for the form submit handling: ... Hope this helps. Qunhuan -Original Message- From: Bhaarat Sharma [mailto:bhaara...@gmail.com] Sent: 24 May 2009 18:38 To: Struts Users Mailing List Subject: how to have an emp

Re: DWRValidator not working in Struts 2.1.6

2009-05-24 Thread j alex
Done - https://issues.apache.org/struts/browse/WW-3138 . I've mentioned about the method name not being picked up as well. Thanks, Joseph On Mon, May 18, 2009 at 11:34 PM, Martin Gainty wrote: > > thats a bug .. > > xwork version 1.2.3 > com.opensymphony.xwork.ActionProxyFactory >public abs

Re: AJAX issues in struts 2.1.6

2009-05-24 Thread j alex
Rajeev, i just took your JSP and made some changes (attached, changes marked with comments) - it renders w/o any errors for me..basically, followed Dave's suggestion of changing s: to sx: HTH Joseph On Sun, May 24, 2009 at 8:10 PM, Dave Newton wrote: > rajeevP wrote: > >> Please help me in thi

RE: JSON plugin class loading problem? (Part Deux)

2009-05-24 Thread Jim_Greuel
I've worked around the problem inconsistent JSON results by removing the root parameter from the JSONResult annotations. It appears that at least I'm getting consistent results this way: @Results( { @Result(name = "jsonPopsResult", type = JSONResult.class, value = "", params = {"noCach

how to have an empty result type

2009-05-24 Thread Bhaarat Sharma
Hello, I am trying to implement http://www.appelsiini.net/projects/jeditable in my struts2 code. Problem I am having is that when the user clicks Ok I am going back to my action, however, I just want my aciton to execute the code necessary to save changes back to the database. I do not want any

Re: RequiredString Validation doesn't work and AbstractValidationActionSupport is missing

2009-05-24 Thread Dave Newton
Niklas Johansson wrote: I did put the RegisterQAForm-validator.xml [...] Can anyone tell me what is the problem? RegisterQAForm-validation.xml My second problem: But it's some problem with the AbstractValidationActionSupport class. Could you be a bit more specific? Dave -

RequiredString Validation doesn't work and AbstractValidationActionSupport is missing

2009-05-24 Thread Niklas Johansson
Hello, I am trying to create my first validation. I have two problems: First one: I want to use Vequieredstring validator. The problem is that my application is not complaining if I do leave the input field empty. Here is my code: reqisterqa.jsp (Only the form is needed here, I assume)

Re: AJAX issues in struts 2.1.6

2009-05-24 Thread Dave Newton
rajeevP wrote: Please help me in this regards. I am facing issues in AJAX as stated before, anybody have sample example for Struts2.1.6 and AJAX, Please send to me. Any kind of help very much appreciated. Expecting some hints and helps.. The JSP you presented originally didn't use the

Re: AJAX issues in struts 2.1.6

2009-05-24 Thread rajeevP
Hi All, Please help me in this regards. I am facing issues in AJAX as stated before, anybody have sample example for Struts2.1.6 and AJAX, Please send to me. Any kind of help very much appreciated. Expecting some hints and helps.. rajeev...@gmail.com, send the examples if anybody have..

Re: I need to set value in the action class

2009-05-24 Thread Dave Newton
Prashant Singh wrote: There are a few ways to do it; here's two. All of these topics are covered in the Struts 2 documentation, which I'd recommend reading before getting too much further into your project. There

I need to set value in the action class

2009-05-24 Thread Prashant Singh
Hi dear, what I am doing is that I have taken out all the products listed under product column in mysql table and have displayed them in a jsp. Now I want to click the product displayed on the jsp and display all the supplier that supply that particular product. Anysuggestions how do i