[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Client configuration settings to the server  XML
Forum Index -> Development
Author Message
kabat

Power User

Joined: 10/12/2007 10:12:44
Messages: 78
Offline

Hi,

is there any possibility to get the information about the client configuration?
In our case we need information about the orientation (LTR/RTL). Dependant on that we have to set different icons.

Thanks, Agnes
krinninger

Power User

Joined: 17/11/2008 21:19:41
Messages: 567
Offline

Hello,

the session holds some attributes, among other things also the client orientation you are looking for.
you can fetch it by following code.

Code:
 HttpServletRequest request = HttpSessionAccess.getCurrentRequest();
 String orientation = request.getHeader("eclnt-orientation");
 


i hope this helped you.

Greetings,
Michael
kabat

Power User

Joined: 10/12/2007 10:12:44
Messages: 78
Offline

Yes, thank you! This was a good hint.

Agnes
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team