What is the method signature of myPackage.TestMenu.getMenu()?
What is the contents of getMenu()? I don't see that the scope will matter provided that umenu is non-null. On 6/1/07, Anupama Dande <[EMAIL PROTECTED]> wrote:
Hi Mike, It is NavigationMenuItem (org.apache.myfaces.custom.navmenu.NavigationMenuItem) Collection. I am using Tomahawk JSCookMenu in test.xhtml as <t:jscookMenu layout="hbr" theme="ThemeOffice" > <t:navigationMenuItems value="#{umenu.menu}" /> </t:jscookMenu> <input type="hidden" name="jscook_action" /> and in the faces_config.xml file the entry is <managed-bean> <description>User Menu</description> <managed-bean-name>umenu</managed-bean-name> <managed-bean-class>myPackage.TestMenu</managed-bean-class> <managed-bean-scope>session</managed-bean-scope> </managed-bean> I tried changing the scope from session to none .. but the error just keeps coming. I am using Facelets, Trinidad, Tomahawk for the Presentation. If you need more information please let me know. Thanks, Anu On 6/1/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > Seems pretty straight forward -- what's the value binding of the _id14 > component bound to? Apparently not a NavigationMenuItem or collection > of NavigationMenuItems. > > On 6/1/07, Anupama Dande < [EMAIL PROTECTED]> wrote: > > Hi, > > > > I am getting the following error > > > > SEVERE: Error Rendering > > View[/common/xhtml/jcm/createChangeOrder/manageChangeOrders.xhtml] > > java.lang.IllegalArgumentException: Value binding of > > UINavigationMenuItems with id menuForm:_id14 does not reference an Object of > > type NavigationMenuItem, NavigationMenuItem[], Collection or Map > > > > Any help is highly appreciated. > > > > Thanks, > > Anu > > >