Is that possible? I am not able to figure out a working syntax.
Thanks,
fatzopilot
Thanks,
fatzopilot
... <DataSource> <loadID>Attachment</loadID> </DataSource> <ListGrid dataSource="ref:Attachment" autoFetchData="true" ID="AttachmentGrid" autoDraw="false" canExpandRecords="true" expansionMode="editor" > <expansionEditorProperties> <DynamicForm autoDraw="false"> <fields> <FormItem name="ButtonItem1" title="Save record" constructor="ButtonItem"></FormItem> </fields> </DynamicForm> </expansionEditorProperties> <listEndEditAction>next</listEndEditAction> <showFilterEditor>true</showFilterEditor> <canEdit>true</canEdit> <canRemoveRecords>true</canRemoveRecords> <xsi:type>ListGrid</xsi:type> </ListGrid> ...
... 16:25:00.619:MUP7:WARN:Log:ClassFactory.addGlobalID: ID:'isc_DynamicForm_0' for object '[DynamicForm ID:isc_DynamicForm_0]' collides with ID of existing object '[DynamicForm ID:isc_DynamicForm_0]'. The pre-existing widget will be destroyed. 16:25:00.641:MUP7:WARN:DynamicForm:isc_DynamicForm_0:destroyed FormItem passed to setItems()/addItem(): FormItems cannot be re-used with different DynamicForms 16:25:00.801:MUP7:WARN:Log:TypeError: _2 is null Stack from error.stack: unnamed(isc_c_DynamicForm_canEditFiel) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Forms.js:495 unnamed(isc_FormItem_isReadOnl) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Forms.js:841 unnamed(isc_CanvasItem_shouldDisableCanva) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Forms.js:1231 unnamed(isc_CanvasItem__createCanva) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Forms.js:1199 unnamed(isc_c_Class_invokeSupe) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Core.js:247 unnamed(isc_c_Class_Supe) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Core.js:240 unnamed(isc_ButtonItem__createCanva) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Forms.js:1348 unnamed(isc_CanvasItem_ini) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Forms.js:1196 unnamed(isc_Class_completeCreatio) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Core.js:284 unnamed(isc_DynamicForm_createIte) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Forms.js:212 unnamed(isc_DynamicForm__addItem) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Forms.js:198 unnamed(isc_DynamicForm_setItem) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Forms.js:192 unnamed(isc_DynamicForm_initWidge) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Forms.js:185 unnamed(isc_Canvas_ini) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Core.js:1458 unnamed(isc_Class_createAutoChil) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Core.js:321 unnamed(isc_ListGrid__getStockEmbeddedComponen) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Grids.js:1247 unnamed(isc_ListGrid_getExpansionComponen) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Grids.js:725 unnamed(isc_ListGrid_expandRecor) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Grids.js:712 unnamed(isc.A.expansionFieldDefaults.recordClic) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Grids.js:668 unnamed(isc_ListGrid_rowClic) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Grids.js:1214 unnamed(anonymou) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Grids.js:660 unnamed(isc_GridRenderer__rowClic) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Grids.js:524 unnamed(isc_c_Class_invokeSupe) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Core.js:247 unnamed(isc_c_Class_Supe) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Core.js:240 unnamed(isc_GridBody__rowClic) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Grids.js:585 unnamed(isc_GridRenderer_clic) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Grids.js:522 unnamed(isc_Canvas_handleClic) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Core.js:2166 unnamed(isc_c_EventHandler_bubbleEven) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Core.js:1203 unnamed(isc_c_EventHandler_handleClic) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Core.js:1079 unnamed(isc_c_EventHandler__handleMouseU) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Core.js:1070 unnamed(isc_c_EventHandler_handleMouseU) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Core.js:1062 unnamed(isc_c_EventHandler_dispatc) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Core.js:1234 unnamed(anonymou) @ gwt/com.aCompany.GWTModule/sc/modules/ISC_Core.js:63 unnamed() @ ...
... <DataSource> <loadID>Attachment</loadID> </DataSource> <ListGrid dataSource="ref:Attachment" autoFetchData="true" ID="AttachmentGrid" autoDraw="false" canExpandRecords="true" expansionMode="detailField" detailField="file"> <listEndEditAction>next</listEndEditAction> <showFilterEditor>true</showFilterEditor> <canEdit>true</canEdit> <canRemoveRecords>true</canRemoveRecords> <xsi:type>ListGrid</xsi:type> </ListGrid> ...
... <DataSource ID="Attachment" xmlFromConfig="true" beanClassName="com.aCompany.Attachment" dataSourceVersion="1" serverType="hibernate" autoDeriveSchema="false" dropExtraFields="true"> <fields> <field name="id" type="sequence" title="Id" primaryKey="true" detail="false"> <validators> <Validator> <type>isInteger</type> <stopIfFalse>true</stopIfFalse> <typeCastValidator>true</typeCastValidator> <defaultErrorMessage></defaultErrorMessage> </Validator> </validators> </field> <field name="lastUpdated" type="date" title="Last Updated" detail="false" canView="true"> <validators> <Validator> <type>isDate</type> <typeCastValidator>true</typeCastValidator> </Validator> </validators> </field> <field name="dateCreated" type="date" title="Date Created" detail="false" canView="true"> <validators> <Validator> <type>isDate</type> <typeCastValidator>true</typeCastValidator> </Validator> </validators> </field> <field name="deleted" type="boolean" title="Deleted" detail="false" canView="true"> <validators> <Validator> <type>isBoolean</type> <typeCastValidator>true</typeCastValidator> <defaultErrorMessage></defaultErrorMessage> </Validator> </validators> </field> <field name="file" type="imageFile" title="File" detail="false" canFilter="false"></field> <field name="file_filename" type="text" title="File name" detail="true"></field> <field name="file_filesize" type="integer" title="File size" detail="true"></field> <field name="file_date_created" type="date" title="File date created" detail="true"></field> </fields> <allowAdvancedCriteria>true</allowAdvancedCriteria> <xmlFromConfig>true</xmlFromConfig> </DataSource> ...
Comment