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

          Ken Fyten created issue -
          Ken Fyten made changes -
          Field Original Value New Value
          Salesforce Case []
          Fix Version/s 2.1 [ 10241 ]
          Affects [Documentation (User Guide, Ref. Guide, etc.)]
          Ken Fyten made changes -
          Link This issue depends on ICE-6320 [ ICE-6320 ]
          Ken Fyten made changes -
          Link This issue blocks ICE-6199 [ ICE-6199 ]
          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.)
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Yip Ng [ yip.ng ]
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Priority P2
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Priority P2 P3
          yip.ng made changes -
          Attachment screenshot-01.png [ 12830 ]
          yip.ng made changes -
          Attachment screenshot-01.png [ 12830 ]
          yip.ng made changes -
          Attachment screenshot-01.png [ 12831 ]
          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.
          yip.ng made changes -
          Attachment screenshot-02.png [ 12832 ]
          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.
          yip.ng made changes -
          Link This issue depends on ICE-6526 [ ICE-6526 ]
          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 .
          yip.ng made changes -
          Link This issue depends on ICE-6528 [ ICE-6528 ]
          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 .
          yip.ng made changes -
          Link This issue depends on ICE-6533 [ ICE-6533 ]
          Hide
          yip.ng added a comment -

          Slider entry done. See ICE-6533.

          Show
          yip.ng added a comment - Slider entry done. See ICE-6533 .
          yip.ng made changes -
          Link This issue depends on ICE-6537 [ ICE-6537 ]
          Hide
          yip.ng added a comment -

          Tab set done. See ICE-6537.

          Show
          yip.ng added a comment - Tab set done. See ICE-6537 .
          yip.ng made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 2.0.1 [ 10255 ]
          Fix Version/s 2.1 [ 10241 ]
          Ken Fyten made changes -
          Issue Type Improvement [ 4 ] New Feature [ 2 ]
          Salesforce Case []
          Security Private [ 10001 ]
          Ken Fyten made changes -
          Assignee Priority P3
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: