Hi isomorphic,
When I click on the + icon in order to add files, it shows the screen where it should allow me to capture the file however this is not displayed correctly, since not appears the controls.
The masterRecord datasource code is:
The detailRecord datasource code is:
The JSP code is:
It does not show any errors on the apache tomcat console, and also does not show any error over firebug.
Please help me in order than me can resolve this problem
When I click on the + icon in order to add files, it shows the screen where it should allow me to capture the file however this is not displayed correctly, since not appears the controls.
The masterRecord datasource code is:
Code:
<DataSource ID="masterRecord" serverType="generic"> <fields> <field name="id" type="sequence" primaryKey="true" hidden="true"/> <field name="upload" dataSource="detailRecord" editorType="MultiFileItem" width="400"/> </fields> </DataSource>
Code:
<DataSource ID="detailRecord" serverType="generic"> <fields> <field name="fileId" type="sequence" primaryKey="true" hidden="true"/> <field name="masterRecordId" type="number" foreignKey="masterRecord.id" hidden="true"/> <field name="file" type="binary" title="File" /> </fields> </DataSource>
Code:
<isomorphic:loadDS ID="masterRecord"/> isc.DynamicForm.create({ ID: "uploadForm", encoding:"multipart", dataSource:"masterRecord" });
Please help me in order than me can resolve this problem
Comment