ICEfaces
  1. ICEfaces
  2. ICE-10879

input fields not updated on Ajax update unless they are also "executed"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03
    • Fix Version/s: EE-4.1.0.GA, EE-3.3.0.GA_P04
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      All, ACE, MOBI
    • Assignee Priority:
      P1
    • Support Case References:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      It works if you include the comp id in the execite attribute:
      execute="@this bodyTextarea" render="bodyTextarea"
      Show
      It works if you include the comp id in the execite attribute: execute="@this bodyTextarea" render="bodyTextarea"

      Description

      A page includes an inputText field and a button which clears out the field on the server side via an actionListener

      The button uses an ajax tag with the following set (bodyTextarea is the id of the input field):
      execute="@this" render="bodyTextarea"

      On click of button any text entered into the field should be cleared out but the field is not being rendered in the update.

      This issue is reproducible with the mobi:commandButton/mobi:ajax, h:commandButton/f:ajax and ace:pushButton/ace:ajax components.

      When testing the same code in a pure JSF sample (no ICEfaces), the input field gets cleared out correctly.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #47096 Thu Feb 04 16:57:35 MST 2016 mircea.toma ICE-10879 Remove normaliseToClientIds method and its usages.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/context/DOMPartialViewContext.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #46984 Mon Jan 18 15:37:25 MST 2016 mircea.toma ICE-10879 Remove profiling code.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/context/DOMPartialViewContext.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #46983 Mon Jan 18 15:33:04 MST 2016 mircea.toma ICE-10879
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/context/DOMPartialViewContext.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/util/ComponentUtils.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/util/CoreUtils.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #46956 Mon Jan 11 17:52:52 MST 2016 mircea.toma ICE-10879 Add method return.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/util/ComponentUtils.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #46955 Mon Jan 11 17:47:06 MST 2016 mircea.toma ICE-10879 Normalize render and execute IDs to represent only client IDs to correctly construct a VisitContext for the rendered subtree.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/context/DOMPartialViewContext.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/util/ComponentUtils.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/util/CoreUtils.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: