incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <awi...@gmail.com>
Subject Re: Problem with tr:panelTabbed rendering
Date Thu, 25 Jan 2007 16:42:15 GMT
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
View raw message