on 02-04-2008 6:32 PM
Hi,
I am working on a scenario where I need the array of values in one view to be used in another view.
Is there a type similar to String array for a value attribute so that I can transfer the values through the attribute.
I also tried declaring a variable in the first view and creating an object of the view to access that particular variable.
Even this didn't work.
Please correct me or let me know any other way to accomplish this.
Version:
NWDS - 7.0.09
SAP NW SP 12
Thank you,
Vasu
You can store any collection (List, Set, Map etc.) in context attributes. In your example, you might use an ArrayList.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vasu,
One simple solutions. Create one context variable in the controller with Type String[] , set it from first view and access it in second view, As it is in the Controller (Global to Views), you can access from any view.
Let me know, if it is not clear.
Regards,
Sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.