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

        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
        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.
        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.
        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: