ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-273

ReadOnly attribute for RichDataGrid and EditableTable

    Details

      Description

      User Scenario: Form fields are not allowed to be edited until the user clicks an Edit button.

      It would be nice to have a disabled feature which would allow the entire editableTable to not be editable and to display as a standard dataTable.

      The current way to do this is to define two editableTable components and use the rendered attribute. One table will have the editable columns defined in it, the other table will have just the <ice-cc:column> components defined.

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Salesforce Case [5007000000G4IYC]
        Ken Fyten made changes -
        Fix Version/s EE-2.1.0 [ 10261 ]
        Fix Version/s 1.8.2.GA_P03 [ 10253 ]
        Assignee Brad Kroeger [ brad.kroeger ] Philip Breau [ philip.breau ]
        Philip Breau made changes -
        Summary Add disabled attribute to editableTable component ReadOnly attribute for RichDataGrid and EditableTable
        Hide
        Philip Breau added a comment -

        I think a readOnly attribute is more appropriate and feasible for the editable tables. When readOnly is set the the table rows will not be editable, and will appear in their unedited state. In the RichDataGrid, when the readOnly attribute is set, the table will still allow other functions, such as sorting, filtering, as well as hiding or showing rows.

        Show
        Philip Breau added a comment - I think a readOnly attribute is more appropriate and feasible for the editable tables. When readOnly is set the the table rows will not be editable, and will appear in their unedited state. In the RichDataGrid, when the readOnly attribute is set, the table will still allow other functions, such as sorting, filtering, as well as hiding or showing rows.
        Hide
        Philip Breau added a comment -

        Completed and checked in for EE-1.8.2GA P03

        Revision: 27665
        Author: philip.breau
        Date: 7:16:05 PM, Thursday, May 12, 2011
        Message:
        IPCK-273 - readOnly attribute for EditableTable and RichDataGrid


        Modified : /icepack/trunk/icepack/composite-components/conf/tld/icecc.tld
        Modified : /icepack/trunk/icepack/composite-components/resources/icecc.tld
        Modified : /icepack/trunk/icepack/composite-components/web/datatable/_createNewRowMenuPanelGroup.xhtml
        Modified : /icepack/trunk/icepack/composite-components/web/datatable/_editableTableRowOps.xhtml
        Modified : /icepack/trunk/icepack/composite-components/web/datatable/_richDataColumnBody.xhtml
        Modified : /icepack/trunk/icepack/composite-components/web/datatable/_richDataColumnOutput.xhtml
        Modified : /icepack/trunk/icepack/composite-components/web/datatable/_richDataGridRowOps.xhtml
        Modified : /icepack/trunk/icepack/composite-components/web/datatable/_richDataRowOpsHeader.xhtml
        Modified : /icepack/trunk/icepack/composite-components/web/datatable/editableTable.xhtml
        Modified : /icepack/trunk/icepack/composite-components/web/datatable/richDataGrid.xhtml
        Modified : /icepack/trunk/icepack/composite-components/web/datatable/selectBooleanColumn.xhtml
        Modified : /icepack/trunk/icepack/composite-components/web/datatable/selectInputDateColumn.xhtml
        Modified : /icepack/trunk/icepack/composite-components/web/datatable/selectOneMenuColumn.xhtml
        Modified : /icepack/trunk/icepack/samples/composite-comps-showcase/src/com/icesoft/faces/facelets/example/editabletable/EditableTableExampleBean.java
        Modified : /icepack/trunk/icepack/samples/composite-comps-showcase/src/com/icesoft/faces/facelets/example/richdatagrid/RichDataGridExampleBean.java
        Modified : /icepack/trunk/icepack/samples/composite-comps-showcase/web/WEB-INF/includes/examples/composition-components/editableTableDemo.jspx
        Modified : /icepack/trunk/icepack/samples/composite-comps-showcase/web/WEB-INF/includes/examples/composition-components/richDataGridDemo.jspx

        Show
        Philip Breau added a comment - Completed and checked in for EE-1.8.2GA P03 Revision: 27665 Author: philip.breau Date: 7:16:05 PM, Thursday, May 12, 2011 Message: IPCK-273 - readOnly attribute for EditableTable and RichDataGrid Modified : /icepack/trunk/icepack/composite-components/conf/tld/icecc.tld Modified : /icepack/trunk/icepack/composite-components/resources/icecc.tld Modified : /icepack/trunk/icepack/composite-components/web/datatable/_createNewRowMenuPanelGroup.xhtml Modified : /icepack/trunk/icepack/composite-components/web/datatable/_editableTableRowOps.xhtml Modified : /icepack/trunk/icepack/composite-components/web/datatable/_richDataColumnBody.xhtml Modified : /icepack/trunk/icepack/composite-components/web/datatable/_richDataColumnOutput.xhtml Modified : /icepack/trunk/icepack/composite-components/web/datatable/_richDataGridRowOps.xhtml Modified : /icepack/trunk/icepack/composite-components/web/datatable/_richDataRowOpsHeader.xhtml Modified : /icepack/trunk/icepack/composite-components/web/datatable/editableTable.xhtml Modified : /icepack/trunk/icepack/composite-components/web/datatable/richDataGrid.xhtml Modified : /icepack/trunk/icepack/composite-components/web/datatable/selectBooleanColumn.xhtml Modified : /icepack/trunk/icepack/composite-components/web/datatable/selectInputDateColumn.xhtml Modified : /icepack/trunk/icepack/composite-components/web/datatable/selectOneMenuColumn.xhtml Modified : /icepack/trunk/icepack/samples/composite-comps-showcase/src/com/icesoft/faces/facelets/example/editabletable/EditableTableExampleBean.java Modified : /icepack/trunk/icepack/samples/composite-comps-showcase/src/com/icesoft/faces/facelets/example/richdatagrid/RichDataGridExampleBean.java Modified : /icepack/trunk/icepack/samples/composite-comps-showcase/web/WEB-INF/includes/examples/composition-components/editableTableDemo.jspx Modified : /icepack/trunk/icepack/samples/composite-comps-showcase/web/WEB-INF/includes/examples/composition-components/richDataGridDemo.jspx
        Philip Breau made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s EE-3.0.0.BETA [ 10325 ]
        Fix Version/s EE-3.0.0.GA [ 10261 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: