Hi,
I am getting the following exception while trying to implement dynamic menu
using myfaces. The error seemed to be strange because in the backing
component ( I am using a seam component), the getter method is called
properly and I also confirmed that the object type of returning array is
of type 'org.apache.myfaces.custom.navmenu.NavigationMenuItem'
My backing DynamicMenu component is seam component
java.lang.IllegalArgumentException: Value binding of UINavigationMenuItems
with id dynamicMenus does not reference an Object of type
NavigationMenuItem, Navigat
ionMenuItem[], Collection or Map
at
org.apache.myfaces.custom.navmenu.NavigationMenuUtils.addNavigationMenuItems(NavigationMenuUtils.java:143)
at
org.apache.myfaces.custom.navmenu.NavigationMenuUtils.getNavigationMenuItemList(NavigationMenuUtils.java:100)
at
org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer.encodeChildren(HtmlJSCookMenuRenderer.java:161)
at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:319)
at
javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:343)
--
View this message in context:
http://www.nabble.com/Strange-JSCookMenu-Error-t1776830.html#a4837245
Sent from the MyFaces - Users forum at Nabble.com.