cancel
Showing results for 
Search instead for 
Did you mean: 

Screen resolution

Former Member
0 Kudos

Hi,

Is it possible to get the screen resolution from WD?

Thanks,

Aviad

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Unfortunately, it is not possible so far.

Message was edited by:

William Cui

Answers (2)

Answers (2)

Stefan-EA
Contributor
0 Kudos

Can the user's resolution be obtained from the portal (and then passed to WD app)?

Former Member
0 Kudos

Aviad,

As already answered -- no direct way.

But you may do the following: create regular J2EE web application (WAR) with single HTML page, that detect screen size using JavaScript and then automatically redirect browser to WD application, supplying screen resolution as URL parameters.

Valery Silaev

SaM Solutions

http://www.sam-solutions.net

Sigiswald
Contributor
0 Kudos

Hi Aviad,

We also do it like Valery suggests, although we use a KM document embedded in an iView that navigates to another iView that points to a Web Dynpro application (hmm, that doesn't look like the most effective solution...).

BTW, the javascript is very straightforward, you can just use the height and width attributes of the <a href="http://www.w3schools.com/htmldom/dom_obj_screen.asp">HTML DOM Screen Object</a>.

Kind regards,

Sigiswald