Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-2.0.0.GA, 2.0.2
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P1
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
Feature Request: Enhance the ace:pushButton to support embedding both a text label and an image/icon in the clickable button area.
- This can be achieve by rendering the button as an HTML4 <button> tag.
- The component must support controlling the relative positioning of the image and text within the button, and the spacing between the image and the text. Omitting either image or text should also be possible. The positioning and spacing is given in CSS, and the component must support the style and styleClass attributes.
- The button must support an actionListener etc.
- The component must support CSS for styling, and be WAI-ARIA enabled. It must also support the tabindex attribute.
- In addition / alternatively, the pushButton should accept a buttonFacet which could be used to specify arbitrary JSF markup as the button content.
- This can be achieve by rendering the button as an HTML4 <button> tag.
- The component must support controlling the relative positioning of the image and text within the button, and the spacing between the image and the text. Omitting either image or text should also be possible. The positioning and spacing is given in CSS, and the component must support the style and styleClass attributes.
- The button must support an actionListener etc.
- The component must support CSS for styling, and be WAI-ARIA enabled. It must also support the tabindex attribute.
- In addition / alternatively, the pushButton should accept a buttonFacet which could be used to specify arbitrary JSF markup as the button content.
Attached example images.