Hi
I have read
https://www.smartclient.com/smartgwt...cs/Upload.html
and
https://www.smartclient.com/smartgwt...iFileItem.html
When I push Save button on picker a MultiFileItem sends in add request file name istead of file itself like described in MultiFileItem JavaDoc.
Could you please explain why?
DataSource ds = DSFactory.INSTANCE.getNewDS(KNOWLEDGEFILE);
ds.getField(IDKNOWLEDGE).setForeignKey(IDKNOWLEDGE);
MultiFileItem multiFileItem = new MultiFileItem(ConstDBField.KNOWLEDGEFILE);
multiFileItem.setAttribute("dataSource", ds.getID());
SmartClient Version: v11.0p_2016-06-24/LGPL Development Only (built 2016-06-24)
I have read
https://www.smartclient.com/smartgwt...cs/Upload.html
and
https://www.smartclient.com/smartgwt...iFileItem.html
When I push Save button on picker a MultiFileItem sends in add request file name istead of file itself like described in MultiFileItem JavaDoc.
Could you please explain why?
DataSource ds = DSFactory.INSTANCE.getNewDS(KNOWLEDGEFILE);
ds.getField(IDKNOWLEDGE).setForeignKey(IDKNOWLEDGE);
MultiFileItem multiFileItem = new MultiFileItem(ConstDBField.KNOWLEDGEFILE);
multiFileItem.setAttribute("dataSource", ds.getID());
SmartClient Version: v11.0p_2016-06-24/LGPL Development Only (built 2016-06-24)