Both. --Anu
On 6/1/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
Is it umenu.menu = null or is it umenu = null? On 6/1/07, Anupama Dande <[EMAIL PROTECTED]> wrote: > Hi Mike, > > Method Signature : public List<NavigationMenuItem> getMenu() > > This problem is intermittent. Every time this happens I have to create a > new workspace in Eclipse... and that solves the issue, maybe there is some > Caching issue with Eclipse. I am deploying my web application from Eclipse > IDE. > > Actually i should say the menu is returning null when this error occurs > if I try to print > > MENU ITEM VALUE : <h:outputText value="#{ umenu.menu}"/> > > I tried to debug, it is not breaking at getMenu() method .. for some > reason. Do you think it is some caching problem? > > > Thanks, > Anu > > > On 6/1/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > > 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 > > > > > > > > > > > > > > > > > > >