[ http://issues.apache.org/jira/browse/ADFFACES-49?page=all ]
Simon Lessard updated ADFFACES-49:
----------------------------------
Status: Resolved (was: Patch Available)
Resolution: Fixed
Applied the patch. Note this patch also enable more features as a "side
effect". You can now use selectors like
af|inputText<state> af|inputText::label {/*...*/}
af|inputText<state> af|inputText::content {/*...*/}
Where valid <state> are
- :required
- :disabled
- :read-only
It's possible that we add more states in the future, like maybe :immediate and
:simple if people ask for it.
The patch was tested outside panelFormLayout, inside panelFormLayout, inside
panelLabelAndMessage and panelHorizontalLayout as well as simple mode.
> Add Skinning Key for controlling style of required fields
> ---------------------------------------------------------
>
> Key: ADFFACES-49
> URL: http://issues.apache.org/jira/browse/ADFFACES-49
> Project: MyFaces ADF-Faces
> Issue Type: Improvement
> Environment: All
> Reporter: Danny Robinson
> Assigned To: Simon Lessard
> Attachments: ADFFACES-49.zip, ADFFACES-49_v2.zip,
> Required_Content_Label.zip
>
>
> Provide the ability to control via the skinning feature the style of required
> input fields. Such an example would be to show the field background colour
> as yellow for required fields, thus making them visually more identifiable.
> To achieve this currently requires you add styleClass or contentStyle
> attributes to the components tag.
> Suggested key would be "af|inputText:required::content" or similar.
> Further evolution of this would be to also allow style control over the
> labels for required fields (eg. af|inputText:required::label).
--
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