Hi,
if I embed a Upload-Widget in a FormLayout and call setEnabled(false). Every item gets disabled, but when I call setEnabled(true) again, all other items except the Upload-Widget gets enabled.
[code]
TextField txt= new TextField();
TextField txt1= new TextField();
FileUploadReceiver fur = new FileUploadReceiver(path, someSuccessCall);
upload = new Upload(“Upload…”, fur);
upload.setButtonCaption(“Upload”);
upload.addSucceededListener(fur);
CommandLayout = new FormLayout();
CommandLayout.addComponent(txt1);
CommandLayout.addComponent(txt);
CommandLayout.addComponent(upload);
// This is done in a button method
CommandLayout.setEnabled(false);
// In other button method
CommandLayout.setEnabled(true);
// if I call upload.setEnabled(true) it works
[/code]Best regards
Ben