dev@javaserverfaces.java.net

How to trigger an action in navigationMenuItem of JScookmenu

From: pragathi <ephronkousalya_at_gmail.com>
Date: Thu, 22 Feb 2007 05:06:39 -0800 (PST)

Hello,
Can anybody help me in solving this?

I have created a Web application using JSF and for menu display im using
JSCookmenu from the below given link

http://www.irian.at/myfaces/home.jsf
The JSP page code is as follows

<h:form>
    
    <t:jscookMenu layout="hbr" theme="ThemeOffice"
styleLocation="css/jscookmenu">
      <%/* Availaible jscookMenu themes: ThemeIE, ThemeMiniBlack,
ThemeOffice, ThemePanel
             Availaible jscookMenu layout: hbr, hbl, hur, hul, vbr, vbl,
vur, vul
             respect to Heng Yuan http://www.cs.ucla.edu/~heng/JSCookMenu
        */%>
   
     <t:navigationMenuItem id="nav_1" itemLabel="#{msg['nav_Home']}"
itemValue="go_home"
       action="#{LoginAction.showhome}"/>

   </t:jscookMenu>

When i pass a link in action its getting redirected but when i pass an
action like Loginaction.showhome it is not getting redirected..

How should i use the action to trigger to a function like above and show
dynamic values in jsp page??


Thanks
Pragathi

-- 
View this message in context: http://www.nabble.com/How-to-trigger-an-action-in-navigationMenuItem-of-JScookmenu-tf3272610.html#a9099469
Sent from the javaserverfaces dev mailing list archive at Nabble.com.