Good evening, such a question.
I have an xml of the editor screen, a collection is loaded there (indRequests).
It has a query.
I need to get in the query the current object (municipal), which is being edited.
<groupDatasource id="indRequestsDs" class="com.company.project.entity.INDRequest" view="showRequest">
<query>
<![CDATA[select e from project$INDRequest e where EDITED_ENTITY = e.municipal]]>
</query>
</groupDatasource>