[ http://issues.apache.org/jira/browse/ADFFACES-49?page=all ]
Simon Lessard updated ADFFACES-49:
----------------------------------
Attachment: ADFFACES-49.zip
Add :required:label and :required::content for all input components. If a new
input component uses FormInputRenderer and LabelAndMessageRenderer (forn the
simple renderer) as parent renderer classes, this feature will auto-enable
itself on them as well as long as the selector is added to base-desktop.xss
Important note: The patch uses a new intercepted selector list placed in
StyleUtils to add this nifty new feature to Trinidad. This will change in the
future (refer to dev mailing list archive), but for now it's the cleanest way
to implement it and it adds an easy customization option for future states we
want to intercept.
> 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
> Attachments: ADFFACES-49.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