Re: chain or redirectAction ResultType

2011-05-31 Thread Sachin Lale
without changing client's browser url. i have not seen a formal argument of the bad of it (or i forgot) but what i have observed is that the user may hit Reload on browser and get unexpected behavior for both the user and developer On Tue, May 31, 2011 at 5:13 AM, Sachin Lale wrote: Hi,

chain or redirectAction ResultType

2011-05-30 Thread Sachin Lale
Hi, I am migrating an application from struts1.1 to struts 2.2.3. I have two action 1. InstitutuionAction : The purpose is to prepare the data required to display and then forward to a Institution.JSP (using tiles) 2. InstitutionAddEditAction: This action exposed two methods insert,

Re: Struts2 resource property and dynamic population of action in jsp file

2011-05-27 Thread Sachin Lale
as OGNL in setting form action. Best regards, Sachin On 27-05-2011 20:30, Dave Newton wrote: On Fri, May 27, 2011 at 10:40 AM, Sachin Lale wrote: 1. In Jsp while displaying text box and i want this to populate from ApplicationResource.properties file. I did this be adding getText() method like

Struts2 resource property and dynamic population of action in jsp file

2011-05-27 Thread Sachin Lale
Hi, I have two questions: 1. In Jsp while displaying text box and i want this to populate from ApplicationResource.properties file. I did this be adding getText() method like below. Is this the only way? 2. I want the 'action' property of s:form tag to be populated dynamically. For this i

Re: Upgrading Struts 1.1 to Struts 2 with tiles

2011-05-27 Thread Sachin Lale
I solve this problem by creatig duplicate tiles.xml (tiles 2 configuration) which will be used by Struts2 and the other tiles-defs by struts1. The other change i have to made is to duplicate my layout.jsp for tiles 2. And then every thing is working fine. On 24-05-2011 23:29, Sachin Lale

Re: Upgrading Struts 1.1 to Struts 2 with tiles

2011-05-24 Thread Sachin Lale
48) > com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263) > > > > After couple of search i found there is a struts1 -tiles2 plugin > available but it seems to be compatible with struts1.3. > > Any help or pointer would be helpful. > Thanks in advance > > Best regards, > Sachin Lale

Upgrading Struts 1.1 to Struts 2 with tiles

2011-05-23 Thread Sachin Lale
to be compatible with struts1.3. Any help or pointer would be helpful. Thanks in advance Best regards, Sachin Lale