Himanshu Soni
Himanshu Soni

Reputation: 364

using jsf or richfaces to load the contents of a link in a tab

I have a jsf tabbed page. how can i load a link within the tab to implement the functionality similar to page frames in html. I want to know both options as in jsf and richfaces.

Upvotes: 0

Views: 257

Answers (1)

prageeth
prageeth

Reputation: 7415

You can load another page inside the tab by using <ui:include tag.

xmlns:ui="http://java.sun.com/jsf/facelets

<rich:tabPanel>
     <rich:tab>
         <ui:include src="/result_page.xhtml" />
     </rich:tab>
</rich:tabPanel>

Upvotes: 0

Related Questions