JSF - Problem with @ViewScope

后端 未结 2 572
自闭症患者
自闭症患者 2020-12-22 11:25

I have a page that load (in a panelGroup) two different page, due to the login status (logged, not logged). This is the main switch :

template.xhtml P.S

相关标签:
2条回答
  • 2020-12-22 12:09
      <c:catch>
                    <ui:include src="/#{selector.page}/#{selector.page}.xhtml" />
                </c:catch>
    

    The problem is that you are using JSTL elements which break @ViewScope use alternative.

    0 讨论(0)
  • 2020-12-22 12:17

    A similar bug

    http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-928

    0 讨论(0)
提交回复
热议问题