Hi,
try this:
<t:panelTab id="xyzPanel" label="#{label.xyz" >
<f:subview id="xyz">
<jsp:include page="/page/xyz.jsp"/>
</f:subview>
</t:panelTab>
regards,
Gerald
On 10/27/06, Bjørn T Johansen <[EMAIL PROTECTED]> wrote:
I have tried using this, but none of them include the file... Should any of
these work or am I doing something wrong?
<t:panelTabbedPane bgcolor="#FFFFCC" serverSideTabSwitch="false">
<t:panelTab label="Generell">
<[EMAIL PROTECTED] file="../log/fortrykk.jsp"%>
</t:panelTab>
<t:panelTab label="Generell2">
<f:subview id="subTab">
<[EMAIL PROTECTED] file="../log/fortrykk.jsp"%>
</f:subview>
</t:panelTab>
<t:panelTab label="Generell3">
<f:subview id="subTab2">
<jsp:include page="../log/fortrykk.jsp"/>
</f:subview>
</t:panelTab>
<t:panelTab label="Generell4">
<jsp:include page="../log/fortrykk.jsp"/>
</t:panelTab>
<t:panelTab label="Førtrykk">
<h:outputText value="Førtrykk"/>
</t:panelTab>
</t:panelTabbedPane>
BTJ
On Fri, 27 Oct 2006 17:37:31 -0400
"Nebinger, David" <[EMAIL PROTECTED]> wrote:
> JSF can include files, but it expects the subfiles to be wrapped in
<f:subview> tags if they contain JSF tags/components.
>
> > -----Original Message-----
> > From: Bjørn T Johansen [mailto:[EMAIL PROTECTED]
> > Sent: Friday, October 27, 2006 5:35 PM
> > To: MyFaces Discussion
> > Subject: Can I include jsp files in t:panelTabbedPane?
> >
> >
> > I have been using another tabbedpane component which has
> > seperate pages pr tab... Is it possible to include a jsp file inside
> > each tab (inside each <t:panelTab>)?
> > At first look it seems that using t:panelTabbedPane one are
> > supposed to include all the tabs in the same jsp file?
> >
> > If this is possible, how do I include jsp files in faces pages?
> >
> >
> > Regards,
> >
> > BTJ
> >
> > --
> > --------------------------------------------------------------
> > ---------------------------------
> > Bjørn T Johansen
> >
> > [EMAIL PROTECTED]
> > --------------------------------------------------------------
> > ---------------------------------
> > Someone wrote:
> > "I understand that if you play a Windows CD backwards you
> > hear strange Satanic messages"
> > To which someone replied:
> > "It's even worse than that; play it forwards and it installs Windows"
> > --------------------------------------------------------------
> > ---------------------------------
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces