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

258 Views Asked by At

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.

1

There are 1 best solutions below

0
prageeth On

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>