Author: ips
Date: 2010-02-09 15:31:16 -0500 (Tue, 09 Feb 2010)
New Revision: 876
Modified:
trunk/core/src/main/webapp/WEB-INF/pages.xml
Log:
fix for
https://jira.jboss.org/jira/browse/EMBJOPR-281
Modified: trunk/core/src/main/webapp/WEB-INF/pages.xml
===================================================================
--- trunk/core/src/main/webapp/WEB-INF/pages.xml 2010-02-09 20:25:36 UTC (rev 875)
+++ trunk/core/src/main/webapp/WEB-INF/pages.xml 2010-02-09 20:31:16 UTC (rev 876)
@@ -180,12 +180,32 @@
<page view-id="/secure/resourceInstanceContent.xhtml">
<!-- Run this method before rendering the page. -->
<action execute="#{updateBackingContentAction.init()}"/>
+
+ <navigation from-action="#{updateBackingContentAction.init()}">
+ <rule if-outcome="success">
+ <render view-id="/secure/resourceInstanceContent.xhtml"/>
+ </rule>
+ <rule if-outcome="failure">
+ <redirect view-id="/secure/summary.xhtml"/>
+ </rule>
+ </navigation>
</page>
<page view-id="*">
<action execute="#{debugAction.init()}"/>
<action execute="#{discoveryAction.checkAutodiscovery()}"/>
+ <!-- This is needed as a workaround for
https://jira.jboss.org/jira/browse/JBSEAM-4495
+ when using JSF2. Note, a view-id of "" means the current view-id.
-->
+ <navigation>
+ <rule if-outcome="success">
+ <render view-id=""/>
+ </rule>
+ <rule if-outcome="failure">
+ <render view-id=""/>
+ </rule>
+ </navigation>
+
<!-- This is done to ensure that the login screen after logging out has a
Conversation. -->
<navigation from-action="#{identity.logout}">
<redirect view-id="/index.xhtml"/>