You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Nicklas Karlsson <ni...@gmail.com> on 2006/02/19 12:58:35 UTC

jscookmenu backing-bean action

Hello,

I am trying ouy a simple menu like

<t:jscookMenu layout="hbr" theme="ThemeOffice">
    <t:navigationMenuItem id="nav_2" itemLabel="Example 2">
        <t:navigationMenuItem id="nav_2_1"
                itemLabel="Sample 1" action="#{conceptBean.ping}" />
        <t:navigationMenuItem id="nav_2_1"
                itemLabel="Sample 1" action="#{conceptBean.ping}" />
    </t:navigationMenuItem>
</t:jscookMenu>

but I am unable to get the menu to fire the ping methods, it just returns to
the original page. The menu renderes
fine so it shouldn't be a scripts issue and the bean registers fine so I
shouldn't be a managed bean issue(?) What
could cause this?

Thanks in advance,
  Nik

Re: jscookmenu backing-bean action

Posted by Nicklas Karlsson <ni...@gmail.com>.
Got it. It turned out to be a bad idea to put it into an existing <h:form>