to avoid the infinite loop of instantiation, you need to instantiate the child editor under demand, only when needed
On Thursday, July 7, 2011, Jeff Larsen <[email protected]> wrote: > I'm trying to build an editor where it can have a collection of itself. > > For example, I have an object Foo > > class Foo{ > String foo; > > List<Foo> foos; > > //getters setters ommited for brevity > } > > I've tried making FooEditor implement Editor<Foo> and CompositeEditor<Foo, > Foo, FooEditor>, but then when I do GWT.create(Driver.class) I break the heap. > > I what is the "correct" way of doing recursive editors with collections? > > Thanks > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-web-toolkit/-/OfMk6z-w9r0J. > 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. > -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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.
