on 03-19-2015 6:26 AM
Hi Experts,
We are having Portal 7.4 SP6 framework. And I have developed the webdynpro Java application to change the user language locale automatically in English_UK for specific application to run and get supported the content to be rendered.
And here when the user language gets change, the portal session has be refreshed one time at the browser level manually, so that newly portal user can access the application in English_UK locale.
To avoid this manual refresh activity, from Webdynpro java is it possible to refresh the portal session at browser level?
Regards,
Hanif
Hi,
I assume you are actually referring to the limitation described in point 9 of note
http://service.sap.com/sap/support/notes/947081
Best Regards,
Ervin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am not sure this is easily possible.
The issue is a typical limitation from the webdynpro framework side. When the application is called for the first time a session will be created along with the locale which has been provided. Thus this locale will be set as the default session locale for the whole life time of this session. As the webdynpro applications may be accessing the backend systems which are also locale dependent, we need to provide a locale during the access to these backends or the repositories. And due to the technical limitations from all this linked processess, the webdynpro session locale cannot be changed in the current running session. Hence the new locale will only take effect in the next session which
is created. This happens when we logoff & logon from the SAP Portal, or close and open a new browser window when run Standalone.
You can log off from the application using WDClienUser.forcedLogoffClientUser("here comes a URL");
You can try to add as the parameter the same application with the URL extension.
For example: http://abc.com/webdynpro/dispatcher/myvendor.com/myDC/myApp?sap-locale=de_DE is going to use german locale while http://abc.com/webdynpro/dispatcher/myvendor.com/myDC/myApp?sap-locale=en_GB will use english locale.
But that will open the app in standalone mode and not as a portal iView.
How to do this when it comes to a wd java app running in a portal iView I am not sure, perhaps others can tell.
I hope this helps.
Ervin
Any hints in this issue raised....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.