on 06-22-2008 7:03 AM
Hi,
In the old version i used:
HttpServletRequest req = ((IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();
req.setAttribute(ILoginConstants.LOGON_UID_ALIAS,"X")
I know that i need to use in the new version:
IWDProtocolAdapter adapter=WDProtocolAdapter.getProtocolAdapter();
but how i implement the "set" method ?
Regards,
F.F
Hi F.F,
I owe you an answer from Thursday (-:
IWDProtocalAdapter can be used for getting parameters from iview.
You can use WDScopeUtil class for setting & getting String parameters (It's a "limited" session object - only for Strings).
Javadoc:
Blog:
/people/william.cui/blog/2007/02/12/sharing-session-context-between-parent-and-external-windows-running-on-same-host
Thread:
Regarding the "Logon by code" issue:
You can always use a simple portal component (JSP) like in the following example:
/thread/26477 [original link is broken]
and redirect to your web dynpro (or run the WD and JSP in the same page and running the JSP only when loading the page for the first time).
Hope it helps,
Omri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.