【问题标题】:Is it possible to use @Join annotation of Rewrite on JoinFaces?是否可以在 JoinFaces 上使用 Rewrite 的 @Join 注释?
【发布时间】:2018-08-15 13:26:28
【问题描述】:

我想在 joinFaces 项目中使用 @Join 注释。 如果可以,配置和使用的步骤是什么?

我正在使用带有 rewrite-spring-boot-starter 的 joinFaces 3.2.4。

【问题讨论】:

标签: joinfaces


【解决方案1】:

其实我在这个链接上通过 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>

【讨论】:

    猜你喜欢
    • 2015-04-14
    • 2016-02-04
    • 1970-01-01
    • 2017-03-09
    • 2012-10-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-08-08
    相关资源
    最近更新 更多