Verifique qual a action que ao executar esta ignorando a parametro , configure o Form dessa action ou tire ele do form… ex:
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.prime.com.tr/ui">
<h:head>
<!-- <link type="text/css" rel="stylesheet" href="../dot-luv/skin.css"/> -->
<link type="text/css" rel="stylesheet" href="../css/index.css"/>
</h:head>
<h:body>
<h:form> <!-- com esse form a classe/methodo itenTreeController.URL_LayoutCenter nao pode ser acessado na sessão -->
<p:commandButton id="naoexecuta" update="ttt" actionListener="#{itenTreeController.URL_LayoutCenter}" style="font-size: 11px"
value="teste"></p:commandButton>
</h:form>
<p:commandButton id="Simexecuta" update="ttt" actionListener="#{itenTreeController.URL_LayoutCenter}" style="font-size: 11px"
value="teste"></p:commandButton>
</h:body>
</html>
@ManagedBean
@RequestScoped
public class UmqlqController {
public void URL_LayoutCenter(javax.faces.event.ActionEvent evt ) {
if(evet.getComponent().getId().equals("XYZ")
faça algo!.......
}
set and gates necessarios .......