Olá a todos…
Galera estou tentando usar o jscookMenu e estou com um erro maluco de JavaScrip que é o seguinte:
'elementos.jscook_action' é nulo ou não é um objeto
Este erro contece quando eu coloco o item action do menu.
Vejam o meu codigo:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<html>
<head>
<title>Log Corporativo para Auditoria de Sistemas</title>
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/css/basic.css" />
</head>
<body>
<f:view>
<h:form id="form1">
<!-- INCLUI O MENU DINAMICO -->
<t:jscookMenu layout="hbr" theme="ThemeOffice" >
<t:navigationMenuItem id="nmi14_4" itemLabel="menu144" action="importarsistema" />
</t:jscookMenu>
</h:form>
</f:view>
</body>
</html>
AJUSTE==============================
Eu estou usando o tomahawk com ajax4jsf.
E foi eu colocar a tag de import: <%@ taglib uri=“https://ajax4jsf.dev.java.net/ajax” prefix=“a4j”%> que o código funcionou!
É fogo! É sempre uma besteira… 
Obrigado a todos :lol: