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
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
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
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
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
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
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.
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
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
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
10 matches
Mail list logo