Oh, brilliant. GWT should really develop an UiChild version what can directly associate to a method like "addWidgetToColomn( Widget w, int i)". Thank you ~ :)
On Aug 28, 5:22 pm, Thomas Broyer <t.bro...@gmail.com> wrote: > Yes, simply annotate a method with > @UiChild<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/googl...>. > In your case though, you'd have to have one method per "tag name": > > @UiChild(tagname="column_1") > void addWidthToFirstColumn(Widget w) { addWidgetToColumn(w, 0); } > > @UiChild(tagname="column_2") > void addWidthToSecondColumn(Widget w) { addWidgetToColumn(w, 1); } > > and so on. -- 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.