Be sure your post includes:
1. the *complete* SmartGWT or SmartClient version from the lower left-hand corner of the Developer Console (see FAQ for how to open Developer Console), for example, \"v8.2p_2012-04-18/PowerEdition Deployment\"
SmartGWT EE 3.1p and 4.0d;
SmartClient Version: v8.3p_2013-04-23/EVAL Deployment (expires 2013.06.22_13.01.10) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)
2. browser(s) and version(s) involved
firefox 22.0
3. for a server-side problem, the *complete* logs generated during processing of the failing request (do *not* trim to just the error message)
4. for any problem processing a server response, the actual response as shown in the RPC tab in the Developer Console
5. if there is a JavaScript error, the stack trace logged in the Developer Console (see FAQ)
6. sample code if applicable
ds.xml:
main.ui.xml:
client java code:
Posts with incomplete information are much more likely to be ignored.
Hello,
I choose a file in dynamicform3 and another file in dynamicform9, then press buttonnew, the two files was inserted into database successfully, but in developer console, the two dsrequest wasn't in a queue, what should i do to make them in a queue?
1. the *complete* SmartGWT or SmartClient version from the lower left-hand corner of the Developer Console (see FAQ for how to open Developer Console), for example, \"v8.2p_2012-04-18/PowerEdition Deployment\"
SmartGWT EE 3.1p and 4.0d;
SmartClient Version: v8.3p_2013-04-23/EVAL Deployment (expires 2013.06.22_13.01.10) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)
2. browser(s) and version(s) involved
firefox 22.0
3. for a server-side problem, the *complete* logs generated during processing of the failing request (do *not* trim to just the error message)
4. for any problem processing a server response, the actual response as shown in the RPC tab in the Developer Console
5. if there is a JavaScript error, the stack trace logged in the Developer Console (see FAQ)
6. sample code if applicable
ds.xml:
Code:
<DataSource dbName="Mysql" tableName="organization_info" ID="organization_info" dataSourceVersion="1" generatedBy="v8.3p_2013-04-23/EVAL Deployment 2013-04-23" serverType="sql" > <fields> <field primaryKey="true" hidden="true" autoGenerated="true" nativeName="organization_info_id" name="organization_info_id" length="36" type="text"></field> <field title="file" name="FileItem0" type="binary"></field> <field title="filename" ignore="true" name="FileItem0_filename" type="text"></field> <field title="filesize" ignore="true" name="FileItem0_filesize" type="text"></field> <field title="date_created" ignore="true" name="FileItem0_date_created" type="text"></field> </fields> <operationBindings> <operationBinding operationType="add"> <serverObject className="cn.gov.nsccsz.server.DMIHandler" methodName="doUUIDAdd"/> </operationBinding> </operationBindings> </DataSource>
Code:
<DynamicForm ID="DynamicForm9" dataSource="organization_info" autoDraw="false"> <fields> <FormItem name="FileItem0" constructor="FileItem"/> </fields> </DynamicForm> <DynamicForm ID="DynamicForm3" dataSource="organization_info" autoDraw="false"> <fields> <FormItem name="FileItem0" constructor="FileItem"/> </fields> </DynamicForm>
Code:
IButton buttonnew = (IButton)Canvas.getById("New"); buttonnew.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { final DynamicForm form3 = (DynamicForm)Canvas.getById("DynamicForm3"); final DynamicForm form9 = (DynamicForm)Canvas.getById("DynamicForm9"); RPCManager.startQueue(); form3.saveData(); form9.saveData(); RPCManager.sendQueue(); } });
Hello,
I choose a file in dynamicform3 and another file in dynamicform9, then press buttonnew, the two files was inserted into database successfully, but in developer console, the two dsrequest wasn't in a queue, what should i do to make them in a queue?
Comment