on 08-31-2006 11:49 PM
Hi,
Webdynpro session variable should not be used, as it will be the violation fo rule Webdynpro inner classes should not be used.
Whats the way to put data in cache for a user. I have 8 different projects and deployed on Portal and used as webdynpro iViews.
Now for the logged in user, how to maintain data in cache, so that no need to access the data again from database for the same queries.
Hi Naveen,
Check my solution: /people/maksim.rashchynski/blog/2006/08/07/intercomponent-parameters-exchange
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maksim,
This solution looks for DC aproach, I am using Non-DC approach.
Any suggestion, hwo to maintain session in WebDynpro using non-DC approach?
I wnat to use login proxy for different aplictaions under different project structures.
else:-Once I intialize the proxy , how to reuse the same proxy object across the projects structures?
Message was edited by: Nav
Hi, I am trying to get WD Session with the following code in 2004s:-
HttpServletRequest request = ((IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();
HttpSession session = request.getSession(true);
String sessionId = session.getId();
It gives compilation error for IWebContextAdapter interface, as its not found.
__________
How to get the session?
Or, how to put some object to be shared across projects structures for different applications in Non-DC approach?
Message was edited by: Nav
Nav,
<a href="https://media.sdn.sap.com/javadocs/NW04s/SPS7/wd/com/sap/tc/webdynpro/services/sal/adapter/api/IWDWebContextAdapter.html">IWDWebContextAdapter</a> is deprecated. Instead, use <a href="https://media.sdn.sap.com/javadocs/NW04s/SPS7/wd/com/sap/tc/webdynpro/services/sal/adapter/api/IWDProtocolAdapter.html">IWDProtocolAdapter</a> to access the protocol abstraction of the current request-response-cycle. Check, if <a href="https://media.sdn.sap.com/javadocs/NW04s/SPS7/wd/com/sap/tc/webdynpro/services/sal/adapter/api/IWDWebContextAdapter.html#getRequestParameter(java.lang.String)">getRequestParameter</a> helps you in getting the parameters.
Bala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.