[ http://issues.apache.org/jira/browse/ADFFACES-330?page=all ]

Gary Kind updated ADFFACES-330:
-------------------------------

    Description: Extenders of the XMLMenuModel can call, via the 
PropertyResolver, into a menu node to get individual attribute values. Before 
this change,getting a node's "id" attribute would not return the value of the 
"id" attribute seen in the menu's metadata.  So I have changed MenuNode.getId() 
to return the value seen in the menu metadata (which is not necessarily 
unique).  A unique id, needed internally, is now obtained internally through 
the protected method, getUniqueId() in MenuNode.java.  (was: An approved 
enhancement request has been made that would allow extenders of the 
XMLMenuModel to call, via the PropertyResolver, into a menu node to get the 
value of its "id" attribute -- the value seen in the menu metadata (which is 
not necessarily unique).  A unique id, needed internally, is now obtained 
internally through the protected method, getUniqueId() in MenuNode.java.)

> MenuNode.getId() now returns "id" attribute value from metadata.  
> MenuNode.getUniqueId() now returns a unique id String.
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-330
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-330
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Gary Kind
>         Attachments: trunk.patch
>
>
> Extenders of the XMLMenuModel can call, via the PropertyResolver, into a menu 
> node to get individual attribute values. Before this change,getting a node's 
> "id" attribute would not return the value of the "id" attribute seen in the 
> menu's metadata.  So I have changed MenuNode.getId() to return the value seen 
> in the menu metadata (which is not necessarily unique).  A unique id, needed 
> internally, is now obtained internally through the protected method, 
> getUniqueId() in MenuNode.java.

-- 
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