I created component BannerUpload which extends core Upload component. I have property UploadedFile inside this component. But I don't see any way to pass it to the value parameter of parent class. I've tried to define method UploadedFile defaultValue() but it didn't help as it's meant for container...
public class BannerUpload extends Upload {
@Property
private UploadedFile bannerUpload;
public void doUpload() {
// ... upload file ....
}
}