Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Fix Version/s: 1.6.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:win xp
-
Support Case References:
Description
-
Hide
- Test_MenuItemImmediateTrue.zip
- 4.60 MB
- Philip Breau
-
- Test_MenuItemImmediateTrue/.classpath 0.4 kB
- Test_MenuItemImmediateTrue/.project 0.9 kB
- Test_MenuItemImmediateTrue/.../org.eclipse.jdt.core.prefs 0.3 kB
- Test_MenuItemImmediateTrue/.../org.eclipse.jst.common.project.facet.core.prefs 0.2 kB
- Test_MenuItemImmediateTrue/.../org.eclipse.wst.common.component 0.5 kB
- Test_MenuItemImmediateTrue/.../org.eclipse.wst.common.project.facet.core.xml 0.3 kB
- Test_MenuItemImmediateTrue/.../Bean.class 0.7 kB
- Test_MenuItemImmediateTrue/src/Bean.java 0.3 kB
- Test_MenuItemImmediateTrue/.../main.jspx 1 kB
- Test_MenuItemImmediateTrue/.../MANIFEST.MF 0.0 kB
- Test_MenuItemImmediateTrue/.../faces-config.xml 0.4 kB
- Test_MenuItemImmediateTrue/.../backport-util-concurrent.jar 343 kB
- Test_MenuItemImmediateTrue/.../commons-beanutils.jar 184 kB
- Test_MenuItemImmediateTrue/.../commons-collections.jar 558 kB
- Test_MenuItemImmediateTrue/.../commons-digester.jar 107 kB
- Test_MenuItemImmediateTrue/.../commons-fileupload.jar 52 kB
- Test_MenuItemImmediateTrue/.../commons-logging.jar 52 kB
- Test_MenuItemImmediateTrue/.../el-api.jar 24 kB
- Test_MenuItemImmediateTrue/.../icefaces-comps.jar 624 kB
- Test_MenuItemImmediateTrue/.../icefaces.jar 658 kB
- Test_MenuItemImmediateTrue/.../jsf-api.jar 356 kB
- Test_MenuItemImmediateTrue/.../jsf-impl.jar 778 kB
- Test_MenuItemImmediateTrue/.../jstl.jar 17 kB
- Test_MenuItemImmediateTrue/.../krysalis-jCharts-1.0.0-alpha-1.jar 151 kB
- Test_MenuItemImmediateTrue/.../xercesImpl.jar 1.15 MB
- Test_MenuItemImmediateTrue/.../xml-apis.jar 190 kB
- Test_MenuItemImmediateTrue/.../web.xml 3 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
I found an issue with the implementation of UICommand that causes this issue:
https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=622
It looks like this is a problem with any UICommand subclass that's a container for other components that fire off ActionEvents. In our code that would include MenuBar, MenuItem, PanelCollapsible, Tree, and kind of InputFile.
Made it so that the UICommand subclasses would override queueEvent(FacesEvent), and when there's an ActionEvent that filters up to them from a child component, would pass it directly on to the current component's parent, instead of calling super.queueEvent(FacesEvent), effectively doing what UIComponentBase.queueEvent(FacesEvent) does, bypassing UICommand.queueEvent(FacesEvent).
Subversion 14707
icefaces\component\src\com\icesoft\faces\component\menubar\MenuBar.java
icefaces\component\src\com\icesoft\faces\component\menubar\MenuItem.java
icefaces\component\src\com\icesoft\faces\component\panelcollapsible\PanelCollapsible.java
icefaces\component\src\com\icesoft\faces\component\tree\Tree.java
test case