Hi people,
I'm designing with Icefaces a Web Application and I have a problem with navigation between pages:
in the first page I have a table and a "plus" button;
With the "plus" button I open a new page where I can insert on the database a new value and the come back to the page with List.
When I come back, the list still contains the previous value, how can I force a reload of the page?
Where I'm wrong?
This is the content of faces-navigation.xml
Code:
<managed-bean>
<description>Gestione Utenti Bean</description>
<managed-bean-name>gestioneUtenti</managed-bean-name>
<managed-bean-class>it.sbw.Amministrazione.view.GestioneUtentiView</managed-bean-class>
<managed-bean-scope>none</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>Gestione Utenti Modify Bean</description>
<managed-bean-name>gestioneUtentiInsert</managed-bean-name>
<managed-bean-class>it.sbw.Amministrazione.view.GestioneUtentiModifyView</managed-bean-class>
<managed-bean-scope>none</managed-bean-scope>
</managed-bean>
<navigation-rule>
<description>Gestione Utenti</description>
<from-view-id>/WEB-INF/includes/mainView/Amministrazione/gestioneUtenti.xhtml</from-view-id>
<navigation-case>
<from-outcome>gestioneUtentiInsert</from-outcome>
<to-view-id>/WEB-INF/includes/mainView/Amministrazione/gestioneUtentiModify.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<description>Gestione Utenti Modify</description>
<from-view-id>/WEB-INF/includes/mainView/Amministrazione/gestioneUtentiModify.xhtml</from-view-id>
<navigation-case>
<from-outcome>back</from-outcome>
<to-view-id>/WEB-INF/includes/mainView/Amministrazione/gestioneUtenti.xhtml</to-view-id>
</navigation-case>
</navigation-rule>