JSF navigation rule doesn't work on production server

This commit is contained in:
Tim Holloway 2022-01-11 09:00:30 -05:00
parent 8224c5eb31
commit 2d2109c17c
4 changed files with 9 additions and 8 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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"