Hi, The piece of code does look correctly. The error message is not helpful, at least not to me I guess something get corrupted but without more code no idea what may happen.
Stefan Bachert http://gwtworld.de On 19 Mai, 11:06, mmoossen <[email protected]> wrote: > Dear all! > > I am getting following error message: > "Found interface com.google.gwt.user.client.Element, but class was > expected" > > when doing something like: > myWidget.getElement().getStyle().setOpacity(0); > > where myWidget has been just attached to the doc a few LoC before. > > it is not reproducible, it seems that it happens only in DevMode but > not even always... > > what does the error message mean? > > thanks > Michael > > -- > 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 > athttp://groups.google.com/group/google-web-toolkit?hl=en. -- 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.
