ICEfaces
  1. ICEfaces
  2. ICE-8154

Add support for all ace:*Entry components for built-in label, required/optional indicator rendering and positioning

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0.BETA2, 3.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3.1 ace entry components
    • Assignee Priority:
      P1
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      It would be a useful feature if the ace entry components could all render their own labels, as well as Required/Optional indicators, thus completely removing the need to use a separate h:outputLabel component at all in many cases.

      - The "label" attribute will facilitate its use for setting the component name in the default h:message(s) error messages, as well as defining it for rendered label. If no "label" attribute is defined, we do not render any label.

      - Add new "labelPosition" attribute. Supported values are "inField (default) /left/right/top/bottom/none" with "inField" being embedded in the component value region and also the default. If "none" is specified, then the the label text will not be rendered.
        
      - Add new "requiredIndicator" and "optionalIndicator" attributes. When specified, these will be rendered at the "indicatorPosition", requiredIndicator will be rendered if the component "required=true", otherwise the optionalIndicator will be rendered (if specified).

      - Add new "indicatorPosition" attribute which will be used to position the required and optional indicator labels. The supported values for the "indicatorPosition" attribute are "left/right/top/bottom/labelLeft/labelRight/none". If "none" is specified, no indicator will be rendered.

      - Ensure that the label, indicator(s), and input each have their own CSS classes for customization of styles, spacing, etc.

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #29399 Thu Jun 07 18:14:49 MDT 2012 yip.ng ICE-8154: Add support for all ace:*Entry components for built-in label, required/optional indicator rendering and positioning.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/jquery/ui/jquery-ui.js
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/datetimeentry/datetimeentry.js
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/build.xml
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datetimeentry/DateTimeEntryRenderer.java
          Commit graph ADD /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/jquery/ui/readme.txt
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #29307 Tue Jun 05 11:51:59 MDT 2012 yip.ng ICE-8154: Add support for all ace:*Entry components for built-in label, required/optional indicator rendering and positioning.
          Files Changed
          Commit graph ADD /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/datetimeentry/jquery-ui-timepicker-addon.js
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/renderkit/InputRenderer.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datetimeentry/DateTimeEntryRenderer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #29267 Thu May 31 15:01:23 MDT 2012 yip.ng ICE-8154: Add support for all ace:*Entry components for built-in label, required/optional indicator rendering and positioning.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntryRenderer.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/autocompleteentry/autocompleteentry.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #29243 Wed May 30 11:37:49 MDT 2012 yip.ng ICE-8154: Add support for all ace:*Entry components for built-in label, required/optional indicator rendering and positioning.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/css/showcase_styles.css
          Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/textEntry/textEntry.xhtml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #29241 Wed May 30 10:48:30 MDT 2012 yip.ng ICE-8154: Add support for all ace:*Entry components for built-in label, required/optional indicator rendering and positioning.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/maskedentry/maskedentry.js
          Commit graph ADD /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/maskedentry/readme.txt
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #29234 Tue May 29 16:11:25 MDT 2012 yip.ng ICE-8154: Add support for all ace:*Entry components for built-in label, required/optional indicator rendering and positioning.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/maskedentry/maskedentry.js
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/renderkit/InputRenderer.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/maskedentry/MaskedEntryRenderer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #29217 Mon May 28 14:09:24 MDT 2012 yip.ng ICE-8154: Add support for all ace:*Entry components for built-in label, required/optional indicator rendering and positioning.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/textentry/TextEntryRenderer.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntryRenderer.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/textEntry/textEntry.xhtml
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/renderkit/InputRenderer.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/maskedentry/MaskedEntryRenderer.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datetimeentry/DateTimeEntryRenderer.java

            People

            • Assignee:
              yip.ng
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: