Hi, The FileUpload widget is very picky for security reasons, have you tried to setEnabled to false before adding the FileUpload to the form/ panel, just to see if there is a problem with your radio button code?
On 23 Fev, 23:07, "seven.reeds" <[email protected]> wrote: > Hi, > > I am using a FileUpload widget for the first time. It is in a place > where I want to allow the visitor to either do the FileUpload or enter > a URL in a TextBox. I have set up a RadioButton group to toggle > between the two choices. In the onClick method for the RadioButtons I > can setEnabled or setVisible the TextBox to true/false as needed. > > The FileUpload widget just seems to ignore these requests. Should it? > > I will add that the FileUpload Button and TextBox components both stay > visible in any "set" state. The button always stays Enabled the > TextBox always appears to be grey'd out/disabled. > > ideas? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
