未知的jsf行为

时间:2017-05-09 22:36:10

标签: jsf commandbutton

我有这些情景。一个带有数据表的xhtml页面,我有一个按钮可以跳转到另一个页面:

<p:dataTable id="tablaSections" value="#{preventSectionMB.listSections}" var="item" paginator="false">
<p:column headerText="" style="width:90px;">
<p:commandButton action="listElementsSectionPrevent.xhtml" icon="fa fa-edit" title="Edit">
    <f:param name="faces-redirect" value="true"></f:param>
    <f:param name="idPrevent" value="#{item.idPrevent}"></f:param>
    <f:param name="idSection" value="#{item.idSection}"></f:param>
</p:commandButton>

它工作正常,但我不知道为什么在打开新页面(listElementsSectionPrevent.xhtml)之前它从托管bean中读取了7.7次preventSectionMB.listSections属性

由于

0 个答案:

没有答案
相关问题