Changed XML Menu Model so that Custom Node attributes can only be used on 
itemNodes
-----------------------------------------------------------------------------------

                 Key: ADFFACES-245
                 URL: http://issues.apache.org/jira/browse/ADFFACES-245
             Project: MyFaces ADF-Faces
          Issue Type: Improvement
            Reporter: Gary Kind
         Attachments: trunk.patch

Clients using the XML Menu Model have requested that the menu model allow 
custom attributes (user-defined attributes).  This was implemented and, in the 
past, custom attributes were allowed on groupNodes and itemNodes.   However, it 
does not make sense to allow custom attributes on groupNodes, since they simply 
point to a child node and have no other function.   GroupNodes may chain on 
down through their children until an itemNode is reached.  Thus, clicking on a 
groupNode actually fires an itemNode. The itemNode does the actual navigation. 
The focusPath returned by the model when a groupNode is clicked actually goes 
all the way down the chain to the itemNode.   This it only makes sense to allow 
Custom Attributes on itemNodes.

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

        

Reply via email to