Hi Everyone,
I am currently working on a entity screen which has entity editor and a table with datacontainer related to another enity.
When user create or edit screen i want to populate the table based on the instance variable of the edit screen.
Below is my enitity editor screen xml.
<instance id="lineofBusinessDc"
class="com.company.esmdtest.entity.LineofBusiness"
view="_local">
<loader/>
</instance>
<collection id="ordersDc" class="com.company.esmdtest.entity.Error" view="_local" >
<loader id="ordersDl">
<query>
<![CDATA[select e from esmdtest_Error e where e.lobid = ds$lineofBusinessDc]]>
</query>
</loader>
</collection>
<dialogMode height="600"
width="800"/>
<layout expand="editActions" spacing="true">
<form id="form" dataContainer="lineofBusinessDc">
<column width="250px">
<textField id="nameField" property="name"/>
<textField id="content_typeField" property="content_type"/>
<checkBox id="is_esmd_claim_mandatoryField" property="is_esmd_claim_mandatory"/>
<checkBox id="is_esmd_claim_displayedField" property="is_esmd_claim_displayed"/>
<checkBox id="is_esmd_caseid_displayedField" property="is_esmd_caseid_displayed"/>
</column>
</form>
<hbox id="editActions" spacing="true">
<button action="windowCommitAndClose"/>
<button action="windowClose"/>
</hbox>
<table id="ErrorTable" height="100px" width="200px" columnControlVisible="false" dataContainer="ordersDc" >
<columns>
<column id="test"/>
</columns>
</table>
</layout>
I am currently having problem loading the dataconatiner of the table when i create a new entity. I am getting error unknown parameter “ds$lineofBusinessDc”
Please help me in resolving the issue.
Thanks in advance for the help