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/31 17:54:13 UTC

[jira] Created: (ADFFACES-97) af|input*:disabled::label with a property already defined af|panelForm::label-cell won't have any effect if the input component is placed inside a panelForm

af|input*:disabled::label with a property already defined af|panelForm::label-cell won't have any effect if the input component is placed inside a panelForm
------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: ADFFACES-97
                 URL: http://issues.apache.org/jira/browse/ADFFACES-97
             Project: MyFaces ADF-Faces
          Issue Type: Bug
            Reporter: Simon Lessard
            Priority: Minor


If you place any of the <af:input*> or <af:select*> component inside a panelForm and use a personalized skin specifying the af|input*:disabled::label selectors, then style properties already defined by both af|panelForm::label-cell and af|input*:disabled::label will have an undefined result (depends on the CSS selector ordering).

Theorically, the highest priority selector in that case should be af|input*:disabled::label.

This bug occurs because the markup generated for an inputText (or any other input component) inside a panelForm place both style class on the same component, e.g. 
<td class="af|inputText:disabled::label af|panelForm::label-cell">
  <label>The label</label>
</td>

To fix the bug, the af|inputText:disabled::label style class should be applied to the label element itself rather than the cell, for instance
<td class="af|panelForm::label-cell">
  <label class="af|inputText:disabled::label">The label</label>
</td>

-- 
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-97) af|input*:disabled::label with a property already defined af|panelForm::label-cell won't have any effect if the input component is placed inside a panelForm

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

Pierre-Luc Archambault updated ADFFACES-97:
-------------------------------------------

    Attachment: Before_modif_panelFormLayout.JPG
                after_modif_panelFormLayout.JPG

> af|input*:disabled::label with a property already defined af|panelForm::label-cell won't have any effect if the input component is placed inside a panelForm
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-97
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-97
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>            Reporter: Simon Lessard
>            Priority: Minor
>         Attachments: after_modif_panelFormLayout.JPG, Before_modif_panelFormLayout.JPG
>
>
> If you place any of the <af:input*> or <af:select*> component inside a panelForm and use a personalized skin specifying the af|input*:disabled::label selectors, then style properties already defined by both af|panelForm::label-cell and af|input*:disabled::label will have an undefined result (depends on the CSS selector ordering).
> Theorically, the highest priority selector in that case should be af|input*:disabled::label.
> This bug occurs because the markup generated for an inputText (or any other input component) inside a panelForm place both style class on the same component, e.g. 
> <td class="af|inputText:disabled::label af|panelForm::label-cell">
>   <label>The label</label>
> </td>
> To fix the bug, the af|inputText:disabled::label style class should be applied to the label element itself rather than the cell, for instance
> <td class="af|panelForm::label-cell">
>   <label class="af|inputText:disabled::label">The label</label>
> </td>

-- 
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-97) af|input*:disabled::label with a property already defined af|panelForm::label-cell won't have any effect if the input component is placed inside a panelForm

Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/ADFFACES-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated ADFFACES-97:
---------------------------------------

    Affects Version/s: 1.0.1-incubating-core-SNAPSHOT

> af|input*:disabled::label with a property already defined af|panelForm::label-cell won't have any effect if the input component is placed inside a panelForm
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-97
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-97
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>    Affects Versions: 1.0.1-incubating-core-SNAPSHOT
>            Reporter: Simon Lessard
>            Priority: Minor
>         Attachments: after_modif_panelFormLayout.JPG, Before_modif_panelFormLayout.JPG
>
>
> If you place any of the <af:input*> or <af:select*> component inside a panelForm and use a personalized skin specifying the af|input*:disabled::label selectors, then style properties already defined by both af|panelForm::label-cell and af|input*:disabled::label will have an undefined result (depends on the CSS selector ordering).
> Theorically, the highest priority selector in that case should be af|input*:disabled::label.
> This bug occurs because the markup generated for an inputText (or any other input component) inside a panelForm place both style class on the same component, e.g. 
> <td class="af|inputText:disabled::label af|panelForm::label-cell">
>   <label>The label</label>
> </td>
> To fix the bug, the af|inputText:disabled::label style class should be applied to the label element itself rather than the cell, for instance
> <td class="af|panelForm::label-cell">
>   <label class="af|inputText:disabled::label">The label</label>
> </td>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.