Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

t:panelTabbedPane and including jsp on click of the tab  RSS feed

 
komal ekbote
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • 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>
<hutputText 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>
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!