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 "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org> on 2007/03/16 08:41:26 UTC
[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
[ 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.