AllWindowClosed annotation works just fine as long the application is configured with org.icefaces.lazyWindowScope set to false or the application uses window scoped beans in its pages. By doing so the bridge will then send the disposeWindow request that will dispose the window scoped beans and eventually when all windows are closed AllWindowClosed annotated methods will be called.
So the attached test needs to have its configuration modified in order for it to work as expected.
AllWindowClosed annotation works just fine as long the application is configured with org.icefaces.lazyWindowScope set to false or the application uses window scoped beans in its pages. By doing so the bridge will then send the disposeWindow request that will dispose the window scoped beans and eventually when all windows are closed AllWindowClosed annotated methods will be called.
So the attached test needs to have its configuration modified in order for it to work as expected.