ICEfaces
  1. ICEfaces
  2. ICE-9572

ace:tabSet ace:ajax cannot find enclosing form

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Tomcat 7
      Implementation-Version: 3.4.0.SNAPSHOT
      Build-Number: 1541
      Build-Time: 2013-09-06 06:21:26
    • Assignee Priority:
      P2
    • Salesforce Case Reference:

      Description

      I have an ace:tabSet using ace:tabSetProxy and was attempting to execute javascript on the serverSideTabChange event:

      <ace:ajax event="serverSideTabChange" execute="@this" render="@all"/>

      Changing tabs worked fine before adding the ace:ajax tag. After adding the ace:ajax tag, I see the following in the js console in Firefox:

      tabSet.tabChange exception: cannot find enclosing form ace-yui.uncompressed.js.jsf?ln=icefaces.ace&v=3_4_0_130906 (line 7799)

        Activity

        Brad Kroeger created issue -
        Brad Kroeger made changes -
        Field Original Value New Value
        Attachment Test.war [ 16418 ]
        Hide
        Brad Kroeger added a comment -

        Attached test war file with source code

        Show
        Brad Kroeger added a comment - Attached test war file with source code
        Brad Kroeger made changes -
        Assignee Ken Fyten [ ken.fyten ]
        Brad Kroeger made changes -
        Salesforce Case Reference 5007000000UaCTLAA3
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ] Arturo Zambrano [ artzambrano ]
        Fix Version/s 3.4 [ 10770 ]
        Fix Version/s EE-3.4.0.GA [ 11171 ]
        Assignee Priority P1 [ 10010 ]
        Hide
        Arturo Zambrano added a comment -

        Committed fix to trunk at revision 38554. Added/fixed support for ajax events when using a tabSet proxy.

        Show
        Arturo Zambrano added a comment - Committed fix to trunk at revision 38554. Added/fixed support for ajax events when using a tabSet proxy.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38554 Tue Oct 08 12:15:57 MDT 2013 art.zambrano ICE-9572 added support for ajax events when using a tabSet proxy
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/tabset/tabset.js
        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/tabset/TabSetRenderer.java
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA_P02 [ 11371 ]
        Fix Version/s EE-4.0.0.GA [ 11171 ]
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Assignee Priority P1 [ 10010 ] P2 [ 10011 ]
        Hide
        Arturo Zambrano added a comment -

        Backported fix to 3.3 EE maintenance branch at revision 38738.

        Show
        Arturo Zambrano added a comment - Backported fix to 3.3 EE maintenance branch at revision 38738.
        Arturo Zambrano made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Brad Kroeger added a comment - - edited

        Tested this in client application and the following is still not working in the ace:tabSet with ace:tabSetProxy:

        <ace:ajax event="serverSideTabChange" execute="@this" render="@all" onStart="showProcessingMessage('Loading')"/>

        The processing message shows up but the response comes back without the new tab content. The ui stays on the previous tab with the white modal layer over the content, however you can interact with the tab content.

        Show
        Brad Kroeger added a comment - - edited Tested this in client application and the following is still not working in the ace:tabSet with ace:tabSetProxy: <ace:ajax event="serverSideTabChange" execute="@this" render="@all" onStart="showProcessingMessage('Loading')"/> The processing message shows up but the response comes back without the new tab content. The ui stays on the previous tab with the white modal layer over the content, however you can interact with the tab content.
        Brad Kroeger made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Brad Kroeger made changes -
        Attachment Test.war [ 16418 ]
        Brad Kroeger made changes -
        Attachment Test.war [ 16610 ]
        Hide
        Brad Kroeger added a comment -

        Attached updated Test.war - Note, the jars do NOT include the fix for ICE-9340. There could be a relationship between ICE-9340 and this issue.

        Show
        Brad Kroeger added a comment - Attached updated Test.war - Note, the jars do NOT include the fix for ICE-9340 . There could be a relationship between ICE-9340 and this issue.
        Hide
        Brad Kroeger added a comment -

        The ace:ajax tag needs to be configured like this:

        <ace:ajax event="serverSideTabChange" execute="@this" render="@all" onStart="showProcessingMessage('Loading'); return true;"/>

        onStart must return true.

        Show
        Brad Kroeger added a comment - The ace:ajax tag needs to be configured like this: <ace:ajax event="serverSideTabChange" execute="@this" render="@all" onStart="showProcessingMessage('Loading'); return true;"/> onStart must return true.
        Brad Kroeger made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Brad Kroeger
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: