Details
-
Type: Bug
-
Status: Closed
-
Priority: 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)
<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)
-
Hide
- Test.war
- 7.66 MB
- Brad Kroeger
-
- META-INF/MANIFEST.MF 0.0 kB
- WEB-INF/classes/AutoCompleteRowBean.java 1 kB
- WEB-INF/classes/CrListBean.java 6 kB
- WEB-INF/classes/CrListDataTableBean.java 4 kB
- WEB-INF/.../CrListDataTableBean1.java 0.2 kB
- WEB-INF/.../CrListDataTableBean2.java 0.2 kB
- WEB-INF/classes/CrListService.java 0.3 kB
- WEB-INF/classes/CrListServiceImpl.java 3 kB
- WEB-INF/.../DataTableBaseViewBean.java 6 kB
- WEB-INF/classes/FacesUtils.java 13 kB
- WEB-INF/classes/FormData.java 0.2 kB
- WEB-INF/classes/GlobalBean.java 3 kB
- WEB-INF/classes/McpController.java 4 kB
- WEB-INF/.../SelectAllCheckboxDataTableBean.java 1 kB
- WEB-INF/classes/Tab.java 1 kB
- WEB-INF/classes/.../messages_en.properties 81 kB
- WEB-INF/.../AutoCompleteRowBean.class 2 kB
- WEB-INF/classes/CrListBean.class 6 kB
- WEB-INF/.../CrListDataTableBean.class 5 kB
- WEB-INF/.../CrListDataTableBean1.class 0.4 kB
- WEB-INF/.../CrListDataTableBean2.class 0.4 kB
- WEB-INF/classes/CrListService.class 0.4 kB
- WEB-INF/classes/CrListServiceImpl.class 3 kB
- WEB-INF/.../DataTableBaseViewBean$OnePageDataModel.class 1 kB
- WEB-INF/.../DataTableBaseViewBean.class 5 kB
- WEB-INF/classes/FacesUtils.class 10 kB
- WEB-INF/classes/FormData.class 0.5 kB
- WEB-INF/classes/GlobalBean.class 3 kB
- WEB-INF/classes/McpController.class 4 kB
- WEB-INF/.../SelectAllCheckboxDataTableBean.class 2 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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.
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.
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.
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.
Attached test war file with source code
Show
Brad Kroeger
added a comment - Attached test war file with source code
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.