示例#1
0
 /**
  * Initialize widget components and layout elements.
  *
  * @param type file input to use
  * @param automaticUpload when true the upload starts as soon as the user selects a file
  */
 public Uploader(FileInputType type, boolean automaticUpload) {
   this(type);
   setAutoSubmit(automaticUpload);
 }
示例#2
0
 private void properties() {
   embedded.setFileInputSize(20);
   embedded.setAutoSubmit(true);
 }