JSF navigation rule doesn't work on production server
This commit is contained in:
parent
8224c5eb31
commit
2d2109c17c
2
pom.xml
2
pom.xml
|
@ -7,7 +7,7 @@
|
|||
|
||||
<groupId>com.mousetech.gourmet</groupId>
|
||||
<artifactId>gourmetj</artifactId>
|
||||
<version>0.1.1-SNAPSHOT</version>
|
||||
<version>0.1.3-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>GourmetJ</name>
|
||||
|
|
|
@ -8,10 +8,11 @@
|
|||
>
|
||||
<name>GourmetJ</name>
|
||||
<navigation-rule>
|
||||
<from-view-id>*</from-view-id>
|
||||
<from-view-id>/*</from-view-id>
|
||||
<navigation-case>
|
||||
<from-outcome>home</from-outcome>
|
||||
<to-view-id>/main.jsf</to-view-id>
|
||||
<to-view-id>main.jsf</to-view-id>
|
||||
<redirect/>
|
||||
</navigation-case>
|
||||
</navigation-rule>
|
||||
</faces-config>
|
||||
|
|
|
@ -390,7 +390,7 @@
|
|||
<p:commandButton id="doHome" value="Home"
|
||||
icon="ui-icon-home"
|
||||
ajax="false" immediate="true"
|
||||
action="home"
|
||||
action="main.jsf"
|
||||
/>
|
||||
</h:form>
|
||||
</p:panel>
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
<p:commandButton
|
||||
value="Back" ajax="false"
|
||||
icon="ui-icon-arrowthick-1-w"
|
||||
action="home"
|
||||
action="main.jsf"
|
||||
immediate="true"
|
||||
/>
|
||||
<p:commandButton ajax="false"
|
||||
|
|
Loading…
Reference in New Issue
Block a user