You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Gregor Sfiligoj (JIRA)" <ad...@incubator.apache.org> on 2007/02/22 09:09:06 UTC

[jira] Updated: (ADFFACES-275) panelPage/navigationPane combo does not support nodeStamp facet properly

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

Gregor Sfiligoj updated ADFFACES-275:
-------------------------------------

    Attachment: NavigationPaneRenderer.java

The source in SVN (Revision 508250) is still not working.
This attachment fix both actions on level > 0 and manage selected commandNavigationItems.

> 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
>         Assigned To: Adam Winer
>         Attachments: NavigationPaneRenderer.java, 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.
-
You can reply to this email to add a comment to the issue online.