FileUpload needs setEnabled(boolean)

8 views
Skip to first unread message

marsh...@gmail.com

unread,
Aug 29, 2006, 1:47:30 PM8/29/06
to Google Web Toolkit
There is no way to disable the FileUpload widget so that the textbox
and the button become disabled.

The only workaround for now is to call setVisible(false) which makes
the entire control disappear. In this case its probably best to call
setName(null) so that it won't get included in the form submission.

Reply all
Reply to author
Forward
0 new messages