On Jul 25, 12:09 pm, Tomasz Gawel <tomaszga...@op.pl> 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 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.

Reply via email to