• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

t:panelTabbedPane and including jsp on click of the tab

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Ranchers,

I am having the below code. And what i want to do is that on click of the tabs the respective Jsp should get displayed.
But with the present code its not working out. Can anyone please help me.

<body>
<center><f:view>
<h:form>
<h:outputText value="TABBED PANE::::" />
<t:panelTabbedPane width="900" serverSideTabSwitch="false"
selectedIndex="0">
<t:panelTab label="Employee Information" rendered="true">
<t:panelGrid columns="2" border="0">

<f:verbatim>
<jsp:include page="/include1.jsp" />
</f:verbatim>

</t:panelGrid>
</t:panelTab>
<t:panelTab label="Salary Details" rendered="true">
<t:panelGrid columns="5" border="0">

<f:verbatim>
<jsp:include page="/include2.jsp" />
</f:verbatim>

</t:panelGrid>
</t:panelTab>
<t:panelTab label="Personal Info" rendered="true">
<t:panelGrid columns="5" border="0">

<f:verbatim>
<jsp:include page="/include3.jsp" />
</f:verbatim>

</t:panelGrid>
</t:panelTab>
</t:panelTabbedPane>
</h:form>
</f:view></center>
</body>
</html>
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic