在JSF2中,是否可以使用Ajax请求动态更改ui:include的src值(例如像PrimeFaces p:commandButton一样)?谢谢。
<h:form>
<h:commandLink value="Display 2" action="#{fTRNav.doNav()}">
<f:setPropertyActionListener target="#{fTRNav.pageName}" value="/disp2.xhtml" />
</h:commandLink>
</h:form>
<ui:include src="#{fTRNav.pageName}"></ui:include>
这就是我现在拥有的。是否可能使用p:commandButton将其变为Ajax?