Dec 10, 2011, 3:07 PM
170 Posts
topic has been resolvedResolved

Fileupload control and 2 datasources

  • Category: Server Side JavaScript
  • Platform: Not Applicable
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 1
 If i have two data sources on an xpage and save one of them and have a file upload control in this one 
The upload doesn't work. 
 
I would like to have a dialog on an xpage with a file upload that saves to a diffrent datasource than the one used in the xpage and closes the dialog after the upload. 
 
anybody got this to work? 
 
/Fredrik 
Dec 11, 2011, 2:55 AM
150 Posts
Re: Fileupload control and 2 datasources
 
This might help
 
#1. submitting an xpages will submit all data sources, (Do not use submit in a button and use request scope to avoid this)
#2. file upload only works with a full update (not partial refresh)
 
Thomas