ICEfaces
  1. ICEfaces
  2. ICE-7569

Nested f:ajax tag in h:inputText causing issue with MenuItem ajax submit

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.RC1
    • Fix Version/s: 3.0.RC2, 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3.0 RC1, All browsers
    • Assignee Priority:
      P1
    • Workaround Exists:
      Yes
    • Workaround Description:
      Remove the f:ajax tag.

      Description

      In the WIlliams app they have a dataTable where one column contains an inputText field. Editing this field and then submitting the row vie a Menu Item is causing a JavaScript error to be thrown and the app becomes unresponsive. This h:inputText component is using a nested f:ajax tag. Removing this tag resolves the issue.

      This issue is reproducible on the Williams POC. To reproduce, load a tab with the Screen 1 content and click the retrieve button to load the table. The Name column contains an inputText field that has a nested f:ajax tag. Editing one of the input fields and then clicking on the Print menu item (top right hand side of page) will cause the JavaScript error to be thrown.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26934 Fri Dec 16 16:02:03 MST 2011 art.zambrano ICE-7569 adjusted timeout to 10 milliseconds
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/menu/BaseMenuRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26890 Thu Dec 15 10:00:59 MST 2011 art.zambrano ICE-7569 check to see if node was provided in AjaxRequest before using it
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/core/core.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26887 Wed Dec 14 20:22:44 MST 2011 art.zambrano ICE-7569 added a timeout for triggering the menu item ajax request
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/menu/BaseMenuRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26880 Wed Dec 14 15:46:29 MST 2011 art.zambrano ICE-7569 changed client id handling in menu items for ajax requests
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/core/core.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/ajax/AjaxBehaviorRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/menu/BaseMenuRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26864 Tue Dec 13 18:28:36 MST 2011 art.zambrano ICE-7569 potential fix
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26849 Tue Dec 13 09:50:49 MST 2011 mircea.toma ICE-7569 Assume user initiated submit when source element cannot be found.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/application.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26836 Mon Dec 12 14:33:27 MST 2011 mircea.toma ICE-7569 Test if source element exists before trying to search its corresponding viewID.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/application.js

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: