incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Smith" <unobri...@gmail.com>
Subject Re: Problem with tr:panelTabbed rendering
Date Thu, 25 Jan 2007 16:51:47 GMT
Yes, tr:document is the root of the page but.........since I am also using
Facelets, there is a <ui:composition> tag as a direct child of tr:document
which, I believe, trims the tr:document from the output.  Am I correct?
Should I move the ui:composition to the root of the page?

Thanks,

-Brian

On 1/25/07, Adam Winer <awiner@gmail.com> wrote:
>
> Do you have any of the following components as parents
> of the panelTabbed?
>
>   <tr:document> (instead of <html>, <head>, and <body>)
>   <trh:body> (instead of <body>)
>   <tr:panelPartialRoot>?
>
> You should have one of these three so that PPR works.
> (I favor tr:document).
>
> -- Adam
>
>
> On 1/25/07, Brian Smith <unobriani@gmail.com> wrote:
> > I have a panelTabbed component that is not rendering links in the tab
> bar.
> > The first tab in rendered as "selected" as it should be but without a
> link.
> > The other tabs are just rendered as plain text.  When I switch this to
> > panelChoice component, all works as expected.
> >
> >                 <tr:panelTabbed position="above">
> >                     <tr:showDetailItem text="#{msgs['
> > AddressLookup.tabAddress']}">
> >                         <tr:outputText value="Address"/>
> >                         <!--ui:include
> > src="/WEB-INF/facelets/AddressLookupSingleAddress.xhtml"/-->
> >                     </tr:showDetailItem>
> >                     <tr:showDetailItem text="#{msgs['
> > AddressLookup.tabLandmark']}">
> >                         <tr:outputText value="Landmark"/>
> >                         <!--ui:include
> > src="/WEB-INF/facelets/AddressLookupLandmark.xhtml"/-->
> >                     </tr:showDetailItem>
> >                     <tr:showDetailItem text="#{msgs['
> > AddressLookup.tabIntersection']}">
> >                         <tr:outputText value="Intersection"/>
> >                         <!--ui:include
> > src="/WEB-INF/facelets/AddressLookupIntersection.xhtml"/-->
> >                     </tr:showDetailItem>
> >                     <tr:showDetailItem text="#{msgs['
> AddressLookup.tabBlock
> > ']}">
> >                         <tr:outputText value="Block"/>
> >                         <!--ui:include
> > src="/WEB-INF/facelets/AddressLookupBlock.xhtml"/-->
> >                     </tr:showDetailItem>
> >                 </tr:panelTabbed>
> >
> > This is what is rendered
> >
> >
> http://img.photobucket.com/albums/v294/jammiedodgers/Brian/panelTabbed.jpg
> >
> > None of the tab headers (Single Address, Landmark, Intersection, Hundred
> > Block) are being rendered as links, so there is no way to navigate
> between
> > the tabs.
> >
> > I did find this JIRA, I am not sure if it is the same problem.
> > ADFFACES-233
> >
> http://issues.apache.org/jira/browse/ADFFACES-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> >
> > Thanks,
> >
> > -Brian
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message