Author: pete.muir(a)jboss.org
Date: 2010-06-16 09:52:37 -0400 (Wed, 16 Jun 2010)
New Revision: 6444
Modified:
examples/trunk/jsf/pastecode/src/main/webapp/WEB-INF/faces-config.xml
Log:
ws
Modified: examples/trunk/jsf/pastecode/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- examples/trunk/jsf/pastecode/src/main/webapp/WEB-INF/faces-config.xml 2010-06-16
13:49:30 UTC (rev 6443)
+++ examples/trunk/jsf/pastecode/src/main/webapp/WEB-INF/faces-config.xml 2010-06-16
13:52:37 UTC (rev 6444)
@@ -1,24 +1,23 @@
<?xml version='1.0' encoding='UTF-8'?>
-<faces-config version="2.0"
-
xmlns="http://java.sun.com/xml/ns/javaee"
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd">
+<faces-config version="2.0"
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd">
-<navigation-rule>
- <from-view-id>/home.xhtml</from-view-id>
- <navigation-case>
- <from-action>#{paster.paste}</from-action>
- <to-view-id>/#{paster.codeId}</to-view-id>
- <redirect/>
- </navigation-case>
-</navigation-rule>
+ <navigation-rule>
+ <from-view-id>/home.xhtml</from-view-id>
+ <navigation-case>
+ <from-action>#{paster.paste}</from-action>
+ <to-view-id>/#{paster.codeId}</to-view-id>
+ <redirect />
+ </navigation-case>
+ </navigation-rule>
- <navigation-rule>
- <from-view-id>/history.xhtml</from-view-id>
- <navigation-case>
- <from-action>#{history.newSearch}</from-action>
- <to-view-id>/history.xhtml?page=#{history.page}</to-view-id>
- </navigation-case>
-</navigation-rule>
+ <navigation-rule>
+ <from-view-id>/history.xhtml</from-view-id>
+ <navigation-case>
+ <from-action>#{history.newSearch}</from-action>
+ <to-view-id>/history.xhtml?page=#{history.page}</to-view-id>
+ </navigation-case>
+ </navigation-rule>
</faces-config>