ICEfaces
  1. ICEfaces
  2. ICE-6319

ACE: Complete support for "disabled" attribute on input components

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta2
    • Fix Version/s: 2.0.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      IF 2 Advanced Comps.
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      The level of support for actually disabling the ACE input components when the "disabled=true" attribute is specified varies from component to component currently. This JIRA is to document those components that do not currently implement complete support for the disabled state.

        Issue Links

          Activity

          Hide
          yip.ng added a comment -

          Date Time Entry: only implemented on input field and toggle button.

          File Entry: complete support.

          Slider Entry: only adds a disabled style class ("yui3-slider-disabled") to the containing <span> element.

          Tab Set: no support.

          Checkbox Button: complete support.

          Link Button: no support.

          Push Button: complete support.

          (See ICE-6320 for more details.)

          Show
          yip.ng added a comment - Date Time Entry: only implemented on input field and toggle button. File Entry: complete support. Slider Entry: only adds a disabled style class ("yui3-slider-disabled") to the containing <span> element. Tab Set: no support. Checkbox Button: complete support. Link Button: no support. Push Button: complete support. (See ICE-6320 for more details.)
          Hide
          yip.ng added a comment - - edited

          Checkbox button: disabled property supported in YUI Button class. When set, disabled attribute set in button element and disabled style classes added to ancestor element. See screenshot 1.

          Show
          yip.ng added a comment - - edited Checkbox button: disabled property supported in YUI Button class. When set, disabled attribute set in button element and disabled style classes added to ancestor element. See screenshot 1.
          Hide
          yip.ng added a comment -

          Push button: similar to checkbox button. See screenshot 2.

          Show
          yip.ng added a comment - Push button: similar to checkbox button. See screenshot 2.
          Hide
          yip.ng added a comment -

          Link button: disabled property in YUI Button class has no effect. YUI API doc says it does not apply to buttons of type "link." Likely because the disabled attribute is not applicable to an anchor. HTML spec. says: The following elements support the disabled attribute: BUTTON, INPUT, OPTGROUP, OPTION, SELECT, and TEXTAREA. (No mention of anchor element.)

          Need to find another way to implement this.

          Show
          yip.ng added a comment - Link button: disabled property in YUI Button class has no effect. YUI API doc says it does not apply to buttons of type "link." Likely because the disabled attribute is not applicable to an anchor. HTML spec. says: The following elements support the disabled attribute: BUTTON, INPUT, OPTGROUP, OPTION, SELECT, and TEXTAREA. (No mention of anchor element.) Need to find another way to implement this.
          Hide
          Ken Fyten added a comment -

          Let's create spin-off JIRAs for each component that needs modifications for this, and make the new JIRAs block this one.

          Suggestion is to replace the rendered anchor tag with text/label when the linkButton is disabled.

          Show
          Ken Fyten added a comment - Let's create spin-off JIRAs for each component that needs modifications for this, and make the new JIRAs block this one. Suggestion is to replace the rendered anchor tag with text/label when the linkButton is disabled.
          Hide
          yip.ng added a comment -

          Link button done as per above suggestion. See ICE-6526.

          Show
          yip.ng added a comment - Link button done as per above suggestion. See ICE-6526 .
          Hide
          yip.ng added a comment -

          Date time entry done. See ICE-6528.

          Show
          yip.ng added a comment - Date time entry done. See ICE-6528 .
          Hide
          yip.ng added a comment -

          Slider entry done. See ICE-6533.

          Show
          yip.ng added a comment - Slider entry done. See ICE-6533 .
          Hide
          yip.ng added a comment -

          Tab set done. See ICE-6537.

          Show
          yip.ng added a comment - Tab set done. See ICE-6537 .

            People

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

              Dates

              • Created:
                Updated:
                Resolved: