Hi, I am trying to get the tomahawk jscookmenu working. I downloaded the js scripts from http://jscook.yuanheng.org/JSCookMenu/ and I have a simple page like this: <ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:c="http://java.sun.com/jstl/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:t="http://myfaces.apache.org/tomahawk" template="/template/mainTemplate.xhtml"> <ui:param name="pageLabel" value="Menu" /> <ui:define name="mainContent"> <h:form> <input type="hidden" name="jscook_action" /> <t:jscookMenu layout="hbr" theme="ThemeIE" > <t:navigationMenuItem id="item1" itemLabel="Job Status Report" action="STATUS_REPORT"/> <t:navigationMenuItem id="item2" itemLabel="Scheduler Status" action="JOB_STATUS"/> </t:jscookMenu> </h:form> </ui:define> </ui:composition> The actions are simpel forwards in the faces-navigation xml: <navigation-rule> <from-view-id>index.xhtml</from-view-id> <navigation-case> <from-outcome>STATUS_REPORT</from-outcome> <to-view-id>/reports/report.xhtml</to-view-id> </navigation-case> <navigation-case> <from-outcome>JOB_STATUS</from-outcome> <to-view-id>/status/status.xhtml</to-view-id> </navigation-case> </navigation-rule> The scripts for the cookmenu are in my template page: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:t="http://myfaces.apache.org/tomahawk"> <head> <t:stylesheet path="/_css/DKIB.css"/> <!-- JSCook Menu --> <script language="JavaScript" src="/dss/_scripts/JSCookMenu.js"/> <script language="JavaScript" src="/dss/_scripts/theme.js"/> <script language="JavaScript" src="/dss/_scripts/effects.js"/> <link rel="stylesheet" href="/dss/_css/theme.css" type="text/css"/> </head> <body style="top-margin:0px; left-margin:0px; right-margin:0px"> <ui:insert name="mainContent"> Default main content </ui:insert> </center> </body> </html> What I am doing wrong ? I wanted a simple jscookmenu with 2 link which forwards to another page. regards Michael ________________ Dresdner Bank AG Sitz/Registered Office: Frankfurt am Main, Handelsregister/Commercial Register: Amtsgericht/Local Court, Frankfurt am Main, HRB 14000 Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Michael Diekmann Vorstand/Board of Managing Directors: Herbert Walter (Vorsitzender/Chairman), Andreas Georgi, Stefan Jentzsch, Wulf Meier, Andree Moschner, Klaus Rosenfeld, Otto Steinmetz, Friedrich Woebking This e-mail is confidential and the information contained in it may be privileged. It should not be read, copied or used by anyone other than the intended recipient. If you have received it in error, please contact the sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and delete the e-mail and do not disclose its contents to any person. We believe, but do not warrant, that this e-mail and any attachments are virus free, but you must take full responsibility for virus checking. Please refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer statement and monitoring policy. ________________

