Additional method suggestions for ListBox
Hi, I think these methods will be a little bit improvement over ListBox: (All about direct label-value access, assuming user has unique list of labels and values. Useful when user knows what he/she is doing) addItems(String[] labels) addItems(String[] labels, String[] values) // I'm not sure if this one will be efficient, since it has its side effects. removeItem(String label) removeItemWithValue(String value) removeItems(String[] labels) removeItemsWithValues(String[] values) selectItemWithValue(String value) selectItem(String label) Rasit --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: GWT 1.5.3 upgrade problem with RPC
Hi, I never used GWT 1.4. I started from GWT 1.5.3 directly. But I get the same exception. What would be the cause for that? Do you know anything about this? On Mar 14, 11:05 am, 唐振坤 tan...@gmail.com wrote: In the GWT docs, you need to change the Content-Type from text/plain to text/x-gwt-rpc, and update your server with GWT 1.5 gwt-servlet.jar. It may be caused by still using the gwt-servlet.jar of GWT Version 1.4. In GWT 1.5, the RPC content type was switched from text/plain to text/x-gwt-rpc. If you receive this exception, then your server is still using a GWT 1.4 gwt-servlet.jar. On Sat, Mar 14, 2009 at 3:00 PM, Ganesh ganesh@gmail.com wrote: Hi, I have a small problem when I upgraded to 1.5.3(from 1.0.21) with RPC Exception while dispatching incoming RPC call javax.servlet.ServletException: Content-Type must be 'text/plain' with 'charset= utf-8' (or unspecified charset) at com.google.gwt.user.server.rpc.RemoteServiceServlet.readPayloadAsUtf8 (RemoteServiceServlet.java:507) I googled(http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/ FAQ_RPCContentTypeTextPlain ).. and made changes to shell/complile and my server-side class path(the impl class). I use Geronimo I am not able to get rid of the above exception... could someone help me... --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Content-Type must be 'text/plain' with 'charset=utf-8' Error, But not an upgrade issue
Hi, I've sent this post to a thread via googlegroups page, but it doesn't exist in my sent mails folder and also in that page. So I had to post here once more. I'm getting the error in the title. I searched previous threads, all saying that it's a 1.4 - 1.5 issue. But I actually never used 1.4. I started using GWT with version 1.5.3. Any comments? -- M. Raşit ÖZDAŞ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---