tags:

views:

654

answers:

2

Icefaces only refreshes the changed parts in the page. In my program I want to do a full page refresh through the manage bean. Does anyone know how to do that ? Thanks.

+1  A: 

To the point: just fire a normal (synchronous) request instead of an ajaxical (asynchronous) request. No idea how to do it in Icefaces as I never used it, but the basic JSF implementation provides you the <h:form>, <h:commandButton> and <h:commandLink> components for that.

BalusC
+1  A: 

Doing a page refresh is easy using the ICeFaces API, you can do it in an action or actionlistener for example.

PersistentFacesState.redirectTo(uri);

Where "uri" is an URI. This will enforce a browser redirect and refresh the whole page.

Sylar