[ 
https://issues.apache.org/jira/browse/ADFFACES-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465992
 ] 

Renzo Tomaselli commented on ADFFACES-275:
------------------------------------------

The attached file solves this issue as well as another one - preventing 
rendering of stamped items when there are not direct children. Patched lines 
are marked by "// RT".

> panelPage/navigationPane combo does not support nodeStamp facet properly
> ------------------------------------------------------------------------
>
>                 Key: ADFFACES-275
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-275
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>          Components: Build
>         Environment: JBoss 4.0.4/Windows XP
>            Reporter: David Sanders
>         Attachments: NavigationPaneRenderer.java
>
>
> actions do not seem to work.  The page renders okay, but clicking on 
> different tabs sends me to the same/current page.  I am sure that my 
> faces-config.xml is setup properly, aliases and all, as it worked with page 
> component other than global buttons issue (see my other bug report), which is 
> why I moved to trying panelPage component.  Here is code:
>       <tr:panelPage>
>               <f:facet name="navigationGlobal">
>                       <tr:navigationPane 
>                               var="node" 
>                               value="#{navigationModel.model}" 
>                               level="0" 
>                               hint="buttons">
>                               <f:facet name="nodeStamp">
>                                       <tr:commandNavigationItem
>                                               text="#{node.label}"
>                                               action="#{node.getOutcome}"
>                                               
> rendered="#{node.type=='global'}"/>
>                               </f:facet>
>                       </tr:navigationPane>                                  
>               </f:facet>              
>               <f:facet name="navigation1">
>                       <tr:navigationPane
>                               var="node" 
>                               value="#{navigationModel.model}" 
>                               level="0" 
>                               hint="tabs">
>                               <f:facet name="nodeStamp">
>                                       <tr:commandNavigationItem
>                                               text="#{node.label}"
>                                               action="#{node.getOutcome}"
>                                               
> rendered="#{node.type!='global'}"/>
>                               </f:facet>
>                       </tr:navigationPane>
>               </f:facet>
>               <f:facet name="navigation2">
>                       <tr:navigationPane 
>                               var="node" 
>                               value="#{navigationModel.model}" 
>                               level="1" 
>                               hint="bar">
>                               <f:facet name="nodeStamp">
>                                       <tr:commandNavigationItem
>                                               text="#{node.label}"
>                                               action="#{node.getOutcome}"/>
>                               </f:facet>
>                       </tr:navigationPane>                                  
>               </f:facet>
>           <f:facet name="location">
>             <tr:breadCrumbs var="node" 
>               value="#{navigationModel.model}">
>                               <f:facet name="nodeStamp">
>                                       <tr:commandNavigationItem
>                                               text="#{node.label}"
>                                               action="#{node.getOutcome}"/>
>                               </f:facet>
>                       </tr:breadCrumbs>
>               </f:facet>              

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to