myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger" <mkien...@gmail.com>
Subject Re: Issue with Tomahawk Menu
Date Fri, 01 Jun 2007 20:53:30 GMT
This looks to me like the same issue as with "Problem with Binding in
tr:table " -- your managed beans aren't being initialized.

I think Andrew is probably farther along with helping you on that line
than I am.

On 6/1/07, Anupama Dande <dande.anupama@gmail.com> wrote:
> Both.
>
> --Anu
>
>
>
> On 6/1/07, Mike Kienenberger <mkienenb@gmail.com> wrote:
> > Is it umenu.menu = null or is it umenu = null?
> >
> > On 6/1/07, Anupama Dande < dande.anupama@gmail.com> 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 <mkienenb@gmail.com> 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 < dande.anupama@gmail.com> 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 < mkienenb@gmail.com> 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 < dande.anupama@gmail.com> 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
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>

Mime
View raw message