大家好我有tabview:
<p:tabView value="#{beanPlanning.plannings}"
var="planning" id="tabview"
widgetVar="myTabView"
activeIndex="#{beanPlanning.index}"
cache="false"
>
<p:ajax event="tabChange" process="@this" listener="#{beanPlanning.elementSelected(planning.id)}" update="tabview"/>
<p:tab title="#{planning.libelle}" >
<p:panelGrid>
<ui:repeat value="#{beanPlannin.tasksFactorys}" var="tf">
<p:row>
<p:column>
<h:outputText value="#{tf.libelle}"/>
</p:column>
<p:column>
<p:selectBooleanCheckbox value="#{tf.affiche}" />
<h:outputText value="#{messages.PFafficheCheckox}" />
</p:column>
<p:column>
<p:colorPicker value="#{tf.coleur}" />
</p:column>
...
但是当我想保存数据时,可能只保存最后一个标签的数据!!!