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 "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org> on 2007/03/16 08:19:09 UTC

[jira] Updated: (ADFFACES-245) Changed XML Menu Model so that Custom Node attributes can only be used on itemNodes

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

Matthias Weßendorf updated ADFFACES-245:
----------------------------------------

        Fix Version/s: 1.0.0-incubating-core
    Affects Version/s: 1.0.0-incubating-core

> Changed XML Menu Model so that Custom Node attributes can only be used on itemNodes
> -----------------------------------------------------------------------------------
>
>                 Key: ADFFACES-245
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-245
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-incubating-core
>            Reporter: Gary Kind
>         Assigned To: Jeanne Waldman
>             Fix For: 1.0.0-incubating-core
>
>         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.
-
You can reply to this email to add a comment to the issue online.