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 m
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
> H
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"
Shopping
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 AcctActio
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 :
> 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 str
2013/3/3 john lee :
> 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 directly.
>
Redirect instead of forwarding
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2013/3/3 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 acti
10 matches
Mail list logo