on ‎2008 Feb 25 6:42 PM
Hi,
Using Web Dynpro for Java, how can I retrieve from Http Session one attribute setup by a standard Java app?
The value was setup like this:
IPortalComponentSession compSession = request.getComponentSession();
//where IPortalComponentRequest request
javax.servlet.http.HttpSession thisHttpSession = null;
thisHttpSession = compSession.getHttpSession();
thisHttpSession.setAttribute("myvalue","test");
Request clarification before answering.
No, this doesnt work.
Where can I store then global name/values that need to be used by other Web Dynpro iView and Standard Portal iViews?
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Corina,
The WD framework has been designed to store the session data in the Component controller. Map your views data to the Component controller and access the component controller's data in the second view by making similar mapping. For more details refer to the following tutorial.
Thanks!
Surya.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.