Struts2 + jQuery issue action methods called twice.

2011-09-13 Thread satyanarayana katta
We are trying to use the struts2 with jQuery (jQgrid + jQuery UI components) and not the struts jQuery plug-in. We are using the json-default . Found that the struts methods are being called twice. Has any one faced this issue before? Regards, Satya

Re: Struts2 + jQuery issue action methods called twice.

2011-09-13 Thread satyanarayana katta
Resolved the issue. My actuon method was getXxx() and json plugin was causing the issue. Look at the post below. http://stackoverflow.com/questions/6061709/struts2-action-being-called-twice-if-result-type-is-json Sent from my iPhone On Sep 13, 2011, at 8:36 AM, satyanarayana katta saty.pra

Re: JSON Plugin - my execute method is being called twice

2011-03-14 Thread satyanarayana katta
Check if the action is submitted twice! If you are using js submit of the form explicitly and form tag also has the same action configured. Sent from my iPhone On Mar 14, 2011, at 6:45 PM, fr...@meruvian.org wrote: We got current json plugins also have problem parse json I think the json

Re: Struts2 jQuery Plugin Issue on Websphere 6.1

2011-01-26 Thread satyanarayana katta
My bad. Realized it's not an issue with showcase example but with convention plugin on websphere 6.1. Sent from my iPhone On Jan 25, 2011, at 7:51 PM, satyanarayana katta saty.pra...@gmail.com wrote: Hi, I was trying the Struts2 jQuery Plugin(struts2-jquery-showcase-2.5.1) showcase

Struts2 jQuery Plugin Issue on Websphere 6.1

2011-01-25 Thread satyanarayana katta
Hi, I was trying the Struts2 jQuery Plugin(struts2-jquery-showcase-2.5.1) showcase example on Websphere 6.1 and was not able to load the index.jsp. Getting the following error. [1/25/11 19:49:41:709 PST] 001c ServletWrappe I SRVE0242I: [struts2-jquery-showcase-2.5.1EAR] [/jquery]

Re: checkbox problem

2010-10-26 Thread satyanarayana katta
R u by any chance creating the new list in the action class. If so it won't work and u will get null. Sent from my iPhone On Oct 26, 2010, at 10:23 AM, Peter Bliznak pbliz...@gmail.com wrote: Opps...damn gmail. As I've said I am using pretty much same approach as it was suggested above

Re: IE7 abruptly closes with struts 2.1.7

2010-07-26 Thread satyanarayana katta
Thanks for the reply. We don't see any issues at the bak end. The IE just closes abruptly. These r intranet apps and support only IE7 right now. We see this happening only for certain set of users. Regards, Satya Sent from my iPhone On Jul 26, 2010, at 6:49 AM, Martin Gainty

IE7 abruptly closes with struts 2.1.7

2010-07-20 Thread satyanarayana katta
Hi, We are using struts 2.1.7 with dojos for our application. Sometimes the Ie7 abruptly closes leaving no traces what so ever. Has any one faced this issue earlier? Sent from my iPhone - To unsubscribe, e-mail:

Re: How to modify Struts2 start up process.

2010-07-14 Thread satyanarayana katta
See if ur web.XML has the spring configuration configured twice. We faced the same issue before Sent from my iPhone On Jul 13, 2010, at 11:42 AM, hisameer cool_sameer_fo...@yahoo.com wrote: - To unsubscribe, e-mail:

Re: How to modify Struts2 start up process.

2010-06-26 Thread satyanarayana katta
Using the application level spring container would be sufficient with init method set. Sent from my iPhone On Jun 25, 2010, at 11:36 AM, hisameer cool_sameer_fo...@yahoo.com wrote: Hi, I am using Struts2.1.6+Spring2.5.6+Hibernate+JPA in my web application. The application server is

Re: IMPORTANT Call action on application deploy, like servlet with load-on-startup (Struts 2)

2010-06-23 Thread satyanarayana katta
If u have used spring in ur application then u can use the init-method. Here is how it works You can configure your war to load the spring upon app start-up. The init method will auomatically get invoked. Sent from my iPhone On Jun 23, 2010, at 11:03 AM, Oscar oscar.kalde...@gmail.com

Re: Page composition strategy

2010-06-22 Thread satyanarayana katta
U should try tiles for this Sent from my iPhone On Jun 22, 2010, at 10:03 AM, Antonio S. inganto...@gmail.com wrote: Hello. I'm a beginner in web development with Struts2 and I'm planning the structure of my application. Let me tell you my problem. With 'page composition strategy' I

Re: same bean multiple fields

2010-06-08 Thread satyanarayana katta
One way to have hidden variables for the remaining fields under the same form and by default all the fo fields get submitted Sent from my iPhone On Jun 8, 2010, at 1:05 AM, Upasana Sharma sharma...@gmail.com wrote: Thanks for ur reply... by i m using struts 2.0... 2010/6/8 Paweł Wielgus

Re: Encrypting parameters

2010-06-03 Thread satyanarayana katta
How any keeping some basic Ida I'm session and verifying against the incoing request to ensure that no corruption has happened Sent from my iPhone On Jun 3, 2010, at 12:27 AM, Stephane Cosmeur cosm...@gmail.com wrote: Thank you for your answers. they are useful but not quite appropriate

Re: Webapp runs under Windows, throws OGNL error under Linux

2010-04-12 Thread satyanarayana katta
Issue with logger. Suppress the messages at the logger level will resolve the issue. Sent from my iPhone On Apr 12, 2010, at 7:46 AM, RogerV roger.var...@googlemail.com wrote: Just to prove to myself that I'm not going mad, I've added a System.out.println message to the method that Ognl

Param Interceptor - Unable to save the data for Map of Lists

2010-01-06 Thread satyanarayana katta
Hi, Struts Version - 2.1.7 We have an issue with the MapString, ListObject. Here is the scenario, we are displaying the data from the List on the UI as the text fields. When a user changes and submits the form, the form data has to be saved. We are able to display the data from the List onto

Re: Invoking multiple webservices from Action

2009-05-18 Thread satyanarayana katta
In big enterprises everything is not controlled by one group. There will be a big legacy out there. It is not just one or two webservices you call to get the data. In our case, we had call around 12 webservices. Whatever kind of optimization you do, it is difficult to beat what we can get out

Re: Invoking multiple webservices from Action

2009-05-17 Thread satyanarayana katta
You can choose to write your own threading mechanism to invoke the webservices in parallel. That is what we do. We are using FJTask, which has a neater Fork and join mechanism for invoking the threads in parallel. On Sun, May 17, 2009 at 11:38 AM, sid5 siddharthchha...@hotmail.com wrote: hi

Re: Please help! Struts 2/Eclipse - List Object is not displaying in JSP

2009-05-08 Thread satyanarayana katta
Take a close look at your getAllEmployees()method. You have declared the list with same name myList, which is a local variable. You need to either call setList and pass this or use the samelist. public String getAllEmployees() { //remove the ListString ListString

Re: NoSuchPropertyException Warining.

2009-05-08 Thread satyanarayana katta
supress warn in the logger package you are using for this speicific package. It should work. On Fri, May 8, 2009 at 7:56 AM, Siddiq Syed siddiq...@yahoo.com wrote: Hi all, I want to avoid the waring displayed in the consloe when passing the attributes in the redirect action. Below is the

Re: Issue in Action Chaining

2009-04-22 Thread satyanarayana katta
: http://struts.apache.org/2.1.6/docs/parameters-in-configuration-results.html Nils-H On Wed, Apr 22, 2009 at 6:36 AM, satyanarayana katta saty.pra...@gmail.com wrote: Hi All, I have a Action class class BaseAction extends ActionSupport { private Sting data; public void

Re: Issue in Action Chaining

2009-04-22 Thread satyanarayana katta
at 10:22 PM, satyanarayana katta saty.pra...@gmail.com wrote: Hi Wesw, Thanks for the reply. Yes, I meant to say testChain(). Thanks for that. So, how is the old data being retained. Does it take it from the http request and recreates the new instance? If that is the case, what other options

Issue in Action Chaining

2009-04-21 Thread satyanarayana katta
Hi All, I have a Action class class BaseAction extends ActionSupport { private Sting data; public void getData() { return this.data; } public String setData(String data){ this.data = data; } } class Action extends BaseAction{ public String execute() throws

Re: Issue in Action Chaining

2009-04-21 Thread satyanarayana katta
? Thanks Satya On Tue, Apr 21, 2009 at 9:55 PM, Wes Wannemacher w...@wantii.com wrote: On Wednesday 22 April 2009 00:36:36 satyanarayana katta wrote: Hi All, I have a Action class class BaseAction extends ActionSupport { private Sting data; public void getData

Re: s:datetimepicker

2009-04-11 Thread satyanarayana katta
Which version of struts are you using? If you using 2.1.6 and above, you need to have the struts-dojo lib and there is a tag include with sx: you need to use sx:datetimepicker It is something like struts extensions. You also need to include this..sx:head debug=true cache=false compressed=false

Struts 2.1.6 DateTimePicker

2009-03-31 Thread satyanarayana katta
Hi All, Does DateTimePicker has any way to disable a particular date or set of dates? I didn't find any parameters in the tag. I was looking at Dojo DatePicker and has parameter isDisabledDate. Don't we have something like that in sx:datetimepicker? For now I have used the DatePicker from the

Re: Issue with the Browser Cache

2009-03-30 Thread satyanarayana katta
You can download and run my simple app to see how it works, the link is in the bottom of post. http://poulwiel.blogspot.com/2009/01/browser-back-button-and-caching-problem.html Best greetings, Paweł Wielgus. 2009/3/27 satyanarayana katta saty.pra...@gmail.com: Hi All, We are developing

Issue with the Browser Cache

2009-03-27 Thread satyanarayana katta
Hi All, We are developing an application with Struts 2.1.6 and tiles 2.0.6. We don't want the browser to cache the pages. I tried all the options and still the browser is caching the pages and when I hit the back button the page gets loaded. Tried Options 1. Wrote an interceptor and added