I have autoComplete inside dataTable which is using completeMethod. Is it possible to pass row object to the completeMethod bean implementation or somehow let the bean know on which row object I am currently working? Thank you.
Pseudo code:
<p:dataTable var="selection" value="#{bean.selections}">
<p:column headerText="Selection">
<p:autoComplete id="dd" dropdown="true" value="#{bean.country}"
completeMethod="#{bean.completeText(selection)}">
<p:ajax event="itemSelect"/>
</p:autoComplete>
</p:column>
</p:dataTable>