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.
Seems that there is no bridge between Web Dynpro iView and Standard Portal iViews, ways of retrieving Session variables from one to another.
Therefore to solved my issue creating Web Dynpro iView that save the needed value using:
WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE, )
and I can retrieved them from other Web Dynpro applications using the: WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE,..)
Thank you all for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| 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.