Hi Ichi, as Sean told, I guess you want to get some Data from the Datastore and show these data to the user, using a TabPanel.
So you should implement a Service (RPC for example) to get the List<String> from the datastore/server to the client. Send the List<String> back to the client, there you can display the items in your desired TabPanel. Note, that if you query your List<String> you have to detach it, before you can send it back to the client. I hope this helps. Greets Alex On 19 Aug., 10:19, 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.
