Esempio n. 1
0
 /**
  * Sends a request to the server in order to get the blobstore path. When the response with the
  * session comes, it submits the form.
  */
 private void sendAjaxRequestToGetBlobstorePath() throws RequestException {
   session.sendRequest(
       "blobstore",
       onBlobstoreReceivedCallback,
       PARAM_BLOBSTORE
           + "=true&"
           + PARAM_NAME
           + "="
           + getInputName()
           + "&"
           + PARAM_FILENAME
           + "="
           + fileInput.getFilename());
 }
Esempio n. 2
0
 /* (non-Javadoc)
  * @see gwtupload.client.IUploader#getFileName()
  */
 public String getFileName() {
   return fileInput.getFilename();
 }