JSF navigation rule doesn't work on production server
This commit is contained in:
parent
8224c5eb31
commit
2d2109c17c
8
pom.xml
8
pom.xml
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
<groupId>com.mousetech.gourmet</groupId>
|
<groupId>com.mousetech.gourmet</groupId>
|
||||||
<artifactId>gourmetj</artifactId>
|
<artifactId>gourmetj</artifactId>
|
||||||
<version>0.1.1-SNAPSHOT</version>
|
<version>0.1.3-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>GourmetJ</name>
|
<name>GourmetJ</name>
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<java.version>11</java.version>
|
<java.version>11</java.version>
|
||||||
<joinfaces.version>3.3.0-rc2</joinfaces.version>
|
<joinfaces.version>3.3.0-rc2</joinfaces.version>
|
||||||
<junit.jupiter.version>5.4.0</junit.jupiter.version>
|
<junit.jupiter.version>5.4.0</junit.jupiter.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
|
@ -113,8 +113,8 @@
|
||||||
<artifactId>sqlite-dialect</artifactId>
|
<artifactId>sqlite-dialect</artifactId>
|
||||||
<version>0.1.2</version>
|
<version>0.1.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.junit.jupiter</groupId>
|
<groupId>org.junit.jupiter</groupId>
|
||||||
<artifactId>junit-jupiter</artifactId>
|
<artifactId>junit-jupiter</artifactId>
|
||||||
<version>${junit.jupiter.version}</version>
|
<version>${junit.jupiter.version}</version>
|
||||||
|
|
|
@ -8,10 +8,11 @@
|
||||||
>
|
>
|
||||||
<name>GourmetJ</name>
|
<name>GourmetJ</name>
|
||||||
<navigation-rule>
|
<navigation-rule>
|
||||||
<from-view-id>*</from-view-id>
|
<from-view-id>/*</from-view-id>
|
||||||
<navigation-case>
|
<navigation-case>
|
||||||
<from-outcome>home</from-outcome>
|
<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-case>
|
||||||
</navigation-rule>
|
</navigation-rule>
|
||||||
</faces-config>
|
</faces-config>
|
||||||
|
|
|
@ -390,7 +390,7 @@
|
||||||
<p:commandButton id="doHome" value="Home"
|
<p:commandButton id="doHome" value="Home"
|
||||||
icon="ui-icon-home"
|
icon="ui-icon-home"
|
||||||
ajax="false" immediate="true"
|
ajax="false" immediate="true"
|
||||||
action="home"
|
action="main.jsf"
|
||||||
/>
|
/>
|
||||||
</h:form>
|
</h:form>
|
||||||
</p:panel>
|
</p:panel>
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
<p:commandButton
|
<p:commandButton
|
||||||
value="Back" ajax="false"
|
value="Back" ajax="false"
|
||||||
icon="ui-icon-arrowthick-1-w"
|
icon="ui-icon-arrowthick-1-w"
|
||||||
action="home"
|
action="main.jsf"
|
||||||
immediate="true"
|
immediate="true"
|
||||||
/>
|
/>
|
||||||
<p:commandButton ajax="false"
|
<p:commandButton ajax="false"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user