Professional Documents
Culture Documents
show();" data-backdrop="static"></p:commandB
utton>
<div class="btn-group">
<button class="btn btn-danger" data-toggle="modal" data-target="#dlg2" onclick
="PF('dlg2').show();" data-backdrop="static"> teste</button>
</div>
<div class="form-group">
<p:dialog header="Pesquisa de Produto" widgetVar="dlg2" modal="true" height="100
">
<h:form id="form">
<!--Campo Nome -->
<label class="control-label col-sm-1" for="nome">NOME:</label>
<div class="col-sm-6 col-md-6 col-lg-7 ">
<h:inputText class="form-control" id="nome" placeholder="DIGITE
O NOME" value="#{gerirReferenciaComercialBEAN.ref.strreferencia}"/>
<a href="" >
<h:commandLink styleClass="btn btn-success" action="#{gerirRefe
renciaComercialBEAN.listagem()}">
<span>PESQUISAR</span>
</h:commandLink>
</a>
</div><br/><br/><br/>
<p:growl id="msgs" showDetail="true" />
<p:dataTable id="eventsDT" var="car" value="#{gerirReferenciaComercialBEAN.l
streferencia}" selectionMode="single" selection="#{geri}" rowKey="#{car.intidref
erencia}">
<f:facet name="header">
LISTAGEM REFERNCIAL COMERCIAL
</f:facet>
<!-- p:ajax event="rowSelect" listener="#{dtSelectionView.onRowSelect}"
update=":form:msgs" />
<p:ajax event="rowUnselect" listener="#{dtSelectionView.onRowUnselect}"
update=":form:msgs" /> -->
<p:column headerText="IDENTIFICADOR">
<h:outputText value="#{car.intidreferencia}" />
</p:column>
<p:column headerText="EMPRESA">
<h:outputText value="#{car.strreferencia}" />
</p:column>
<p:column headerText="TELEFONE">
<h:outputText value="#{car.strtelefone}" />
</p:column>
<p:column headerText="CIDADE">
<h:outputText value="#{car.strcidade}" />
</p:column>
</p:dataTable>