incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Rozier (JIRA)" <>
Subject [jira] Created: (ADFFACES-134) Change the Default Size Attribute for Input Text Fields on BlackBerry Browser
Date Wed, 16 Aug 2006 14:30:13 GMT
Change the Default Size Attribute for Input Text Fields on BlackBerry Browser

                 Key: ADFFACES-134
             Project: MyFaces ADF-Faces
          Issue Type: Improvement
         Environment: BlackBerry Browser 4.0
            Reporter: Joseph Rozier
            Priority: Minor

The BlackBerry Browser does not handle the "size" attribute on an input type="text" field
correctly.  It tends to add much more space for the field than necessary.

The following shows the actual number of capital M's that can fit in the visible area of the
input text field when the size specified (using the default font/browser settings)

size=3, BlackBerry 7290=5, BlackBerry 8700=7
size=6, BlackBerry 7290=10, BlackBerry 8700=12
size=10, BlackBery 7290=16, BlackBerry 8700=18

However, I've found that the actual number of characters allows varies widely depending on
the device, font chosen by the user, font size chosen by the user, and font-size specified
by the skin/style.

This is primarily an issue on the BlackBerry Browser because of limited screen real estate.
 Compounding this is the fact that the BlackBerry Browser is not horizontally scrollable,
so extra wide fields can throw layouts off (as the BlackBerry Browser will wrap the cells
in a table row onto multiple lines if the width is too long).

I propose modifying the default size attribute for the input type="text" fields rendered.
 (For example, trinidad-impl\src\main\java\org\apache\myfaces\trinidadinternal\renderkit\core\xhtml\
has hard-coded default input type="text" sizes for the desktop of 30 and the pda of 11; I'd
set the default to 6 for the BlackBerry Browser.)

Because of the variability of size attribute to actual display value, I do NOT propose automatically
adjusting the tr:inputText columns attribute the user specifies, if any.

Note that the textarea cols attribute is handled correctly on the BlackBerry Browser and does
NOT need adjustment.

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