Fala galera,
To com um problema em 2 p:commandButton onde um deles executa o action normalmente para gerar uma p:dataTable. Dentro desta dataTable um um outro commandButton que tem que “selecionar” uma linha e direcionar para outra pagina, porem este segundo não executa o método do action atribuído pra ele. Eles estão dentro de um form mais ele executa somente o 1 botão. Quando clica no segundo dentro da dataTable, ele da um refresh na tela e não executa o action dele.
JSF:
<h:body>
<ui:include src="/gip/menu_gip.xhtml"/>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><h:outputText value="#{sessionScope.v_pagina_caminho}" escape="false" style="font-size: 8pt; font-weight:bold;letter-spacing: 2pt;" /></td>
</tr>
<tr>
<td>
<table align="center" border="0" cellspacing="2" width="80%">
<tr>
<td align="justify"><h:outputText value="#{sessionScope.v_pagina_descricao}" escape="false" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><p:separator /></td>
</tr>
<tr>
<td>
<h:form id="form">
<div style="position: relative; width: 100%; height: 730px; z-index: 1; left:0px; top: 0px;" id="conteudo">
<div style="position: absolute; width: 100px; height: 20px; z-index: 1; left: 5px; top: 9px" id="lbSite">
<b>SITE:</b>
</div>
<div style="position: absolute; width: 100px; height: 20px; z-index: 1; left: 5px; top: 34px" id="lbNome">
<b>NOME:</b>
</div>
<div style="position: absolute; width: 100px; height: 20px; z-index: 1; left: 5px; top: 61px" id="lbUser">
<b>USUÁRIO:</b>
</div>
<div style="position: absolute; width: 100px; height: 20px; z-index: 1; left: 5px; top: 87px" id="lbPerfil">
<b>PERFIL:</b>
</div>
<div style="position: absolute; width: 100px; height: 20px; z-index: 1; left: 5px; top: 114px" id="lbStatus">
<b>BLOQUEADO:</b>
</div>
<div style="position: absolute; width: 300px; height: 20px; z-index: 1; left: 110px; top: 7px" id="cbSite">
<p:selectOneRadio id="cbSite" value="#{gipConfigGestaoUser.cpUf}">
<f:selectItem itemLabel="DF" itemValue="DF" />
<f:selectItem itemLabel="GO" itemValue="GO" />
<f:selectItem itemLabel="MS" itemValue="MS" />
<f:selectItem itemLabel="PR" itemValue="PR" />
<f:selectItem itemLabel="RJ" itemValue="RJ" />
</p:selectOneRadio>
</div>
<div style="position: absolute; width: 300px; height: 20px; z-index: 1; left: 110px; top: 35px" id="cbNome">
<h:inputText id="cbNome" value="#{gipConfigGestaoUser.cpNome}" style="width: 390px" styleClass="inputText"/>
</div>
<div style="position: absolute; width: 300px; height: 20px; z-index: 1; left: 110px; top: 63px" id="cbUser">
<h:inputText id="cbUser" value="#{gipConfigGestaoUser.cpUser}" style="width: 390px" styleClass="inputText"/>
</div>
<div style="position: absolute; width: 300px; height: 20px; z-index: 1; left: 110px; top: 89px" id="cbPerfil">
<p:selectOneMenu id="cbPerfil" value="#{gipConfigGestaoUser.cpPerfil}" style="width: 400px;">
<f:selectItem itemLabel="SELECIONE UM PERFIL" itemValue="" />
<f:selectItems value="#{gipConfigGestaoUser.listaPerfil}" />
</p:selectOneMenu>
</div>
<div style="position: absolute; width: 300px; height: 20px; z-index: 1; left: 110px; top: 114px" id="cbStatus">
<p:selectOneRadio id="cbStatus" value="#{gipConfigGestaoUser.cpStatus}">
<f:selectItem itemLabel="INATIVO" itemValue="0" />
<f:selectItem itemLabel="ATIVO" itemValue="1" />
<f:selectItem itemLabel="TODOS" itemValue="0,1"/>
</p:selectOneRadio>
</div>
<div style="position: absolute; width: 150px; height: 30px; z-index: 1; left: 409px; top: 150px" id="btnLocalizar">
<p:commandButton id="btnPesquisar" ajax="true" value="PESQUISAR" action="#{gipConfigGestaoUser.evLocalizar()}" update="listaUser" icon="ui-icon-search" onclick="PF('statusDialog').show();" styleClass="btnStyle3" style="width: 150px; height: 30px"/>
</div>
<div style="position: absolute; width: 99%; height: 400px; z-index: 1; left: 5px; top: 190px;" id="divLista">
<p:dataTable id="listaUser" emptyMessage="Nenhum resultado encontrado!" scrollHeight="380" scrollable="true" var="item" value="#{gipConfigGestaoUser.lista}" >
<p:column headerText="SITE" style="vertical-align: top;text-align:center" width="5%">
<h:outputText value="#{item.campo1}"/>
</p:column>
<p:column headerText="MATRICULA" style="vertical-align: top;text-align:center" width="10%">
<h:outputText value="#{item.campo2}"/>
</p:column>
<p:column headerText="NOME" width="30%">
<h:outputText value="#{item.campo3}" title="#{item.campo4}"/>
</p:column>
<p:column headerText="CARGO" style="vertical-align: top;text-align:center">
<h:outputText value="#{item.campo5}"/>
</p:column>
<p:column headerText="PERFIL" style="vertical-align: top;text-align:center">
<h:outputText value="#{item.campo7}"/>
</p:column>
<p:column headerText="AÇÃO" style="vertical-align: top; text-align:center" width="6%">
<p:commandButton id="btnDetalhes" ajax="false" action="#{gipConfigDetalharUsuario.evDetalhaUsuario()}" icon="ui-icon-circle-arrow-e" style="text-align:center" styleClass="btnAcess" title="#{item.campo4}">
<f:setPropertyActionListener target="#{gipConfigDetalharUsuario.tmpMatricula}" value="#{item.campo3}" />
</p:commandButton>
</p:column>
</p:dataTable>
</div>
</div>
</h:form>
</td>
</tr>
</table>
</h:body>
já não sei mais o que fazer. Já tentei colocar em forms diferentes, acrescentar process="@this" mais tudo isso sem sucesso.