Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 jsf 选项卡式页面。如何在选项卡中加载链接以实现类似于 html 中的页框的功能。我想知道 jsf 和 richfaces 中的这两个选项。
您可以使用<ui:include标签在选项卡内加载另一个页面。
<ui:include
xmlns:ui="http://java.sun.com/jsf/facelets
<rich:tabPanel> <rich:tab> <ui:include src="/result_page.xhtml" /> </rich:tab> </rich:tabPanel>
<rich:tabPanel>
<rich:tab>
<ui:include src="/result_page.xhtml" />
</rich:tab>
</rich:tabPanel>