> for(Widget widget:array) > { > ((this.getParent().getClass().getName()) widget).someMethod > (this); > > }
You went a step too far, try stoping at getClass() >((this.getParent().getClass()) widget).someMethod I don't know if that will work though, you'll have to try for yourself. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---