Thanks Gal but I've used a "old" solution ( I didn't want to use it but it was the only way). I get the Button/Anchor absolute Top and Left and use this on the input type file that has a opacity:0. That way the Button/Anchor is "on top" of the input and them every click on it will trigger the click on the input file.
On Jul 8, 3:34 pm, Gal Dolber <[email protected]> wrote: > There are some hacks for input custom style, I am not sure if there's a > simple way to do it in gwt. > > Checkout this > onehttp://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with... > > 2010/7/8 Thiago Miranda de Oliveira <[email protected]> > > > > > > > Hi. I have a FileUpload widget and I was wondering if I can fire it's > > click event ( showing the browser select file dialog box ) trough the > > click of another widget like a Anchor or Button. > > Can I do that? > > > Thanks. > > > -- > > 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]<google-web-toolkit%2Bunsubs > > [email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. > > --http://gwtupdates.blogspot.com/ -- 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.
