Package org.olat.core.gui.components.form.flexible

Examples of org.olat.core.gui.components.form.flexible.FormMultipartItem


    if(formComp instanceof Submit){
      getRootForm().registerSubmit(formComp);
    }
    // Check for multipart data, add upload limit to form
    if (formComp instanceof FormMultipartItem) {
      FormMultipartItem mpItem = (FormMultipartItem) formComp;
      getRootForm().setMultipartEnabled(true, mpItem.getMaxUploadSizeKB());
    }
   
  }
View Full Code Here


    if(with instanceof Submit){
      getRootForm().registerSubmit(with);
    }
    // Check for multipart data, add upload limit to form
    if (with instanceof FormMultipartItem) {
      FormMultipartItem mpItem = (FormMultipartItem) with;
      getRootForm().setMultipartEnabled(true, mpItem.getMaxUploadSizeKB());
    }
   
   
   
  }
View Full Code Here

TOP

Related Classes of org.olat.core.gui.components.form.flexible.FormMultipartItem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.