【发布时间】:2018-08-15 13:26:28
【问题描述】:
我想在 joinFaces 项目中使用 @Join 注释。 如果可以,配置和使用的步骤是什么?
我正在使用带有 rewrite-spring-boot-starter 的 joinFaces 3.2.4。
【问题讨论】:
标签: joinfaces
我想在 joinFaces 项目中使用 @Join 注释。 如果可以,配置和使用的步骤是什么?
我正在使用带有 rewrite-spring-boot-starter 的 joinFaces 3.2.4。
【问题讨论】:
标签: joinfaces
其实我在这个链接上通过 JSF 自己找到了非常非常漂亮的解决方案
页面重定向
希望有用
https://www.codenotfound.com/jsf-welcome-page-redirect-example-spring-boot.html
我花了很多时间对 Spring boot 没有希望,但如果你愿意
您需要添加此依赖项
<dependency>
<groupId>org.ocpsoft.rewrite</groupId>
<artifactId>rewrite-servlet</artifactId>
<version>3.4.2.Final</version>
</dependency>
<dependency>
<groupId>org.ocpsoft.rewrite</groupId>
<artifactId>rewrite-integration-faces</artifactId>
<version>3.4.2.Final</version>
</dependency>
<dependency>
<groupId>org.ocpsoft.rewrite</groupId>
<artifactId>rewrite-config-prettyfaces</artifactId>
<version>3.4.2.Final</version>
</dependency>
【讨论】: