Thanks Ashar. - your solution was easy to implement! On 15 Dec., 08:49, Ashar Lohmar <[email protected]> wrote: > 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 <[email protected]> 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 [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.
