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

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Salesforce Case [5007000000FZVHY]
        Arran Mccullough made changes -
        Assignee Brad Kroeger [ brad.kroeger ] Philip Breau [ philip.breau ]
        Philip Breau made changes -
        Summary Feature Request: Add capability to diable checkboxes for selectionTree nodes Feature Request: Disabled support for tri-state checkbox
        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
        Philip Breau made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s EE-2.0.0.Beta1 [ 10254 ]
        Fix Version/s 1.8.2.GA_P03 [ 10253 ]
        Resolution Fixed [ 1 ]
        Philip Breau made changes -
        Summary Feature Request: Disabled support for tri-state checkbox Feature Request: Disabled support for Selection Tree
        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 *****************
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Assignee Priority P2
        Philip Breau made changes -
        Status Reopened [ 4 ] In Progress [ 3 ]
        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
        Philip Breau made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2

          People

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

            Dates

            • Created:
              Updated:
              Resolved: