how about this
you make an VerticalPanel

VerticalPanel vp = new VerticalPanel();
you put this in the root panel at the desired location

RootPanel.get("entries").add(vp);

and on the succes of the AsyncCallback
you put the label in that VerticalPanel at the top ( position 0)

Label response = new Label(result);
vp.insert(response,0)

the best way is to have the VerticalPanel as a private field so that
you'll have acces to it inside the AsyncCallback

Good Luck

On Dec 14, 6:38 pm, Dennis Madsen <den...@demaweb.dk> wrote:
> I'm adding a label into a div on my HTML:
> RootPanel.get("entries").add(myLabel);
>
> But what if I would like to prepend the label instead of adding it?
> How can I do so?

--

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-tool...@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