我希望转换回slide reversed
类型:
<p:button outcome="pm:first?transition=slide&reverse=true" value="Back" icon="ui-icon-arrow-l" styleClass="ui-btn-left ui-btn-inline"/>
但是我收到了这个错误:
20:47:09,976 ERROR [io.undertow.request] (default task-38) UT005023: Exception handling request to /test-web/: javax.servlet.ServletException: Error Parsing /views/index.xhtml: Error Traced[line: 32] The reference to entity "reverse" must end with the ';' delimiter.
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:671)
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
...
...
答案 0 :(得分:0)
我找到了解决方案here:
我只是将&
替换为&
,所以我必须这样写:
<p:button outcome="pm:first?transition=slide&reverse=true" value="Back" icon="ui-icon-arrow-l" styleClass="ui-btn-left ui-btn-inline"/>