hi,
how can I insert a new file in the DSRequest during a DMI Call.
Usecase:
1) The user loads a file to the server using UploadItem.
2) A Java method (DMI) for custom processing is called.
2a) The file (XMLFILE) is technically validated and ...
2c) ... the result (= pdf report) should be stored in the same database table. (field report)
How can I realize the point 2c?
I've already tried unsuccessfully DSRequest.setAttribute("report", ISCFileItem). I have no method DSRequest.setUploadFiles, or similarly found!
SQL - Datasource (extract):
<field name="XMLFILE" hidden="true" type="binary"/>
<field name="report" type="binary"/>
Thanks,
tmoes
SmartGWT EE eval, from 20100717
how can I insert a new file in the DSRequest during a DMI Call.
Usecase:
1) The user loads a file to the server using UploadItem.
2) A Java method (DMI) for custom processing is called.
2a) The file (XMLFILE) is technically validated and ...
2c) ... the result (= pdf report) should be stored in the same database table. (field report)
How can I realize the point 2c?
I've already tried unsuccessfully DSRequest.setAttribute("report", ISCFileItem). I have no method DSRequest.setUploadFiles, or similarly found!
SQL - Datasource (extract):
<field name="XMLFILE" hidden="true" type="binary"/>
<field name="report" type="binary"/>
Thanks,
tmoes
SmartGWT EE eval, from 20100717
Comment