Estou escrevendo uma aplicação simples para teste. O menu aparece mas o action não tem efeito.
Minha Página JSP:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ 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>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<f:view>
<h:form>
<t:jscookMenu layout="hbr" theme="ThemeOffice">
<t:navigationMenuItem itemLabel="Controle de Acesso">
<t:navigationMenuItem
action="geral" itemLabel="Quadro Geral de Terceiros"> </t:navigationMenuItem>
</t:navigationMenuItem>
</t:jscookMenu>
</h:form>
</f:view>
</body>
</html>
Meu arquivo faces-config.xml :
<?xml version="1.0" encoding="UTF-8"?>
<faces-config
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
version="1.2">
<navigation-rule>
<display-name>
principal</display-name>
<from-view-id>
/principal.jsp</from-view-id>
<navigation-case>
<from-outcome>geral</from-outcome>
<to-view-id>
/quadro_geral_terceiros.jsp</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>
Alguem pode me ajudar?