I'am using Tomahawk 1.1.3 and I'am not a developper of MyFaces. My menu is created dynamically in PageBean because it depends on permissions and developement progress. That means that the NavigationMenuItem objects were not declared in JSP.
When you look at MyFacesHack.js you find 3 possibilities of using the menu. 1. URL Set action to "http://...". 2. JavaScript Set action to "javascript:myFunction()". 3. JSF action method (or action listener method) There are some bugs (or features) you have to pay attention to. 1. The renderer overwrites all targets with the id of the enclosing HTML form element. (They were interpreted as form names.) That means in case 1 always the same window is used (with name for example 'Menu:form1', if JSCookMenu is part of a PageFragment named Menu.jspf). To avoid this you can use case 2 (or change a line in renderer class). Set action to "javascript:window.open('http://...', '_blank')". In this case the target/form name is interpreted as target. 2. Read my message from yesterday. Ken McArthur schrieb: > Hi, > > Is there any way to use jscookMenu with a basic url instead of having to > declare an action navigation rule? > > Thanks, > Ken