Hello Spring Web Flow community,
I'm already using SWF 2.0 for a project were I'm facing the following situation:
On a form I need to insert values inside a table while providing information on a regular form. The problem is that when I call the view with the other form (using "popup=true" or not) and I come back to the previous form the information that I provided so far is not there. Every time I close a popup the whole page gets refresh (I'm using fragments).
This code should help understanding this problem:
The "create" transition is defined on "edit.xhtml" using the following code ("..." means code not related to the problem and striped away).Code:<view-state id="edit"> ... <transition on="create" to="editRegion"> <evaluate expression="regionService.createRegion()" result="flowScope.selectedRegion" /> </transition> </view-state> <view-state id="editRegion" popup="true"> <on-entry> <render fragments="fragmentEditRegion"/> </on-entry> <transition on="save" to="edit" > <evaluate expression="selectedTown.regions.add(selectedRegion)" /> </transition> <transition on="cancel" to="edit" /> </view-state>
Is this an issue on the development version of SWF or I'm doing something wrong?Code:<ui:fragment id="fragmentoListaRegioes"> ... <sf:commandLink id="create" processIds="fragmentRegionList" value="new" action="create" /> ... </ui:fragment>
Thanks in advance,
Pedro Casagrande de Campos


Reply With Quote
