06-21-2011 06:07 AM
<input type="file" name="datafile" size="40">
08-03-2012 04:05 AM
Make sure the field that is returned, implements Field, see SelectUserField:
/**
* Field which allows you to select a user. The field-value is the
* id of the selected user.
*
* @author Frederik Heremans
*/
public class SelectUserField extends HorizontalLayout implements Field {
package org.activiti.explorer.ui.form;
import java.io.File;
import java.io.FileOutputStream;
import java.io.OutputStream;
import java.util.Collection;
import com.vaadin.data.Property;
import com.vaadin.data.Validator;
import com.vaadin.data.Validator.InvalidValueException;
import com.vaadin.terminal.FileResource;
import com.vaadin.ui.*;
public class MyUploader extends CustomComponent
implements Upload.SucceededListener,
Upload.FailedListener,
Upload.Receiver,Field{
But i get compile time error on MyUploader as :The inherited method AbstractComponent.focus() cannot hide the public abstract method in Component.Focusable.08-05-2012 02:35 PM
Make sure the field that is returned, implements Field, see SelectUserField:
/**
* Field which allows you to select a user. The field-value is the
* id of the selected user.
*
* @author Frederik Heremans
*/
public class SelectUserField extends HorizontalLayout implements Field {
10-13-2014 06:56 AM
07-30-2016 11:48 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.