Olá pessoal, estou com um problema com a tag “<h:commandLink>”, quando tento utilizar ela junto com tabPanel ela não funciona e nem me apresenta nenhum erro, o codigo de minha teplate, nenhum dos link estão funcionando.
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<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:rich=“http://richfaces.ajax4jsf.org/rich”
xmlns:a4j=“http://richfaces.org/a4j”>
<head>
<meta http-equiv=“Content-Type” content=“text/html; charset=UTF-8” />
<style>
.rich-text-general {
font-size: 12px /<em>generalSizeFont</em>/;
font-family: Arial, Verdana, sans-serif /<em>generalFamilyFont</em>/;
color: #000000 /<em>generalTextColor</em>/;
FONT-WEIGHT: bold
}
}
</style>
</head>
<body>
<ui:insert name=“topo”>
<link rel=“STYLESHEET” type=“text/css” href="/css/rich-styles.css"
media=“screen” />
<h:form>
<h3 style=“text-align: right; margin: 0; padding: 0;”><h:commandLink
style=“text-decoration: none;” styleClass=“rich-button”
onmouseover=“this.className=‘rich-button-over’”
onmouseout=“this.className=‘rich-button’”
onmousedown=“this.className=‘rich-button-press’”
onmouseup=“this.className=‘rich-button-over’”
action=“logoff”> <h:outputText value=“Logoff” /></h:commandLink> <rich:spacer width=“2%”></rich:spacer>
<h:commandLink style=“text-decoration: none;” styleClass=“rich-button”
onmouseover=“this.className=‘rich-button-over’”
onmouseout=“this.className=‘rich-button’”
onmousedown=“this.className=‘rich-button-press’”
onmouseup=“this.className=‘rich-button-over’”
action=“alterarsenha”><h:outputText value=“Alterar Senha” /></h:commandLink> <rich:spacer width=“2%” /> <h:commandLink
style=“text-decoration: none;” styleClass=“rich-button”
onmouseover=“this.className=‘rich-button-over’”
onmouseout=“this.className=‘rich-button’”
onmousedown=“this.className=‘rich-button-press’”
onmouseup=“this.className=‘rich-button-over’” action=“cadastroCredenciado”>
<h:outputText value=" Cadastro de usuário" />
</h:commandLink> <rich:spacer width=“2%” />
<h:outputText value="Usuario Logado:" styleClass="rich-text-general"></h:outputText><h:outputText
value="#{loginHandler.login}" styleClass="rich-text-general" /> <rich:spacer
width="23"></rich:spacer></h3>
</h:form>
</ui:insert>
<ui:insert name=“corpo” />
</body>
</html>