Good morning everyone .. Could anyone get a question? Good is this, I have a component of primefaces autocomplete and a datatable, however when I perform a autocomplete search, it does not update my datatable, how do I do this?
Below is my autocomplete and my datatable:
<p:autoComplete id="station_select"
value="#{pmvBean.pmv}"
completeMethod="#{pmvBean.completePmv}"
var="pmv" itemValue="#{pmv}"
itemLabel="#{pmv.location}"
converter="pmvConverter"
styleClass="autoComplete-1"
placeholder="#{bundle['system.msg.history.selectPmv']}"
dropdown="true"
scrollHeight="500">
</p:autoComplete>
<p:dataTable id="pmv_datatable" value="#{pmvBean.listPmv}"
widgetVar="pmvDatatable" var="pmv" rowKey="#{pmv.id}"
sortBy="#{pmv.location}"
emptyMessage="#{bundle['system.ui.label.emptyDataTable']}"
style="margin-top: 10px;">