ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-218

Feature Request: Disabled support for Selection Tree

    Details

      Description

      Feature Request: Add the ability for a developer to disable certain checkboxes in a tree node for the selectionTree composite component. This will still render the checkbox but make it not selectable by the user.

        Activity

        Hide
        Philip Breau added a comment -

        Revision: 26215
        Author: philip.breau
        Date: 7:29:59 PM, Friday, February 11, 2011
        Message:
        IPCK-218 support for disabled state of tristate checkbox and selectionTree


        Modified : /icepack/trunk/icepack/composite-components/conf/faces-config.xml
        Modified : /icepack/trunk/icepack/composite-components/conf/tld/icecc.tld
        Added : /icepack/trunk/icepack/composite-components/resources/images/tristatecheckbox/checkbox-dis.gif
        Added disabled support for tristate checkbox and selectionTree components

        Modified : /icepack/trunk/icepack/composite-components/src/com/icesoft/faces/facelets/component/selectiontree/SelectionTreeNodeUserObject.java
        Modified : /icepack/trunk/icepack/composite-components/src/com/icesoft/faces/facelets/component/tristatecheckbox/TriStateCheckbox.java
        Modified : /icepack/trunk/icepack/composite-components/web/selectiontree/selection_tree.xhtml
        Modified : /icepack/trunk/icepack/composite-components/web/tristatecheckbox/triStateCheckbox.xhtml
        Modified : /icepack/trunk/icepack/samples/composite-comps-showcase/src/com/icesoft/faces/facelets/example/selectiontree/NodeUserObject.java
        Modified : /icepack/trunk/icepack/samples/composite-comps-showcase/src/com/icesoft/faces/facelets/example/selectiontree/SelectionTreeExampleBean.java
        Modified : /icepack/trunk/icepack/samples/composite-comps-showcase/web/WEB-INF/includes/examples/composition-components/selectionTreeDemo.jspx
        Modified : /icepack/trunk/icepack/samples/composite-comps-showcase/web/WEB-INF/includes/examples/composition-components/triStateCheckboxDemo.jspx

        Revision: 26217
        Author: philip.breau
        Date: 9:15:04 PM, Friday, February 11, 2011
        Message:
        IPCK-218 support for disabled state of selectionTree nodes


        Modified : /icefaces-ee2/trunk/icefaces-ee/ee-comps/compat-composite-comps/conf/faces-config.xml
        Modified : /icefaces-ee2/trunk/icefaces-ee/ee-comps/compat-composite-comps/conf/tld/icecc.tld
        Added : /icefaces-ee2/trunk/icefaces-ee/ee-comps/compat-composite-comps/resources/images/tristatecheckbox/checkbox-dis.gif
        Modified : /icefaces-ee2/trunk/icefaces-ee/ee-comps/compat-composite-comps/src/com/icesoft/faces/facelets/component/selectiontree/SelectionTreeNodeUserObject.java
        Modified : /icefaces-ee2/trunk/icefaces-ee/ee-comps/compat-composite-comps/src/com/icesoft/faces/facelets/component/tristatecheckbox/TriStateCheckbox.java
        Modified : /icefaces-ee2/trunk/icefaces-ee/ee-comps/compat-composite-comps/web/selectiontree/selection_tree.xhtml
        Modified : /icefaces-ee2/trunk/icefaces-ee/ee-comps/compat-composite-comps/web/tristatecheckbox/triStateCheckbox.xhtml

        Show
        Philip Breau added a comment - Revision: 26215 Author: philip.breau Date: 7:29:59 PM, Friday, February 11, 2011 Message: IPCK-218 support for disabled state of tristate checkbox and selectionTree Modified : /icepack/trunk/icepack/composite-components/conf/faces-config.xml Modified : /icepack/trunk/icepack/composite-components/conf/tld/icecc.tld Added : /icepack/trunk/icepack/composite-components/resources/images/tristatecheckbox/checkbox-dis.gif Added disabled support for tristate checkbox and selectionTree components Modified : /icepack/trunk/icepack/composite-components/src/com/icesoft/faces/facelets/component/selectiontree/SelectionTreeNodeUserObject.java Modified : /icepack/trunk/icepack/composite-components/src/com/icesoft/faces/facelets/component/tristatecheckbox/TriStateCheckbox.java Modified : /icepack/trunk/icepack/composite-components/web/selectiontree/selection_tree.xhtml Modified : /icepack/trunk/icepack/composite-components/web/tristatecheckbox/triStateCheckbox.xhtml Modified : /icepack/trunk/icepack/samples/composite-comps-showcase/src/com/icesoft/faces/facelets/example/selectiontree/NodeUserObject.java Modified : /icepack/trunk/icepack/samples/composite-comps-showcase/src/com/icesoft/faces/facelets/example/selectiontree/SelectionTreeExampleBean.java Modified : /icepack/trunk/icepack/samples/composite-comps-showcase/web/WEB-INF/includes/examples/composition-components/selectionTreeDemo.jspx Modified : /icepack/trunk/icepack/samples/composite-comps-showcase/web/WEB-INF/includes/examples/composition-components/triStateCheckboxDemo.jspx Revision: 26217 Author: philip.breau Date: 9:15:04 PM, Friday, February 11, 2011 Message: IPCK-218 support for disabled state of selectionTree nodes Modified : /icefaces-ee2/trunk/icefaces-ee/ee-comps/compat-composite-comps/conf/faces-config.xml Modified : /icefaces-ee2/trunk/icefaces-ee/ee-comps/compat-composite-comps/conf/tld/icecc.tld Added : /icefaces-ee2/trunk/icefaces-ee/ee-comps/compat-composite-comps/resources/images/tristatecheckbox/checkbox-dis.gif Modified : /icefaces-ee2/trunk/icefaces-ee/ee-comps/compat-composite-comps/src/com/icesoft/faces/facelets/component/selectiontree/SelectionTreeNodeUserObject.java Modified : /icefaces-ee2/trunk/icefaces-ee/ee-comps/compat-composite-comps/src/com/icesoft/faces/facelets/component/tristatecheckbox/TriStateCheckbox.java Modified : /icefaces-ee2/trunk/icefaces-ee/ee-comps/compat-composite-comps/web/selectiontree/selection_tree.xhtml Modified : /icefaces-ee2/trunk/icefaces-ee/ee-comps/compat-composite-comps/web/tristatecheckbox/triStateCheckbox.xhtml
        Hide
        Ken Fyten added a comment -

        Customer has reported the following:

        *****************
        The patch allows us to disable checkboxes now, but when we disable them, they are no longer checked. The idea here is that some users will not be able to change the selections, but see them in a read only sort of mode. So, if a checkbox is checked, and can't be updated by the user, it should appear as checked and disabled.

        We are hoping to have the following states:
        Checked, enabled
        partial, enabled
        unchecked, enabled
        checked, disabled
        partial, disabled
        unchecked, disabled

        We are just missing the two states:
        checked, disabled
        partial, disabled
        *****************

        Show
        Ken Fyten added a comment - Customer has reported the following: ***************** The patch allows us to disable checkboxes now, but when we disable them, they are no longer checked. The idea here is that some users will not be able to change the selections, but see them in a read only sort of mode. So, if a checkbox is checked, and can't be updated by the user, it should appear as checked and disabled. We are hoping to have the following states: Checked, enabled partial, enabled unchecked, enabled checked, disabled partial, disabled unchecked, disabled We are just missing the two states: checked, disabled partial, disabled *****************
        Hide
        Philip Breau added a comment -

        checkboxes can now be disabled, so that the user cannot change the state, but still have their state changed through the bean

        Show
        Philip Breau added a comment - checkboxes can now be disabled, so that the user cannot change the state, but still have their state changed through the bean

          People

          • Assignee:
            Philip Breau
            Reporter:
            Arran Mccullough
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: