ICEfaces
  1. ICEfaces
  2. ICE-7510

ace:dataTable removed update attributes in favor of ace:ajax

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-Beta2
    • Fix Version/s: 3.0.RC1, 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      IF 3.0
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration

      Description

      onSelect / onEditUpdate etc. have been removed from the component, thus to do an ajax row selection, an ace:ajax tag must be nested in the component.

                      <ace:ajax event="select" render="@this selectForm:status" execute="@this"
                              disabled="#{!dataTableSelector.instantUpdate}"/>

      Row selection reverts to form submit if no ajax tags are nested, or if all the nested "select" ajax tags are disabled.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26590 Fri Nov 25 13:28:32 MST 2011 nils.lundquist ICE-7510 - Removing update attributes in favor of ace:ajax tags.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/renderkit/CoreRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/dataTable/dataTableSelector.xhtml
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableMeta.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26591 Fri Nov 25 13:31:49 MST 2011 nils.lundquist ICE-7510 - Removed debug calls.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableRenderer.java
        Nils Lundquist created issue -
        Nils Lundquist made changes -
        Field Original Value New Value
        Salesforce Case []
        Affects [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration]
        Hide
        Nils Lundquist added a comment -

        Commit in r26590.

        Example in comp-suite shows some odd behavior when dynamically changing the ajax attribute. Changes aren't applied correctly until after next datatable selection.

        Show
        Nils Lundquist added a comment - Commit in r26590. Example in comp-suite shows some odd behavior when dynamically changing the ajax attribute. Changes aren't applied correctly until after next datatable selection.
        Nils Lundquist made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 3.0.RC1 [ 10300 ]
        Fix Version/s 3.0 [ 10241 ]
        Affects Version/s 2.1-Beta2 [ 10294 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26656 Wed Nov 30 15:30:33 MST 2011 nils.lundquist ICE-7510 - Updated examples to use ace:ajax tag.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/dataTable/dataTableListener.xhtml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/dataTable/dataTableRowState.xhtml
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Nils Lundquist
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: