Re: Only one Object gets initialized in action class?

2013-03-03 Thread Lukasz Lenart
What do you mean by initialised? S2 can create objects if they have default constructor and then S2 can apply request params onto corresponded fields (if setters were defined) of these objects. So whit your example all these three object must have default constructors in place and all the fields

Re: Inconsistency in Struts2 s:component parameters handling

2013-03-03 Thread Lukasz Lenart
Finally I have had some time to check that and the problem is in UIBean#escape(String) method, line 884, which will return instead null if provided String is null. Please register an issue for that. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2012/12/6 Thim Anneessens

Re: Only one Object gets initialized in action class?

2013-03-03 Thread Mohit Gupta
By initialization i mean when i hit the url stated in my example, i should be able to see below objects should be initialized in my action class customerData object should be initialized with custName as Scott customerAddress object should be initialized with street1 as Escort Avenue

Re: Only one Object gets initialized in action class?

2013-03-03 Thread jaikar gupta
Do you have public setter/getter for your private member varibale in your Action Class private CustomerData customerData=null private CustomerAddress customerAddress=null; private ShoppingDetail shoppingDetail=null; Thanks Regards keepFaith, Jaikar Gupta On Sun, Mar 3, 2013 at 3:06 PM, Mohit

Truncate namespace while forwarding the request to legacy action from struts 2?

2013-03-03 Thread Mohit Gupta
Folks i have a scenario where i need to forward the request from struts 2 action to legacy action class which is not struts 2.Here is my flow JSP---Action1(Struts 2 action under customer namespace)---Action2(Non Struts 2 Action)---ResultJSP. Here is my result annotation which actually forwards

struts2/spring Parameter is on the excludeParams list of patterns!

2013-03-03 Thread john lee
The input    http://localhost:8080/ecommerce/login.jsp The Output     login is succcese Sun Mar 03 01:01:16 CST 2013 problem    login.jsp-loginAction-struts.xml-applicationContext.xml-loginAction-neuco.AcctAction-inject   acctsmgr-….-     but  in the

Re: Struts2 Jquery Grid pagination is not working

2013-03-03 Thread Arun Bansal
Thanks for your valuable comments about my question. But i want to tell that my grid is perfectly populated with desired records but only pagination in not working, means if it should show 100  records it is showing butpager's next forward  button become disabled as soon as the grid populates.

Re: Only one Object gets initialized in action class?

2013-03-03 Thread Lukasz Lenart
2013/3/3 Mohit Gupta motgu...@gmail.com: By initialization i mean when i hit the url stated in my example, i should be able to see below objects should be initialized in my action class customerData object should be initialized with custName as Scott customerAddress object should be

Re: struts2/spring Parameter is on the excludeParams list of patterns!

2013-03-03 Thread Lukasz Lenart
2013/3/3 john lee sh_thorn_b...@yahoo.com: The input http://localhost:8080/ecommerce/login.jsp Wrong login.jsp-loginAction-struts.xml-applicationContext.xml-loginAction-neuco.AcctAction-inject acctsmgr-….- The flow is wrong, you should never omit action and expose jsp

Re: Truncate namespace while forwarding the request to legacy action from struts 2?

2013-03-03 Thread Lukasz Lenart
Redirect instead of forwarding Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/3/3 Mohit Gupta motgu...@gmail.com: Folks i have a scenario where i need to forward the request from struts 2 action to legacy action class which is not struts 2.Here is my flow