Primefaces 6-未触发commandlink操作
我在Jsf2.0和mojarra 2.0.9-SNAPSHOT上使用primefaces6.0 我在面板的actions方面有一个commandLink。此面板是使用ui:repeat呈现的,因此是动态的。面板在选项卡中分组 因此,我有动态p:tab,在每个选项卡中,面板都使用ui:repeat呈现 我的问题是commandLInk操作或actionlistener仅为每个选项卡的第一个面板调用。当我单击同一选项卡的其他面板时,不会触发该操作 有线索吗 下面是我的xhtml代码Primefaces 6-未触发commandlink操作,primefaces,jsf-2,Primefaces,Jsf 2,我在Jsf2.0和mojarra 2.0.9-SNAPSHOT上使用primefaces6.0 我在面板的actions方面有一个commandLink。此面板是使用ui:repeat呈现的,因此是动态的。面板在选项卡中分组 因此,我有动态p:tab,在每个选项卡中,面板都使用ui:repeat呈现 我的问题是commandLInk操作或actionlistener仅为每个选项卡的第一个面板调用。当我单击同一选项卡的其他面板时,不会触发该操作 有线索吗 下面是我的xhtml代码 <p:ta
<p:tabView id="tabViewId"
value="#{userdashboard.chartGroupsList}" var="cg" onTabShow="reflowChart()">
<p:tab title="#{cg.groupName}" >
<ui:repeat var="c" value="#{cg.charts}" varStatus="status">
<ui:fragment rendered="#{c.typeCode ne 'TABLE1'}">
<div class="Container#{c.chartSpecificContainerWidth} Responsive#{c.chartSpecificContainerWidth} NoIndent"
id="parentDivId#{c.rowid}" >
<p:panel header="" styleClass="panelChart"
toggleable="true" toggleOrientation="horizontal">
<f:facet name="actions" >
<p:commandLink styleClass="ui-panel-titlebar-icon ui-corner-all ui-state-default"
action="#{userdashboard.updateUIColumnLayout}" ajax="false">
<h:outputText value="#{c.id}"/>
</p:commandLink>
</f:facet>
</p:panel>
</ui:fragment>
</ui:repeat>
</p:tab>
</p:tabView>
它是否访问该方法@YagamiLight只访问每个选项卡的第一个面板的方法,但不访问其他面板的方法