setPropertyListener

        <af:toolbar id="t2">
          <af:button text="分配" id="b1" useWindow="true"  returnListener="#{xysfpBean.returnEvent}" action="fp" icon="/images/functionicons/add.png"
                     windowWidth="450" windowHeight="420"/>
          <af:button text="批量分配" id="b2" useWindow="true"  windowHeight="550" windowWidth="750" windowModalityType="applicationModal" 
                    returnListener="#{xysfpBean.returnEvent}" icon="/images/functionicons/add_batch.png"
                     action="plfp"/>
          <af:button text="修改" id="b3" useWindow="true" windowEmbedStyle="inlineDocument" windowWidth="450" windowHeight="420"
                     windowModalityType="applicationModal" action="#{xysfpBean.getAction}" returnListener="#{xysfpBean.returnEvent}" icon="/images/functionicons/alter.png"
                     actionListener="#{xysfpBean.actionSetParam}">
            <af:setPropertyListener from="update" to="#{pageFlowScope.cz}" type="action"/>
          </af:button>
          <af:button text="删除" id="b4" action="#{xysfpBean.getAction}" useWindow="true" windowEmbedStyle="inlineDocument"
                     windowModalityType="applicationModal" returnListener="#{xysfpBean.returnEvent}" icon="/images/functionicons/delete.png"
                     actionListener="#{xysfpBean.actionSetParam}" >
          <af:setPropertyListener from="delete" to="#{pageFlowScope.cz}" type="action"/>
          </af:button>
        </af:toolbar>

 <af:setPropertyListener from="delete" to="#{pageFlowScope.cz}" type="action"/>

你可能感兴趣的:(listener)