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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: