ICEfaces
  1. ICEfaces
  2. ICE-8214

ace:dataTable - entire form is updated on first row selection

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0.BETA1
    • Fix Version/s: 3.1.0.BETA2, 3.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3.1.0 BETA1, trunk (Built 04/06/2012)
    • Assignee Priority:
      P1

      Description

      When using the ace:ajax tag for the select event of the ace:dataTable, the first row selections update contains the entire form as the update. Subsequent selections have just the updates table row elements. This occurs when using the following ace:ajax tag:

      <ace:ajax event="select" render="@form" execute="@this"/>

        Activity

        Arran Mccullough created issue -
        Hide
        Arran Mccullough added a comment -

        Attached test case that shows the behavior.

        Show
        Arran Mccullough added a comment - Attached test case that shows the behavior.
        Arran Mccullough made changes -
        Field Original Value New Value
        Attachment Case11309Example.war [ 14518 ]
        Attachment Case11309Example.zip [ 14519 ]
        Arran Mccullough made changes -
        Assignee Ted Goddard [ ted.goddard ]
        Arran Mccullough made changes -
        Salesforce Case [5007000000MH3co]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29322 Tue Jun 05 15:32:44 MDT 2012 ted.goddard suppress text outside of component subtree during subtree rendering (ICE-8214)
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/context/DOMResponseWriter.java
        Ken Fyten made changes -
        Fix Version/s 3.1.0.BETA2 [ 10336 ]
        Fix Version/s 3.1 [ 10312 ]
        Assignee Priority P1
        Hide
        Ted Goddard added a comment -

        mojarra FormRenderer renders a newline just prior to rendering the form tag:

        writer.write('\n');
        writer.startElement("form", component);

        DOM subtree rendering cannot process text outside a seeked subtree, so this will now be suppressed.

        Show
        Ted Goddard added a comment - mojarra FormRenderer renders a newline just prior to rendering the form tag: writer.write('\n'); writer.startElement("form", component); DOM subtree rendering cannot process text outside a seeked subtree, so this will now be suppressed.
        Hide
        Ted Goddard added a comment -

        Please test with the latest trunk and mark closed if fixed.

        Show
        Ted Goddard added a comment - Please test with the latest trunk and mark closed if fixed.
        Ted Goddard made changes -
        Assignee Ted Goddard [ ted.goddard ] Arran Mccullough [ arran.mccullough ]
        Hide
        Arran Mccullough added a comment -

        Testing the latest trunk the first row selection is no longer updating the entire form in the update. It is consistent with the other row selections.

        Show
        Arran Mccullough added a comment - Testing the latest trunk the first row selection is no longer updating the entire form in the update. It is consistent with the other row selections.
        Arran Mccullough made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: