You're going to want to use an RPC to get the List<String> from the server. Then in your callback function, you go through the List and for each String, add it to whatever widget you want.
On Aug 19, 4:19 am, ichi <[email protected]> wrote: > Hai all, I've been looking for a way to display result from a method > which has return type List<String> into a TabPanel. So, this method > has to be written in server side since it used import java.net.URL. > When I call this service from client side when the user click a > button, I want to display those List of String inside a TabPanel, but > I don't know how to do it. I only know that I can only do that for > return type: String (RootPanel.get().add(String s). > > When I called that method from client side, the list of String are > printed below the rootpanel. Could you tell me how to do this? > > Thank you. -- 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.
