You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Simon Lessard (JIRA)" <ad...@incubator.apache.org> on 2006/07/13 13:26:29 UTC

[jira] Created: (ADFFACES-62) selectBooleanCheckbox and selectBooleanRadio text attribute uses wrong style class

selectBooleanCheckbox and selectBooleanRadio text attribute uses wrong style class
----------------------------------------------------------------------------------

         Key: ADFFACES-62
         URL: http://issues.apache.org/jira/browse/ADFFACES-62
     Project: MyFaces ADF-Faces
        Type: Improvement

    Reporter: Simon Lessard


Currently the span generated for the text attribute of selectBooleanCheckbox  and selectBooleanRadio component uses .AFLabelText that may sounds semantically correct. However, for most usage this is a bad choice as it prevent the very common different background color between the label and field side of a form since text attribute is rendered on the field side.

I suggest to use .AFFieldText class instead or provide new hooks for those components that could be something like af|selectBooleanCheckbox::text

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (ADFFACES-62) selectBooleanCheckbox and selectBooleanRadio text attribute uses wrong style class

Posted by "Simon Lessard (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-62?page=all ]

Simon Lessard closed ADFFACES-62.
---------------------------------

    Resolution: Invalid

It's possible to create a form with label side using a different color than field side using af|panelForm::cell and panelForm::label-cell selectors. The case causing problem was when the selectBoolean was used within a panelBox with very specific skin configuration. However, as soon as the -inhibit instruction get supported, the issue will be easily resolved without any other changes to the selectBoolean components.

Also, changing the class used by the selectBoolean's text attribute could lead ot other problems. For example, if the user wanted to have all inputs use yellow background, the text would inherit that property as well, resulting in a very strange look on the user agent.

> selectBooleanCheckbox and selectBooleanRadio text attribute uses wrong style class
> ----------------------------------------------------------------------------------
>
>                 Key: ADFFACES-62
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-62
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Simon Lessard
>            Priority: Minor
>
> Currently the span generated for the text attribute of selectBooleanCheckbox  and selectBooleanRadio component uses .AFLabelText that may sounds semantically correct. However, for most usage this is a bad choice as it prevent the very common different background color between the label and field side of a form since text attribute is rendered on the field side.
> I suggest to use .AFFieldText class instead or provide new hooks for those components that could be something like af|selectBooleanCheckbox::text

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (ADFFACES-62) selectBooleanCheckbox and selectBooleanRadio text attribute uses wrong style class

Posted by "Simon Lessard (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-62?page=all ]

Simon Lessard updated ADFFACES-62:
----------------------------------

    Priority: Minor  (was: Major)

> selectBooleanCheckbox and selectBooleanRadio text attribute uses wrong style class
> ----------------------------------------------------------------------------------
>
>          Key: ADFFACES-62
>          URL: http://issues.apache.org/jira/browse/ADFFACES-62
>      Project: MyFaces ADF-Faces
>         Type: Improvement

>     Reporter: Simon Lessard
>     Priority: Minor

>
> Currently the span generated for the text attribute of selectBooleanCheckbox  and selectBooleanRadio component uses .AFLabelText that may sounds semantically correct. However, for most usage this is a bad choice as it prevent the very common different background color between the label and field side of a form since text attribute is rendered on the field side.
> I suggest to use .AFFieldText class instead or provide new hooks for those components that could be something like af|selectBooleanCheckbox::text

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira