On 7/25/11, Alexander Orlov <[email protected]> wrote: > On Jul 25, 12:09 pm, Tomasz Gawel <[email protected]> wrote: >> List<FocusPanel> slots; >> @UiField FlowPanel slotTargetPanel; >> >> @UiFactory FocusPanel void addSlot() { > > I suppose this should be > @UiFactory FocusPanel addSlot() { > >> FocusPanel slot = new FocusPanel(); >> slots.add(slot); > Here I get: > ERROR: Failed to create an instance of > 'dp.verp.planer.client.ResourceDefiner' via deferred binding . > java.lang.NullPointerException: null > > Didn't know about @UiFactory. This annotation could be very useful in > many other cases... > > -Alex > > -- > 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. > >
-- Alisson Prestes www.google.com/profiles/javalisson -- 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.