myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Libol (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (TRINIDAD-1498) commandNavigationItem does not get renedered within a navigationTree if rendered attribute of commandNavigationItem is set by valuebinding
Date Thu, 04 Jun 2009 15:59:07 GMT
commandNavigationItem does not get renedered within a navigationTree if rendered attribute
of commandNavigationItem is set by valuebinding
------------------------------------------------------------------------------------------------------------------------------------------

                 Key: TRINIDAD-1498
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1498
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 1.0.10-core
         Environment: win xp, websphere v6.1 jre, websphere application server v6.1, myfaces
1.1.5, trinidad 1.0.10
            Reporter: Tom Libol


example code:

		<tr:form>
			<tr:navigationTree var="node" value="#{MenuController.menuModel}">
				<f:facet name="nodeStamp">
					<tr:commandNavigationItem text="#{node.label}" action="#{node.action}" rendered="#{node.visible}"/>
				</f:facet>
			</tr:navigationTree>			
		</tr:form>

after debugging the source code I realized that evaluating the value of the attribute rendered
ALWAYS returns false ignoring the value of visible. If you use rendered="true" (without valuebinding)
then it works but this is not the desired behavior.
Nesting commandNavigationItem within a navigationPane instead works properly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message