ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:dialogPerson="http://java.sun.com/jsf/composite/components/dialogPerson"
xmlns:components="http://java.sun.com/jsf/composite/components"
>
<h:form id="form">
<p:growl id="growl" life="2000" />
<components:InputIdXmShowList action="#{rHAction.buttonAction}"
list="#{rHAction.queryList}" sfz="#{rHAction.SFZMHM}" xm="#{rHAction.XM}">
</components:InputIdXmShowList>
<dialogPerson:dialogPerson/>
</h:form>
<composite:interface>
<composite:attribute name="list"/>
<composite:attribute name="action"
method-signature="void action(javax.faces.event.ActionEvent )"
/>
<composite:attribute name="sfz" required=""/>
<composite:attribute name="xm" required=""/>
</composite:interface>
<composite:implementation>
<p:commandButton actionListener="#{cc.attrs.action}" value="查询" ajax="false"
id="iconOnly" update="out @widgetVar(personDetail),form" icon="ui-icon-disk"
title="查询"/>
</p:column>
public void buttonAction(ActionEvent actionEvent) {
query();
}
public void histBrow(ActionEvent actionEvent) {
histBrowList=sysService.getHistBrow(XM,SFZMHM);
}