我使用JSF2.1应用程序作为Apache Pluto容器的portlet模块。作为portlet桥,我使用Jboss portlet桥3.2最终版。我在我的portlet.xml里删除了
<portlet-class>javax.portlet.faces.GenericFacesPortlet</portlet-class>
<init-param>
<name>javax.portlet.faces.defaultViewId.view</name>
<value>/index.xhtml</value>
</init-param>
<init-param>
<name>javax.portlet.faces.preserveActionParams</name>
<value>true</value>
</init-param>
<init-param>
<name>javax.portlet.faces.autoDispatchEvents</name>
<value>true</value>
</init-param>当我在服务器上运行我的应用程序时(在Tomee上打了补丁),第一页(index.xhtml)看起来是正确的,但当我试图通过单击<h:commandButton>转到另一个页面时,容器找不到所需的页面。你能帮我解决这个问题吗?或者建议用另一种方法来创建portlet桥?
发布于 2013-06-03 22:06:58
您能否提供用于触发下一个JSF页面的<h:commandButton>代码的详细信息,因为如果没有这些信息,就很难知道问题是什么?
https://stackoverflow.com/questions/16773601
复制相似问题