Jsf 未调用PrimeFaces树型commandButton

Jsf 未调用PrimeFaces树型commandButton,jsf,primefaces,Jsf,Primefaces,我知道以前有人问过这个问题,但所有的答案都不起作用,或者都是针对Primefaces的旧版本 我有一个简单的为什么你要将那些关联的瞬态设置为真?好的,现在我不确定它为什么在那里。移除了它,但并没有解决问题。谢谢您指出。您能将process=“@this”添加到您的命令按钮并重试吗?没有任何区别 <p:treeTable var="ou" value="#{oumanagement.ouTree}" class="userList" id="outable"

我知道以前有人问过这个问题,但所有的答案都不起作用,或者都是针对Primefaces的旧版本


我有一个简单的
为什么你要将那些
关联的
瞬态
设置为
?好的,现在我不确定它为什么在那里。移除了它,但并没有解决问题。谢谢您指出。您能将
process=“@this”
添加到您的命令按钮并重试吗?没有任何区别
<p:treeTable var="ou" 
    value="#{oumanagement.ouTree}" 
    class="userList" 
    id="outable"
    selectionMode="single">

    <f:facet name="header">
        <h:outputText value="List of Organisational Units" />
    </f:facet>

    <p:column headerText="Organisational Unit" >
        <h:outputText value="#{ou.name}" />
    </p:column>

    <p:column>
        <p:commandButton action="#{oumanagement.remove(ou.id)}" icon="fa fa-trash-o" update=":ouform:outable :ouform:msgs" transient="true">
           <p:confirm header="Are You Sure" message="Are you sure?" icon="ui-icon-alert" />
        </p:commandButton>
     </p:column>
     <p:column>
         <p:commandButton action="#{oumanagement.viewDetails(ou.id)}" icon="fa fa-sliders" transient="true"  ajax="false"/>
      </p:column>
</p:treeTable>
public String viewDetails(int id) {
    activeOU = ouService.find(id);
    FacesContext.getCurrentInstance().getExternalContext().getFlash().put("ou", activeOU);
    return "/pages/secure/organisationManagement/details";
}