1 Replies Last post: Jan 25, 2008 6:37 PM by Tatyana Matveyeva  
Jenny   3 posts since
Jan 24, 2008
Currently Being Moderated

Jan 25, 2008 5:13 PM

Need help on tabbedPane

 

Hello,

 

 

I am struggling with this tab. I tryed different things with no luck. So I turned to you experts for help. My page can be static and simple. What I am trying to do is two tabs(tab1,tab2) and click each the contents switched between page1.jsp and page2.jsp. Here are the codes. Now I saw both page1.jsp and page2.jsp loaded into the screen no matter which tab is active. Please help. Thanks

 

 

<q:tabbedPane>

 

 

<q:tabbedPaneItem>

 

 

<f:facet name="tab">

 

 

<h:outputText value="First tab"/>

 

 

</f:facet>

 

 

<jsp:include page="page1.jsp"></jsp:include>

 

 

</q:tabbedPaneItem>

 

 

<q:tabbedPaneItem>

 

 

<f:facet name="tab">

 

 

<h:outputText value="Second tab"/>

 

 

</f:facet>

 

 

<jsp:include page="page2.jsp"></jsp:include>

 

 

</q:tabbedPaneItem>

 

 

</q:tabbedPane>

 

 

 

 

page1.jsp

 

 

<p>This is a page1 contents.</p>

 

 

Tatyana Matveyeva   873 posts since
Aug 16, 2006
Currently Being Moderated
1. Jan 25, 2008 6:37 PM in response to: Jenny
Re: Need help on tabbedPane

Jenny,

 

Can you please provide us with a war file, so we can reproduce the problem you described.

 

Regards,

Tatyana

More Like This

  • Retrieving data ...