DELTASPIKE-1203 redirect to list.xhtml when article saved

Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/a876251b
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/a876251b
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/a876251b

Branch: refs/heads/master
Commit: a876251b419fb57d4dd126b418465f3da5a6b189
Parents: fcb21a1
Author: subaochen <subaoc...@126.com>
Authored: Fri Sep 16 16:39:27 2016 +0800
Committer: John D. Ament <johndam...@apache.org>
Committed: Sat Oct 15 09:22:45 2016 -0400

----------------------------------------------------------------------
 .../examples/jpa-examples/src/main/webapp/WEB-INF/faces-config.xml  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/a876251b/deltaspike/examples/jpa-examples/src/main/webapp/WEB-INF/faces-config.xml
----------------------------------------------------------------------
diff --git 
a/deltaspike/examples/jpa-examples/src/main/webapp/WEB-INF/faces-config.xml 
b/deltaspike/examples/jpa-examples/src/main/webapp/WEB-INF/faces-config.xml
index 8b8e365..ca5f7c2 100644
--- a/deltaspike/examples/jpa-examples/src/main/webapp/WEB-INF/faces-config.xml
+++ b/deltaspike/examples/jpa-examples/src/main/webapp/WEB-INF/faces-config.xml
@@ -26,6 +26,7 @@
         <navigation-case>
             <from-outcome>persisted</from-outcome>
             <to-view-id>/list.xhtml</to-view-id>
+            <redirect />
         </navigation-case>
     </navigation-rule>    
 

Reply via email to