incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Rozier (JIRA)" <>
Subject [jira] Updated: (ADFFACES-130) Avoid Hardcoding Height and Width Capabilities
Date Wed, 16 Aug 2006 05:28:14 GMT
     [ ]

Joseph Rozier updated ADFFACES-130:

    Status: Patch Available  (was: Open)

> Avoid Hardcoding Height and Width Capabilities
> ----------------------------------------------
>                 Key: ADFFACES-130
>                 URL:
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Joseph Rozier
>            Priority: Minor
> The height and width capabilities of some agents are hard-coded in the agents' capabilities
xml files (located in trinidad-impl\src\main\resources\META-INF\agent).
> In general, we should not hard code the height and width in this manner, particularly
for agents that may have different heights/widths.  For example, currently Pocket IE 2003
is listed as having a height of 255 and a width of 229.  This is very specific to a device
with a screen resolution of 320x240 with Pocket IE running with the default toolbars and in
portrait orientation.  Because all of these are now variable (e.g. the device could be 240x240,
the user could be running in landscape mode or fullscreen, etc), these numbers are fairly
> Instead, we should either rely on information provided in the request or not set these
capabilities at all.  How these values are obtained will be agent specific.
> For Pocket IE and IE Mobile, this information is available in the UA-pixels header. 
Note that (a) the header shows the available pixels, not necessarily the current size of the
window and (b) the agent may update this value as orientation changes (e.g. on a device in
which the user can switch from portrait to landscape).
> For reference, see:
> App Developers should not rely on the height/width being present and, if it is present,
should treat it as a hint.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message