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