in our application ICEfaces always sends a dispose-window request just before navigating to another JSF Page. as much as i understand this should not happen when having org.icefaces.lazyWindowScope set to true and there is no window-scoped bean involved in current request. but it happens on each link and makes our UI less responsive. but we don't have any window-scoped bean in our application.
is that a bug in icefaces that the dispose request is sent when using view-scoped beans? Is it possible to disable? ViewScope is defined in JSF not in ICEfaces, it should work without this dispose request i guess...
@ManagedBean(name="viewScopeBean")
@ViewScoped
public class ViewScopeBean {
public void doSomething(){
//
}
}
And here the example jsf:
<ice:form>
<ice:commandButton value="doSomething" action="#{viewScopeBean.doSomething}"/>
<h:link outcome="index" value="Link to same page"/>
</ice:form>
To reproduce do the following using the code above:
Dispose Request Parameters:
Environment:
ICEfaces Configuration:
See comments and workaround above. It's a bug in icefaces.