Results 1 to 2 of 2

Thread: MyFaces Tomahawk JSCookMenu Experience?

  1. #1
    Join Date
    Mar 2011
    Posts
    6

    Default MyFaces Tomahawk JSCookMenu Experience?

    I am exploring migrating a web application from struts to spring webflow and I have started a POC app using all the latest releases of spring and myfaces. I have a basic landing page running with facelets templates and now I would like to add the jscookmenu components supported by tomahawk. Does anyone have any experience with this and have any advice on setting it up?

  2. #2
    Join Date
    Feb 2007
    Posts
    143

    Default

    Hi,

    I have done the same.
    Once your webflow is working, you should be able to include your JScookmenu and be able to see the menus.

    Code:
    <t:jscookMenu layout="hbr" theme="ThemeOffice" styleLocation="/css-framework/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="navSHome" itemLabel="Home"  action="go_home" />
        <t:navigationMenuItem id="navSearch" itemLabel="Search"  >
    			<t:navigationMenuItem id="navSearchMutliView" 
    				itemLabel="Stock"   action="#act1" />
    			<t:navigationMenuItem id="navSearchMutliView" 
    				itemLabel="Supply"   action="#act2" />
    			
    					
    			
    	</t:navigationMenuItem>
    	
    	
    </t:jscookMenu>

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •