ICEfaces
  1. ICEfaces
  2. ICE-7016

Enhance ace:pushButton to support embedded icon and labels, incl. label positioning

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-2.0.0.GA, 2.0.2
    • Fix Version/s: 2.1-Beta2, 3.0
    • 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.
      1. pushButtonExamples.xhtml
        2 kB
        Arturo Zambrano
      1. horizButton.png
        2 kB
      2. vertButton.png
        1 kB

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26468 Fri Nov 18 12:47:41 MST 2011 ken.fyten ICE-7371 Added pass-thru attribute support to pushButton, linkButton, and checkboxButton
        ICE-7377 ace:pushButton, moved style and class attributes to the button element
        ICE-7016 Added support to ace:pushButton to contain children
        ICE-7207: Add ThemeRoller support to ACE buttons (ace:pushButton, ace:linkButton, ace:checkboxButton)
        ICE-7176 Buttons now do not depend on yui3 or 2in3, but instead YUI 2.8.
        ICE-6970 Adopted Apache 2.0 license source-code headers for ACE source-code.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/pushbutton/PushButtonRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/pushbutton/PushButton.java
        Commit graph ADD /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/pushbutton/background-active.png
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/pushbutton/pushbutton.js
        Commit graph ADD /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/pushbutton/background-disabled.gif
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/pushbutton/PushButtonMeta.java
        Commit graph DEL /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/pushbutton/skins
        Commit graph ADD /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/pushbutton/background-focus.png
        Commit graph ADD /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/pushbutton/background.png
        Commit graph ADD /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/pushbutton/background-highlight.png
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/pushbutton/pushbutton.css

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: