[jboss-user] [JBoss Seam] - Re: Pageflow problems with back button
jbeaken
do-not-reply at jboss.com
Mon Sep 24 05:31:10 EDT 2007
Hi,
thanks for looking at my problem
but no, the previous page was in the conversation, I see your point regarding differing conversations but that's not the case here. Please see the full pageflow definition below:
So say I've started the flow and navigated to /quote/selectProductionFolder.xhtml, clicking back button takes me back to /quote/searchResults.xhtml, but here clicking any action (eg. 'quote') just refreshes the current page /quote/searchResults.xhtml
|
| <?xml version="1.0"?>
| <pageflow-definition name="requestTrackQuote" conversation-required="true">
| <!-- ****************** -->
| <!-- START YOUR ENGINES -->
| <!-- ****************** -->
| <start-page view-id="/quote/searchTracks.xhtml" name="start">
| <transition name="start" to="searchTracks"/>
| </start-page>
|
| <page name="searchTracks"
| view-id="/quote/searchResults.xhtml"
| no-conversation-view-id="/quote/searchTracks.xhtml"
| back="enabled">
| <redirect />
| <transition name="quote" to="selectProductionFolder">
| <action expression="#{createLicenseRequestService.addTrack}"/>
| </transition>
| </page>
|
| <!-- ****************** -->
| <!-- PRODUCTION FOLDERS -->
| <!-- ****************** -->
|
| <page name="selectProductionFolder"
| view-id="/quote/selectProductionFolder.xhtml"
| no-conversation-view-id="/quote/searchTracks.xhtml">
| <redirect />
| <transition name="addNewFolder" to="addNewFolder" />
| <transition name="selectExistingFolder" to="selectProductionUsage">
| <action expression="#{createLicenseRequestService.addFolder}"/>
| </transition>
| </page>
|
| <page name="addNewFolder"
| view-id="/folder/addFolder.xhtml"
| no-conversation-view-id="/quote/searchTracks.xhtml">
| <redirect />
| <transition name="addFolder" to="selectProductionUsage">
| <action expression="#{addFolderService.add}"></action>
| </transition>
| </page>
|
| <!-- ****************** -->
| <!-- PRODUCTION USAGE -->
| <!-- ****************** -->
|
| <page name="selectProductionUsage"
| view-id="/quote/selectProductionUsage.xhtml"
| no-conversation-view-id="/quote/searchTracks.xhtml">
| <redirect />
| <transition name="addNewProductionUsage" to="checkUsage" />
| <transition name="prev" to="selectProductionFolder" />
| <transition name="selectExistingProductionUsage" to="selectTrackUsage">
| <action expression="#{createLicenseRequestService.addProductionUsage}"></action>
| </transition>
| </page>
|
| <decision name="checkUsage" expression="#{usageType}">
| <transition name="1" to="addAdvertisementProductionUsage">
| <action expression="#{createLicenseRequestService.initAdvertisementProductionUsage}"></action>
| </transition>
| </decision>
|
| <page name="addAdvertisementProductionUsage" view-id="/quote/addAdvertisementProductionUsage.xhtml"
| no-conversation-view-id="/quote/searchTracks.xhtml">
| <redirect/>
| <transition name="prev" to="selectProductionUsage" />
| <transition name="addedAdvertisementProductionUsage" to="selectTrackUsage"/>
| </page>
|
| <!-- ****************** -->
| <!-- TRACK USAGE -->
| <!-- ****************** -->
|
| <page name="selectTrackUsage" view-id="/quote/selectTrackUsage.xhtml"
| no-conversation-view-id="/quote/searchTracks.xhtml">
| <redirect />
| <transition name="addNewTrackUsage" to="addNewTrackUsage" />
| <transition name="selectExistingTrackUsage" to="confirm">
| </transition>
| </page>
|
| <page name="addNewTrackUsage"
| view-id="/quote/addTrackUsage.xhtml"
| no-conversation-view-id="/quote/searchTracks.xhtml">
| <redirect />
| <transition name="prev" to="selectTrackUsage"/>
| <transition name="addTrackUsage" to="confirm">
| <action expression="#{addTrackUsageService.add}" />
| </transition>
| </page>
|
| <!-- ****************** -->
| <!-- CONFIRM -->
| <!-- ****************** -->
|
| <page name="confirm" view-id="/quote/confirmLicenseRequest.xhtml"
| no-conversation-view-id="/quote/searchTracks.xhtml">
| <redirect />
| <transition name="prev" to="selectTrackUsage" />
| <transition name="submit" to="viewSummary">
| <action expression="#{createLicenseRequestService.addLicenceRequest}" />
| </transition>
| <transition name="cancel" to="cancel"/>
| </page>
|
| <!-- ****************** -->
| <!-- SUMMARY -->
| <!-- ****************** -->
|
| <page name="viewSummary" view-id="/quote/viewSummary.xhtml"
| no-conversation-view-id="/quote/searchTracks.xhtml">
| <redirect />
| <end-conversation />
| </page>
|
| </pageflow-definition>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087793#4087793
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087793
More information about the jboss-user
mailing list