[ 
https://issues.apache.org/jira/browse/TRINIDAD-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471411#comment-13471411
 ] 

Arjun Vade commented on TRINIDAD-2295:
--------------------------------------

Using org.apache.myfaces.trinidadinternal.menu.MenuContentHandlerUsingApiImpl 
instead of MenuContentHandlerImpl should solve your issue.
                
> Deprecated menu objects
> -----------------------
>
>                 Key: TRINIDAD-2295
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2295
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.1-core
>            Reporter: Tomas Havelka
>
> All the menu objects in the package org.apache.myfaces.trinidadinternal.menu 
> was made deprecated with suggestion to use those from the 
> org.apache.myfaces.trinidad.menu, but that classes are completely separated 
> and does not inherit from each other. MenuContentHandlerImpl still creates 
> the deprecated instances, so one cannot cast the XMLMenuModel objects to 
> those not deprecated. That's why the deprecation is nonsensical.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to