You say the problem is intermitent. I assume you mean some of the time it
works, and some it doesn't.

Since your bean is session-scoped, could it be that the session expired and
your bean has been discarded?

On 6/1/07, Anupama Dande <[EMAIL PROTECTED]> wrote:

Hi Mike,

    Maybe both issues (NavigationMenuItem and the binding) are related. I
wasn't able to troubleshoot much.

    I hope to fix it with help from u guys. This is my first topic on this
forum. It is great to get the replies so prompt.

Thanks to all of you,
Anu


On 6/1/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
>
> 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 <[EMAIL PROTECTED]> wrote:
> > 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
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>


Reply via email to