Re: certification
doubt that, as java JEE is mature and advances in a steady rate, GWT is still young and exploded with new patterns and technologies. i mean have you seen any current documentation worth it's salt aside from the unprintable developer guide? essential gwt is the only book on gwt 2 , but doesn't include any info on 2.1 which kinda makes with outdated on it's own. the only other current book only deals with it rather superficially. so there's really not much to be certified on. On Thu, Jun 23, 2011 at 8:44 PM, gwtomni gwtomni gwto...@gmail.com wrote: Hello gwtters, I'm wondering if there is some certifications that we can pass like the ones with java JEE etc . thank you for your answers. -- 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. -- 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: Hosted Mode Server Side Code Change
Thanks Daniel. The cause was that I turned off Build Project automatically in eclipse. Silly me :( On Jun 23, 8:56 am, Daniel Colchete d...@cloud3.tc wrote: Quynh, I'm using GWT 2.2 with Eclipse, with the Eclipse Google Plugin. What you are describing works fine for me. The only time I have to restart the server is when I change the class structure (add a new class for example) on the client side. Then I have to restart everything so that my client side changes have effect. Create a simple test case where you have a simple GWT-RPC handler that returns a string and your EntryPoint just prints it out (with Window.alert maybe). Put first string on it and run the test. Your browser will say first string. Change the source of the GWT-RPC handler to second string and just reload the server. Press Ctrl+R in your browser and it should say second string. If it doesn't, please send more details with code and a procedure to reproduce the problem. Best, Dani On Thu, Jun 23, 2011 at 2:57 AM, Quynh argothi...@gmail.com wrote: I am using eclipse and hosted mode to test out my app before deploy them to app engine. I read somewhere in google document which stated that if I used hosted mode and made change to server side code I can just press reload web server inside development and refresh the page to see the code in effect. However, it doesn't seem to be the case for me. The only way for me to get server side code to kick in was to stop the web server then press debug mode again. Is that suppose to happen? or is there any fix for my problem? Thanks :) -- 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. -- Dani Cloud3 Tech -http://cloud3.tc/ Twitter: @DaniCloud3 @Cloud3Tech -- 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 : Re: well indigo relased
http://dl.google.com/eclipse/plugin/3.7 should do it! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/iwJn7xmcifgJ. 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: extending requestContext fo common functionality?
thanks, btw, is there any problem that a service will contain it's own locator? what i've done is uinify the Service and Entity Locator into one class (where you have a generic Entity locator which implements the finder methods and then a service locator which extends it with the new Instance method of the service) the reasoning behind this, is that eventualy all the classes (Entity Locator,Service Locator etc..) are single entity orientated. and they all have the same functionality on on another note, is there any buildin mechanism to contain a singleton application object ? On Thu, Jun 23, 2011 at 7:41 PM, David Chandler drfibona...@google.comwrote: Server-side inheritance of RequestFactory services with generics works fine. See http://turbomanage.wordpress.com/2011/03/25/using-gwt-requestfactory-with-objectify/ Client-side inheritance of RequestContext interfaces is coming in 2.4. See http://code.google.com/p/google-web-toolkit/issues/detail?id=6234 Happy generifying! /dmc On Thu, Jun 23, 2011 at 10:18 AM, Elhanan elh.mailg...@gmail.com wrote: i know this has been asked before, but i'm not sure how to respond to it. given that requestContext and it's implementation parallal the Dao's of jpa, it's plausible to create a generic dao with entity methods like persist so i thought i would create a generic interface like CommonRequestContext that would extent the RequestContext and define persit method with the same signature of edit ... create etc. (using base proxy) i also thought about creating a common base class of the actuall dao that would define persist in a generic way. none of the options and alternatives i tried, worked because the gwt compile doesn't treat generics the same way as java.. anyone tried something similar? -- 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. -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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. -- 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: files generated with very long name
Thanks Thomas, As you suggest, I tried to use gen${project.build.directory}/gwt-generated.jar/gen but unfortunately it does not work ( gwt-generated.jar is just a folder in the build directory ). I will wait 2.4 release to use longer names. Alexandre. 2011/6/24 Thomas Broyer t.bro...@gmail.com See http://code.google.com/p/google-web-toolkit/issues/detail?id=6015 and http://code.google.com/p/google-web-toolkit/source/detail?r=10170 Will be in GWT 2.4. Alternatively, you can just remove the -gen argument when you launch the GWT compiler, and it shouldn't write the files to disk. This is unfortunately not possible with the gwt-maven-plugin; I haven't tried but maybe using a JAR as the output might allow such long file names: gen${project.build.directory}/gwt-generated.jar/gen -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/SROdGXbEX8YJ. 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. -- 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: certification
cant say some proper certification , but there's a small exam where you can test your GWT skills . here it is http://www.blackbeltfactory.com/QuestionnaireDefDisplay.wwa?questPublicId=1682 On Thu, Jun 23, 2011 at 11:10 PM, Elhanan Maayan elh.mailg...@gmail.comwrote: doubt that, as java JEE is mature and advances in a steady rate, GWT is still young and exploded with new patterns and technologies. i mean have you seen any current documentation worth it's salt aside from the unprintable developer guide? essential gwt is the only book on gwt 2 , but doesn't include any info on 2.1 which kinda makes with outdated on it's own. the only other current book only deals with it rather superficially. so there's really not much to be certified on. On Thu, Jun 23, 2011 at 8:44 PM, gwtomni gwtomni gwto...@gmail.comwrote: Hello gwtters, I'm wondering if there is some certifications that we can pass like the ones with java JEE etc . thank you for your answers. -- 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. -- 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. -- 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: Deploy on App Engine, too many files problem
Yes, this is a good idea. I'm thinking to put static resource directly on an different server... (it is also more simple to change without deploy everything..) Thank you, Alessandro -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/5VK8nB0mxesJ. 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.
Problems with filtering/ caching activities
I have similar problem as Jens herehttps://groups.google.com/forum/#%21topic/google-web-toolkit/OsDpLtBoTQo. The general Problem is: How to prevent a (select some item)-activity to be restarted if someone selects an item and the app is go(ing)To(Contentplace) to show item's content. (if you would ask me: i don't want to go to a new place, i just want the url to be updated. the rest would be done like in pre Activities/Places era (event bus, custom events).) But there is no other way to update the url (make history entry) than to go to a place, right? So Caching/Filtering activity mappers come in and want to be used. The problem is i can't get the to work. I tried it with Mauro layoutMVP example, http://95.110.143.4/layoutmvp/layoutmvp.htmlbut soon i realized that the chaching there isn't working in the way needed (i.e. the emailList activity is started again on every email selection). So how to get some chaching/ filtering for a select activity. At the moment i have something like that: The Mapper for Content Area: public class ContentMapper implements ActivityMapper { private ClientFactory clientFactory; public ContentMapper(ClientFactory clientFactory) { this.clientFactory = clientFactory; } @Override public Activity getActivity(Place place) { if (place instanceof SelectPlace) { return new ContentActivity(null, clientFactory); } if (place instanceof ContentPlace) { return new ContentActivity((ContentPlace) place, clientFactory); } return null; } } The (primitive) Mapper for select area: public class SelectMapper implements ActivityMapper { private ClientFactory clientFactory; public SelectMapper(ClientFactory clientFactory) { this.clientFactory = clientFactory; } @Override public Activity getActivity(Place place) { if (place instanceof SelectPlace || ContentPlace) { return new SelectActivity(clientFactory); } return null; } } With this on every selection a new SelectActivity is started - bad :-(. So How to implement a Caching/Filtering Mapper that don't recreates select activity (select activity is never to be recreated - only updated) on goTo(new contentPlace)? thx in advance -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/sjeiI5_XKA0J. 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.
call method inside the ui.xml file
Hello, Can I call a method like show() or center() inside the uibinder xml file. PS. show() and center() for a DialogBox thx -- 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.
GWT integration to the cloud
On Google I/O 2010, the VMware- Spring Roo tool was demonstrated. It shows how one can quickly build a simple GWT application, where Roo got only small and simple input and generated the entire code. A year later, in one of the sessions of Google I/O 2011, a question was asked regarding the collaboration of Google with VMware and the future of Roo and its GWT plugin, however this time no real answer was given. I wonder what is the status of Roo and the GWT plug-in from your eyes, is it going to be a tool ready for production (for real applications rather than demo only). Also what is the reccomended way for integration of GWT with the cloud for an entrprise application - e.g., is there any intention to provide integration with the VMware spring V-Fabric products? What is the future of GAE in that sense given the following report http://gigaom.com/cloud/can-google-app-engine-compete-in-the-enterprise Waiting for your comments, Amit Kleinmann -- 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 integration to the cloud
Wonderful, wonderful question Amit. I'm all ears for a genuine answer on this one (NOT the usual This is a springsource-team problem, when it's clearly so important to GWT). Thanks On Fri, Jun 24, 2011 at 11:53 AM, Amit a.b.kleinm...@gmail.com wrote: On Google I/O 2010, the VMware- Spring Roo tool was demonstrated. It shows how one can quickly build a simple GWT application, where Roo got only small and simple input and generated the entire code. A year later, in one of the sessions of Google I/O 2011, a question was asked regarding the collaboration of Google with VMware and the future of Roo and its GWT plugin, however this time no real answer was given. I wonder what is the status of Roo and the GWT plug-in from your eyes, is it going to be a tool ready for production (for real applications rather than demo only). Also what is the reccomended way for integration of GWT with the cloud for an entrprise application - e.g., is there any intention to provide integration with the VMware spring V-Fabric products? What is the future of GAE in that sense given the following report http://gigaom.com/cloud/can-google-app-engine-compete-in-the-enterprise Waiting for your comments, Amit Kleinmann -- 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. -- 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 meets Adobe Flex: gwt4air 2.1 is here !
Hi Alain I just saw this component in the explorer http://www.gwt4air.appspot.com/#mx.extended.KeyBoarhttp://www.gwt4air.appspot.com/#mx.extended.KeyBoard d But could not find it in 2.1 Amazing component. I ve been looking for something like for a long time now Man i want that now !!! :) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/2hdIoZIyuMMJ. 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 meets Adobe Flex: gwt4air 2.1 is here !
Hi there, Sorry i forgot to add an infobox to that demo. The Keyboard is not in 2.1 Will be in 2.2 2011/6/24 gwt.user gwt.u...@yahoo.fr Hi Alain I just saw this component in the explorer http://www.gwt4air.appspot.com/#mx.extended.KeyBoarhttp://www.gwt4air.appspot.com/#mx.extended.KeyBoard d But could not find it in 2.1 Amazing component. I ve been looking for something like for a long time now Man i want that now !!! :) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/2hdIoZIyuMMJ. 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. -- GWT API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- 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: well indigo relased
http://code.google.com/eclipse/docs/getting_started.html 2011/6/24 Carfield Yim carfi...@gmail.com Would you mind put the URL here? My company don't allow twitter at the network On Jun 24, 7:38 am, Thomas Broyer t.bro...@gmail.com wrote: Actually, yes:https://twitter.com/#!/googledevtools/status/84003283651411968 (update site: replace 3.6 with 3.7 in the URL, compared to Helios) -- 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. -- 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.
DateBox and TimeZone
Hello All, How can I force a GWT DateBox to choose dates in a particular time zone? Users off this application might be in many time zones, but, for this purpose, any date entered should be in America/Denver. Since one of the people who enter this information works in eastern time the dates he enters appear a day before the date he enters. I've searched this list and googled in general, but I can't find how to override the default time zone for a DateBox. Code: Some constants universally available: public static final TimeZoneConstants timeZoneConstants = GWT.create(TimeZoneConstants.class); public static final TimeZone usMountain = TimeZone.createTimeZone(timeZoneConstants .americaDenver()); public static final DateTimeFormat dateDtf = DateTimeFormat.getFormat(MM/dd/); Code that displays the date: String displayDate = Constants.dateDtf.format(d, usMountain) The DateBox where the date is entered: DateBox.DefaultFormat pickerFormat = new DateBox.DefaultFormat(Constants.dateDtf); DateBox myDb = new DateBox(new DatePicker(), null, pickerFormat); There are many places I could expect to be able to set the Time Zone: on the DateTimeFormat, on the DateBox.DefaultFormat, on the DateBox, in DateBox.getCalendarModel() . . . Any I blind? I can't see the method anywhere. Thanks, Eric -- 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: Question about new activities on place changes
Thomas/Jens. ... and the CachingActivityMapper will then return the same activity instance as previously ... how to achieve that? i am able to create caching/filtered mapper but Filter returns a place and all my mappers are returning new activities? How to get / hold the old activity without saving it in a global field (singleton approach?!)? so my problem is not to filter the place - redirect to another place but to get the old activity returned. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/6qrEGLD4HLwJ. 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: AsyncCallback timeout
Try this http://code.google.com/p/kiyaa/ 2011/6/23 Néstor Boscán nesto...@gmail.com Hi Is there a way to set the Async Callback timeout. When there is no internet connection on the client side the application is left waiting for a long time. Regards, Néstor Boscán -- 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. -- 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: Question about new activities on place changes
Are you use gin? 2011/6/24 tanteanni tantea...@hotmail.com Thomas/Jens. ... and the CachingActivityMapper will then return the same activity instance as previously ... how to achieve that? i am able to create caching/filtered mapper but Filter returns a place and all my mappers are returning new activities? How to get / hold the old activity without saving it in a global field (singleton approach?!)? so my problem is not to filter the place - redirect to another place but to get the old activity returned. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/6qrEGLD4HLwJ. 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. -- 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.
Problem in tracing the exception of RequstFactory Application
Hi all, I have a application kind of a DynatableRf , it is using RequestFactory and Editor API. When I call for a method like find() or something like that on a RequestContext, this call gets back to DAO object on server and it tries to send back the result but in between something happens here and exceptions are thrown. Seeing the StackTrace of exception, I am not able find out whats gone wrong in there. Through debugging and Logging I saw there parts of my code till server is working properly. I guess 'Caused by: java.lang.RuntimeException: Server Error: null' could be clue I am really tired of this. Any idea how can I trace or resolve it. Thanks in advance. 05:00:16.547 [ERROR] [dynatable2] Uncaught exception escaped com.google.web.bindery.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses at com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext $StandardPayloadDialect.processPayload(AbstractRequestContext.java: 299) at com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext $4.onTransportSuccess(AbstractRequestContext.java:951) at com.google.web.bindery.requestfactory.gwt.client.DefaultRequestTransport $1.onResponseReceived(DefaultRequestTransport.java:136) at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java: 287) at com.google.gwt.http.client.RequestBuilder $1.onReadyStateChange(RequestBuilder.java:395) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 167) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java: 326) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 207) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 132) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: 269) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java: 91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 167) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java: 281) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 531) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.RuntimeException: Server Error: null at com.google.web.bindery.requestfactory.shared.Receiver.onFailure(Receiver.java: 36) at com.google.web.bindery.requestfactory.shared.impl.AbstractRequest.onFail(AbstractRequest.java: 113) at com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext $StandardPayloadDialect.processPayload(AbstractRequestContext.java: 271) at com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext $4.onTransportSuccess(AbstractRequestContext.java:951) at com.google.web.bindery.requestfactory.gwt.client.DefaultRequestTransport $1.onResponseReceived(DefaultRequestTransport.java:136) at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java: 287) at com.google.gwt.http.client.RequestBuilder $1.onReadyStateChange(RequestBuilder.java:395) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 167) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java: 326) at
Re: Question about new activities on place changes
no -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/qzqZyEaSCPkJ. 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: certification
There is one book that covers GWT 2.1. See Google App Engine Java and GWT Application Development on the GWT Books page: http://code.google.com/webtoolkit/books.html /dmc On Fri, Jun 24, 2011 at 2:10 AM, Elhanan Maayan elh.mailg...@gmail.comwrote: doubt that, as java JEE is mature and advances in a steady rate, GWT is still young and exploded with new patterns and technologies. i mean have you seen any current documentation worth it's salt aside from the unprintable developer guide? essential gwt is the only book on gwt 2 , but doesn't include any info on 2.1 which kinda makes with outdated on it's own. the only other current book only deals with it rather superficially. so there's really not much to be certified on. On Thu, Jun 23, 2011 at 8:44 PM, gwtomni gwtomni gwto...@gmail.comwrote: Hello gwtters, I'm wondering if there is some certifications that we can pass like the ones with java JEE etc . thank you for your answers. -- 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. -- 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. -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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 meets Adobe Flex: gwt4air 2.1 is here !
+1 for that keyboard. I needed it yesterday. 2011/6/24 Alain Ekambi jazzmatad...@googlemail.com Hi there, Sorry i forgot to add an infobox to that demo. The Keyboard is not in 2.1 Will be in 2.2 2011/6/24 gwt.user gwt.u...@yahoo.fr Hi Alain I just saw this component in the explorer http://www.gwt4air.appspot.com/#mx.extended.KeyBoarhttp://www.gwt4air.appspot.com/#mx.extended.KeyBoard d But could not find it in 2.1 Amazing component. I ve been looking for something like for a long time now Man i want that now !!! :) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/2hdIoZIyuMMJ. 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. -- GWT API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- 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. -- 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 meets Adobe Flex: gwt4air 2.1 is here !
Great work Alain!! 2011/6/24 leandro borbosa leandrob...@googlemail.com +1 for that keyboard. I needed it yesterday. 2011/6/24 Alain Ekambi jazzmatad...@googlemail.com Hi there, Sorry i forgot to add an infobox to that demo. The Keyboard is not in 2.1 Will be in 2.2 2011/6/24 gwt.user gwt.u...@yahoo.fr Hi Alain I just saw this component in the explorer http://www.gwt4air.appspot.com/#mx.extended.KeyBoarhttp://www.gwt4air.appspot.com/#mx.extended.KeyBoard d But could not find it in 2.1 Amazing component. I ve been looking for something like for a long time now Man i want that now !!! :) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/2hdIoZIyuMMJ. 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. -- GWT API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- 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. -- 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. -- 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.
Navigation problem
Hi all, I experience a navigation problem. This is the situation: There is a TextBox, when there is input in the TextBox (KeyUpEvent) a message is shown beneath the TextBox. The message is a Label that is added to the parent-widget of the TextBox. OnBlur the message has to disapear. This is done by label.removefromParent(). However using the keyboard, leaving the TextBox by tab-key it is going OK, but using the mouse, clicking a RadioButton below the TextBox, the RadioButton got Focus, but is not selected! I think the cause of this problem is that by removing the message, the RadioButton scrolls up, and clicking the RadioButton failed because the RadioButton is no longer at that position on the screen, but it gets the focus because it is the last widget before the point that is clicked. Does anyone know a solution to my problem? Thanx, Jasper -- 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: Question about new activities on place changes
The common pattern is ActivityManager → FilteredActivityMapper → CachingActivityMapper → MyActivityMapper. The FilteredActivityMapper's Filter transforms places to common cases that can be compared with .equals(). In a Spring Roo app (at least of the kind that came with the first version of the Roo/GWT integration), the filter for the master region transformed EntityPlace(SomeProxy.class, someId) into EntityListPlace(SomeProxy.class) for instance. So whichever the someId of two consecutive EntityPlace(SomeProxy.class, …) the filtered places would compare equal. It could have transformed them into EntityPlace with the same proxy type and, san, an empty ID, but transforming to the EntityListPlace makes the MyActivityMapper easier to write, as it only has to handle EntityListPlace. The CachingActivityMapper compares two consecutive places with .equals() to decide what to do. If they're equal, it returns the previously returned activity (a reference of which it keeps in a field). Otherwise, it asks the MyActivityMapper to provide an activity for the place (generally a new instance), and it stores the place it was passed as argument, and the activity it returns, into fields; for the next round. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/-I4AleJUu3QJ. 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: Problem in tracing the exception of RequstFactory Application
See https://groups.google.com/d/msg/google-web-toolkit/GP-p2-G-o9c/LB21SmiVWc0J -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/54N56Wj4_GYJ. 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.
GWT into JUNIPER
Hello I've been developing a GWT proyect for internal use in my company. The web is accesed from inside and from outside the compan main network, 'outsiders' access througth Internet to the web; which has sensible information. To add a extra security layer, the system team is deploying a JUNIPER installation, which has a 'advanced parser and rewriter' (as an internal advanced reverse-proxy) to acces ccc webs - like mine. Now, with the JUNIPER CIE ( content internediation engine - the 'advanced parser and rewriter') GWT RPC doesn't work at all. It responds 'Error 500' failures. I don't know how to avoid this errors and make the app work again, if possible ¿ Anyone knows ? Thanks ! PS. yes, i'm considering rewritting RPC's calls into JSON/HTTP calls; but prefer to avoid it if possible -- 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: AsyncCallback timeout
You can customize the request by setting an RpcRequestBuilder on your service stub: http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/rpc/RpcRequestBuilder.html (cast your service stub to ServideDefTarget and call setRpcRequestBuilder with your own subclass, that can then call setTimeoutMillis on the RequestBuilder: http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/http/client/RequestBuilder.html#setTimeoutMillis(int) ) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/22L2tu5Mny8J. 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: Navigation problem
Try to slightly defer the removal of your label, using Scheduler.scheduleDeferred. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/JfMZhHGDkC0J. 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: GwtCanvasDemo Question
Hi Sean, It's definitely not the cleanest code for understanding! The magic happens in lens.java::draw(backbuffer, frontbuffer). What's happening is the lens calls: front.drawImage(back.getCanvas(), 0, 0); which copies (blits) all the pixels from the back to the front. The backbuffer is never added to the root panel because it's only used as a temporary store of pixels for this operation. By the way, if you're interested in high performance javascript games, you may be interested in the ForPlay http://code.google.com/p/forplay/project. It's built using GWT and is targeted at multiplatform (including Html5) games. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/wfGgXY-ZzfgJ. 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 into JUNIPER
Is your problem with GWT-RPC (causing the 500 error status) an issue with loading the policy file? If so, you can override a few methods in your RemoteServiceServlets to change the default behavior. If you really have no choice but to abandon GWT-RPC, I'd highly recommend RequestFactory, rather than hand-made JSON/HTTP. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/KjBc4HVmorkJ. 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.
POJO to JSON
Hello I've a problem with an application, the application works fine but the new 'firewall' system drops the RPC calls. So I'm thinking about rewriting GWT-RPC calls to GWT-JSON I've a lot of simple POJO objects that are used into the app, the classes are written and can't change very much ( as they are used acrros the server, including database DAO) ¿ which are your preferred / less painfull (less boilerplate code)methods to convert from JSON to POJO in GWT ? - Autobeans - JSON Overlay types - Use simple HTTP with String parse - Other ( explain please...) -- 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: GwtCanvasDemo Question
Ah, I see. Thanks Phillip! And also thanks for the link to ForPlay, I will definitely check it out! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/N1ubVy7bRuIJ. 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 2.1 MVP Multiple activities clarification help
There are a couple of bugs in my example related to the filtering/ caching of horizontal/vertical master activities: 1) the order between caching and filtering activity in CachingHorizontalMasterActivityMapper and CachingVerticalActivityMapper is wrong: public class CachingHorizontalMasterActivityMapper implements ActivityMapper { ... public CachingHorizontalMasterActivityMapper(HorizontalMasterActivityMapper horizontalMasterActivityMapper) { ... ActivityMapper filteredMapper = new FilteredActivityMapper(filter, horizontalMasterActivityMapper); cachingActivityMapper = new CachingActivityMapper(filteredMapper); } ... } This way, we are caching the activity associated with MailDetailPlace, not with MailListPlace as intended. The right filtering order is: public class CachingHorizontalMasterActivityMapper implements ActivityMapper { ... public CachingHorizontalMasterActivityMapper(HorizontalMasterActivityMapper horizontalMasterActivityMapper) { ... CachingActivityMapper cachingActivityMapper = new CachingActivityMapper(horizontalMasterActivityMapper); filteredActivityMapper = new FilteredActivityMapper(filter, cachingActivityMapper); } ... } 2) moreover, to let CachingActivityMapper successfully detect instances of the same Place type, we need to ovverride equals method on our Places: public class MailListPlace extends MailPlace { @Override public boolean equals(Object otherPlace) { return this == otherPlace || (otherPlace != null getClass() == otherPlace.getClass()); } ... } I've uploaded fixed versions of both non-gin and gin version of the example code at the usual url: http://95.110.143.4/layoutmvp/layoutmvp.tar.gz http://95.110.143.4/layoutmvp/layoutmvp-gin.tar.gz -- 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: Problems with filtering/ caching activities
regarding caching/filtering of activity, there are some errors in my example that actually I realized just after posting the code back in dicember, but forgot to upload the fixes.. sorry :( take a look at: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/0ba4b88d2d54b0cd/bd964b9dfbf5c32f#bd964b9dfbf5c32f -- 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: Dev mode without GUI
shh has no gui. i have only command line. Here the exception: [root@dev-c2c gwt]# ant -buildfile ant.gwt.xml Unable to locate tools.jar. Expected to find it in /usr/java/ jre1.6.0_24/lib/tools.jar Buildfile: /usr/java/gwt/ant.gwt.xml run.dev.mode: devmode: [java] java.lang.RuntimeException: Error running on Swing UI thread [java] at com.google.gwt.dev.SwingUI.invokeAndWait(SwingUI.java:395) [java] at com.google.gwt.dev.SwingUI.initialize(SwingUI.java:239) [java] at com.google.gwt.dev.DevModeBase.doStartup(DevModeBase.java: 880) [java] at com.google.gwt.dev.DevMode.doStartup(DevMode.java:417) [java] at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java: 1045) [java] at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804) [java] at com.google.gwt.dev.DevMode.main(DevMode.java:309) [java] Caused by: java.lang.reflect.InvocationTargetException [java] at java.awt.EventQueue.invokeAndWait(Unknown Source) [java] at com.google.gwt.dev.SwingUI.invokeAndWait(SwingUI.java:391) [java] ... 6 more [java] Caused by: java.awt.HeadlessException [java] at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source) [java] at java.awt.Window.init(Unknown Source) [java] at java.awt.Frame.init(Unknown Source) [java] at javax.swing.JFrame.init(Unknown Source) [java] at com.google.gwt.dev.SwingUI$3.run(SwingUI.java:247) [java] at java.awt.event.InvocationEvent.dispatch(Unknown Source) [java] at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [java] at java.awt.EventQueue.access$000(Unknown Source) [java] at java.awt.EventQueue$1.run(Unknown Source) [java] at java.awt.EventQueue$1.run(Unknown Source) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.security.AccessControlContext $1.doIntersectionPrivilege(Unknown Source) [java] at java.awt.EventQueue.dispatchEvent(Unknown Source) [java] at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [java] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [java] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [java] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [java] at java.awt.EventDispatchThread.run(Unknown Source) On 23 июн, 21:30, David Chandler drfibona...@google.com wrote: On a Unix-based system, you should be able to export your DISPLAY (or set it to null?) and then run ant devmode as per http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebu... I haven't tried running without the GUI, but I routinely export my display via SSH to use dev mode console running remotely from my local machine. /dmc On Thu, Jun 23, 2011 at 9:51 AM, Evgeny V Mustafin evgeniy.musta...@gmail.com wrote: How to run dev mode without gui via ant task. I want to run it from ssh. -- 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. -- David Chandler Developer Programs Engineer, Google Web Toolkit w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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: Question about new activities on place changes
i didn't understand much thomas - sorry. in meantime i wrote a little sandbox app to boil my problem down to a minimum amount of code. My Problem is either i didn't understand anything or CachingActivityMapper is a misleading term because where is the cache and the cached activity. All i got so far is a class (CachingMenuMapper) with a FilteredActivityMapper.Filter. But its not filtering any activities it only maps places. And every place is mapped via some getActivity(place) to get new activity. So i understood filter/mapping places via FilteredActivityMapper.Filter but i don't know how to write a MyActivityMapper (the end in your chain) that is able to return an old activity. i am sure i am miss something in between but at the moment my old activity (menuList) is gone at the moment i go to contentPlace (and reading here i think there must be a way without saving activity in global field). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Aa7UYppPhKYJ. 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 into JUNIPER
mmm, yes I'm already thinking about that http://groups.google.com/group/google-web-toolkit/browse_thread/thread/c73fc5df82486ac2 No, it's nothing with the server which server GWT pages and RPC. The outsider connects to JUNIPER, JUNIPER asks the GWT-Server the page and rpc's and returns it to outsider. It works like 'man-in-the-middle' But it doesn't like RPC calls, as I see.. On Jun 24, 2:48 pm, Thomas Broyer t.bro...@gmail.com wrote: Is your problem with GWT-RPC (causing the 500 error status) an issue with loading the policy file? If so, you can override a few methods in your RemoteServiceServlets to change the default behavior. If you really have no choice but to abandon GWT-RPC, I'd highly recommend RequestFactory, rather than hand-made JSON/HTTP. -- 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 integration to the cloud
We've seen very little interest in GWT-Roo integration on this forum. It seems that most folks want to use GWT RequestFactory and Activities Places without code generation, so we've chosen to prioritize effort around making that easier (for example, ServiceLocators and issues 5807, 6234 make it possible to inherit generic service methods vs. generate them). Technically, GWT-Roo integration is structured as a Roo add-on so Spring needs to be at least involved in any further work. Are you just wanting to kick the tires or have you already adopted Roo and have a really strong use case for GWT integration also? /dmc On Fri, Jun 24, 2011 at 6:19 AM, Aza Tek azat...@gmail.com wrote: Wonderful, wonderful question Amit. I'm all ears for a genuine answer on this one (NOT the usual This is a springsource-team problem, when it's clearly so important to GWT). Thanks On Fri, Jun 24, 2011 at 11:53 AM, Amit a.b.kleinm...@gmail.com wrote: On Google I/O 2010, the VMware- Spring Roo tool was demonstrated. It shows how one can quickly build a simple GWT application, where Roo got only small and simple input and generated the entire code. A year later, in one of the sessions of Google I/O 2011, a question was asked regarding the collaboration of Google with VMware and the future of Roo and its GWT plugin, however this time no real answer was given. I wonder what is the status of Roo and the GWT plug-in from your eyes, is it going to be a tool ready for production (for real applications rather than demo only). Also what is the reccomended way for integration of GWT with the cloud for an entrprise application - e.g., is there any intention to provide integration with the VMware spring V-Fabric products? What is the future of GAE in that sense given the following report http://gigaom.com/cloud/can-google-app-engine-compete-in-the-enterprise Waiting for your comments, Amit Kleinmann -- 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. -- 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. -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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.
passing data between activities
Hello, how can I pass data from one activity to another one respecting MVP pattern ? thx -- 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: passing data between activities
Use the EventBus. On Fri, Jun 24, 2011 at 9:14 AM, gwtomni gwtomni gwto...@gmail.com wrote: Hello, how can I pass data from one activity to another one respecting MVP pattern ? thx -- 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. -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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: Question about new activities on place changes
FilteredActivityMapper and CachingActivityMapper are the one from gwt-user.jar, you only have to write a FilteredActivityMapper.Filter to transform places, and an ActivityMapper which will provide the activities (the one I called MyActivityMapper in my previous message). Mauro replied a few minutes ago in earlier threads, with some sample code. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/5utD-P2qITYJ. 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: Dev mode without GUI
See http://www.hungry.com/~jamie/xexport.html xhost +dev-c2c ssh root@dev-c2c export DISPLAY=mymachine:0.0 ant -buildfile ant.gwt.xml not tested, but should work, according to David above. Your DevMode will run on dev-c2c but its window will be displayed on your own machine. It's of course a bit harder if your desktop is not running an X server (such as Windows), but you can install one quite easily. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/VjMKbj1VJAAJ. 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: Problems with filtering/ caching activities
first let me say thx for your great example. it helped much. but my problem at the moment is another one (or i am misunderstanding something): first i thought if i return the same place in filter method... : place i got back a cached activity, but thats not true. i only get a place that is mapped via the same activity mapper as before. so i need a getActivity(Place place) method that returns not new ...Activity but an cached one. But i don't know how to cache an activity (without saving it to global field). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/CaZscHaEalwJ. 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: RequestFactory: creating proxies on client and constructors
Hi Ryan, The proxy you get from RequestContext.create() won't be updated automatically. Your persist method should return the newly persisted object from the server. Does that help? /dmc On Thu, Jun 23, 2011 at 8:51 PM, Ryan McFall mcfall.r...@gmail.com wrote: Thanks David, for confirming my suspicions. I've got this working now so that immediately after I RequestContext.create my proxy, I call a method on the server to persist it. In side that server method, I refresh the state of the object after saving it, because a database trigger populates some tables associated with the object when it is first created. On the server side, I see those fields being assigned values in my debugger after the refresh. I do update the version number field for the object on the server in my service method. However, on the client side, the proxy returned by RequestContext.create does not have those new values; the collection containing them is still null, as it was before I persisted the object. I have some ideas on how to fix this, but I'd love to hear suggestions on the best way to do it. I feel like the client-side event bus stuff could be involved here, but honestly I don't know much about how that works - where is a good place to look for docs (the getting started with RequestFactory guide doesn't really talk about it). Ryan On Jun 23, 4:07 pm, David Chandler drfibona...@google.com wrote: Ryan, you're correct. Nothing on the server gets called until you fire() the request, so your default properties won't be immediately available on the client, unfortunately. On Thu, Jun 23, 2011 at 3:44 PM, Ryan McFall mcfall.r...@gmail.com wrote: Are you referring to the create method on the client (in my RequestContext sublcass), or the create method in the Locator (which I believe would be run on the server)? I think you're referring to the client-side create method; my question about create is mostly what the server-side version is used for. The context of the question is this: I have a Boolean property for my domain object. If I RequestContext.create a proxy and then try to access the Boolean, I get null. My domain object sets this property to a default value in its constructor, but the constructor is not called if all I do on the client is RequestContext.create the proxy. I was hoping to be able to write default values for properties in a single place. The domain object on the server seems to be the most logical place. Currently it seems that I need to save the new proxy on the server after RequestContext.create'ing the proxy for this to happen. Ryan On Jun 23, 3:36 pm, Kevin Anderson kev...@gmail.com wrote: The purpose of the create method is to associate a request context with the newly created object. It has to be done through the RequestContext so that it can be managed and all the goodies that come with request factory can be enforced. -- 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. -- David Chandler Developer Programs Engineer, Google Web Toolkit w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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. -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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: passing data between activities
thank you David for your quick response. can I have a link to an example using that technique. thank you very much. -- 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: POJO to JSON
On Friday, June 24, 2011 2:50:27 PM UTC+2, obesga wrote: Hello I've a problem with an application, the application works fine but the new 'firewall' system drops the RPC calls. I'd be interesting to understand why it drops them, so that your new protocol won't be blacklisted either. So I'm thinking about rewriting GWT-RPC calls to GWT-JSON I've a lot of simple POJO objects that are used into the app, the classes are written and can't change very much ( as they are used acrros the server, including database DAO) ¿ which are your preferred / less painfull (less boilerplate code)methods to convert from JSON to POJO in GWT ? - Autobeans You won't be able to reuse your POJOs, but if you can convert them to interfaces, then that's an option (AFAICT, you can also have POJOs implementing the interface and thus wrap a POJO instance in an AutoBean; but that'd only help with serializing, IIUC, not deserializing JSON to POJOs) - JSON Overlay types You won't be able to reuse your POJOs on the client side; and you'd have to serialize them to/from JSON on the server-side (fortunately, there are many tools to help you: GSON, Jackson, etc.) Have a look at the Piriti project too as, IIRC, it could handle that quite easily (including the GWT-client part) - Use simple HTTP with String parse I don't see any advantage over JSON, and the major drawbacks of having to write a parser and serializer by hand. - Other ( explain please...) RequestFactory: - you'll leverage your POJOs on the server-side, and transforming GWT-RPC services to RF ones should be really easy. - you'll have to write the proxies, but that could be automated (that's what we do). If you domain model is stable enough, you could also simply iterate with your IDE's extract interface feature and a bit of tweaking by hand. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/S1KstHk_EWUJ. 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: Problems with filtering/ caching activities
That's the role of the CachineActivityMapper! Look at its code! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/iI5M9k4iwDEJ. 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 2.1 MVP Multiple activities clarification help
Thanks so much for the update Mauro.I'm still struggling to wrap my head around MVP and activities places.I'm going to start very small and use your code as my baseline. Just some clarification Mauro, the idea of the MVP pattern is used to decouple the view from the presenter with the intent to make the view as 'dumb' as possible to facilitate a seamless swap out to its mock counterpart during testing, and the activities and places is the underlying framework Google has provided to help essentially manage user history but at the same time activities can be thought of as the presenter and used synonymously ?Do I have it totally wrong? I guess as a beginner, I'm seeing so many different implementations where views implement interfaces in presenters and presenters implementing interfaces in views that I can't get a concrete grasp of how I should approach a simple design?The idea of the presenter defining the contract for the view and the view providing that implementation makes sense to me sorry I probably have not made any sense thanks for your help and your guidance to the community at large! On Fri, Jun 24, 2011 at 8:58 AM, Mauro Bertapelle mauro.bertape...@gmail.com wrote: There are a couple of bugs in my example related to the filtering/ caching of horizontal/vertical master activities: 1) the order between caching and filtering activity in CachingHorizontalMasterActivityMapper and CachingVerticalActivityMapper is wrong: public class CachingHorizontalMasterActivityMapper implements ActivityMapper { ... public CachingHorizontalMasterActivityMapper(HorizontalMasterActivityMapper horizontalMasterActivityMapper) { ... ActivityMapper filteredMapper = new FilteredActivityMapper(filter, horizontalMasterActivityMapper); cachingActivityMapper = new CachingActivityMapper(filteredMapper); } ... } This way, we are caching the activity associated with MailDetailPlace, not with MailListPlace as intended. The right filtering order is: public class CachingHorizontalMasterActivityMapper implements ActivityMapper { ... public CachingHorizontalMasterActivityMapper(HorizontalMasterActivityMapper horizontalMasterActivityMapper) { ... CachingActivityMapper cachingActivityMapper = new CachingActivityMapper(horizontalMasterActivityMapper); filteredActivityMapper = new FilteredActivityMapper(filter, cachingActivityMapper); } ... } 2) moreover, to let CachingActivityMapper successfully detect instances of the same Place type, we need to ovverride equals method on our Places: public class MailListPlace extends MailPlace { @Override public boolean equals(Object otherPlace) { return this == otherPlace || (otherPlace != null getClass() == otherPlace.getClass()); } ... } I've uploaded fixed versions of both non-gin and gin version of the example code at the usual url: http://95.110.143.4/layoutmvp/layoutmvp.tar.gz http://95.110.143.4/layoutmvp/layoutmvp-gin.tar.gz -- 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. -- --- Wait till you look within yourself and see what you find. Oh Seeker, one leaf in that Garden is worth more that all of Paradise! Rumi --- Those of us who have taken this peep through the door of our own Being are dumbfounded. We draw back, surprised, at the inscrutable possibilities of the Inner Self. Man as a spiritual being possesses a capacity for wisdom which is infinite, a resource of happiness which is startling. He contains a divine infinitude within himself, yet he is content to go on and potter about a petty stretch of life as though he were a mere human insect... Dr. Paul Brunton --- I have learned silence from the talkative, toleration from the intolerant, and kindness from the unkind. Kahlil Gibran -- 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: RequestFactory: creating proxies on client and constructors
David: Yep, I thought of that, and have implemented it. It seems to work well. Thanks for your help! Ryan On Jun 24, 9:32 am, David Chandler drfibona...@google.com wrote: Hi Ryan, The proxy you get from RequestContext.create() won't be updated automatically. Your persist method should return the newly persisted object from the server. Does that help? /dmc On Thu, Jun 23, 2011 at 8:51 PM, Ryan McFall mcfall.r...@gmail.com wrote: Thanks David, for confirming my suspicions. I've got this working now so that immediately after I RequestContext.create my proxy, I call a method on the server to persist it. In side that server method, I refresh the state of the object after saving it, because a database trigger populates some tables associated with the object when it is first created. On the server side, I see those fields being assigned values in my debugger after the refresh. I do update the version number field for the object on the server in my service method. However, on the client side, the proxy returned by RequestContext.create does not have those new values; the collection containing them is still null, as it was before I persisted the object. I have some ideas on how to fix this, but I'd love to hear suggestions on the best way to do it. I feel like the client-side event bus stuff could be involved here, but honestly I don't know much about how that works - where is a good place to look for docs (the getting started with RequestFactory guide doesn't really talk about it). Ryan On Jun 23, 4:07 pm, David Chandler drfibona...@google.com wrote: Ryan, you're correct. Nothing on the server gets called until you fire() the request, so your default properties won't be immediately available on the client, unfortunately. On Thu, Jun 23, 2011 at 3:44 PM, Ryan McFall mcfall.r...@gmail.com wrote: Are you referring to the create method on the client (in my RequestContext sublcass), or the create method in the Locator (which I believe would be run on the server)? I think you're referring to the client-side create method; my question about create is mostly what the server-side version is used for. The context of the question is this: I have a Boolean property for my domain object. If I RequestContext.create a proxy and then try to access the Boolean, I get null. My domain object sets this property to a default value in its constructor, but the constructor is not called if all I do on the client is RequestContext.create the proxy. I was hoping to be able to write default values for properties in a single place. The domain object on the server seems to be the most logical place. Currently it seems that I need to save the new proxy on the server after RequestContext.create'ing the proxy for this to happen. Ryan On Jun 23, 3:36 pm, Kevin Anderson kev...@gmail.com wrote: The purpose of the create method is to associate a request context with the newly created object. It has to be done through the RequestContext so that it can be managed and all the goodies that come with request factory can be enforced. -- 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. -- David Chandler Developer Programs Engineer, Google Web Toolkit w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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. -- David Chandler Developer Programs Engineer, Google Web Toolkit w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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: passing data between activities
http://code.google.com/webtoolkit/articles/mvp-architecture.html#events Also search these archives for eventbus example. There are several. Apache HupaMail source makes nice use of the EventBus, IIRC. /dmc On Fri, Jun 24, 2011 at 9:34 AM, gwtomni gwtomni gwto...@gmail.com wrote: thank you David for your quick response. can I have a link to an example using that technique. thank you very much. -- 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. -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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: Question about new activities on place changes
ok thats clear enough but there is my problem: providing an activity mapper that returns a cached activity. how does such an getActivity -method looks like (my only idea is to return an activity saved in some global field). but i can't believe that CachingActivityMapper could provide a cached activity?! so no matter in what place the filtering ends, it ends always in an ActivityMapper's getActivity-Method that returns a new Activity. My question is how/where to get the cached activity? Will always the getActivity be called and i have to manage to get a cached one or is this wrapped by MyCachingActivity's filter? in latter case, how to avoid the call getActivity of wrapped Mapper? The Filter returns a place, i tried to always return the same place ...return place;... - but it doesn't matter, allways a new activity is created. (in meantime i got Mauro's new example to work - but understanding it is now working will be difficult. - at least for me) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/t8DTQknfLxwJ. 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: passing data between activities
very interesting indeed. http://svn.apache.org/repos/asf/james/hupa/trunk thank you David. -- 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.
GPE 2.3 live on Indigo
For those who might have missed it in other threads, Google Plugin for Eclipse 2.3 is now available for Eclipse Indigo (3.7). See instructions here: http://code.google.com/eclipse/docs/getting_started.html GPE 2.4 is currently in beta, release coming shortly. /dmc -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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 2.1 MVP Multiple activities clarification help
On Friday, June 24, 2011 3:45:09 PM UTC+2, ustad wrote: Thanks so much for the update Mauro.I'm still struggling to wrap my head around MVP and activities places.I'm going to start very small and use your code as my baseline. Just some clarification Mauro, the idea of the MVP pattern is used to decouple the view from the presenter with the intent to make the view as 'dumb' as possible to facilitate a seamless swap out to its mock counterpart during testing, and the activities and places is the underlying framework Google has provided to help essentially manage user history but at the same time activities can be thought of as the presenter and used synonymously ?Do I have it totally wrong? You're right. (note that the fact that activities are presenters is an implementation choice: nothing and nobody forces you to do so; you can choose that your activity will make use of a presenter as a distinct class, or that your activity is the view, or even that you don't use MVP at all for your activity –it can make sense for very small things with few to no interaction at all–) I guess as a beginner, I'm seeing so many different implementations where views implement interfaces in presenters and presenters implementing interfaces in views that I can't get a concrete grasp of how I should approach a simple design?The idea of the presenter defining the contract for the view and the view providing that implementation makes sense to me sorry I probably have not made any sense It doesn't matter where your interfaces live (nested in the presenter, nested in the view, in their own files: it doesn't matter; you decide what you prefer). The fact is that if you want to decouple your presenter from your view, to be able to mock the latter when unit-testing the former, they should be talking to each other through interfaces (depending on your mocking tool, it might not be strictly necessary, but I believe it helps understanding the big picture anyway). If your view needs to talk back to your presenter, then it's a good idea to define an interface to formalize the contract for the presenter, in the same way you defined an interface to describe the contract for the view. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/CmH18Sa8GbYJ. 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: Question about new activities on place changes
On Friday, June 24, 2011 3:52:08 PM UTC+2, tanteanni wrote: ok thats clear enough but there is my problem: providing an activity mapper that returns a cached activity. how does such an getActivity -method looks like (my only idea is to return an activity saved in some global field). but i can't believe that CachingActivityMapper could provide a cached activity?! Have you looked at CachingActivityMapper's source code? I mean, have you looked at that: http://code.google.com/p/google-web-toolkit/source/browse/releases/2.3/user/src/com/google/gwt/activity/shared/CachingActivityMapper.java -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/RobKK7HgfLAJ. 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: Problems with filtering/ caching activities
in meantime i tried your code (in my own eclipse maven project) - it's working as expected. My first mistake was to think, that the cached activity is used if Filter returns place but the opposite is true. But that didn't helped much. For some reason if your filter (CachingHorizontalMasterActivityMapper) returns new MailListPlace the HorizontalMasterActivityMapper 's getActivity is not called and a cached activity is returned - but why? in my case if i return new MenuPlace() the Mappers getActivity is called and i get a new activity! What criteria yields to returning a cached activity (in your code) or calling the wrapped mapper and returning a new activity? (i do not even know how to set breakpoints to see what's happening: my code stops after returning new Place in wrapped Mapper getActivity your code doesnt't.) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/YEECpfgHfukJ. 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: Problems with filtering/ caching activities
perhaps this picture helps: http://goo.gl/vB5YN -- 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: Question about new activities on place changes
thx thomas for your never ending endurance, i guess i came a little closer after reading the source. Sorry for that: But what is the value of lastPlace and lastActivity after construction time? And i miss the connection with Mauro's current code: If His CachingMApper returns new MailListPlace() the cached activity is used. But if the same place is returned a new activity is created. But reading the source says some places have to be equal to get lastActivity. So what place should be equals to what place on calling the method Place filter(Place place), to get a cached activity? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/RMfOD8fXCfAJ. 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: Dev mode without GUI
thanks. cound you explain me step by step what i should do? i'm novice in linux; On 24 июн, 17:23, Thomas Broyer t.bro...@gmail.com wrote: Seehttp://www.hungry.com/~jamie/xexport.html xhost +dev-c2c ssh root@dev-c2c export DISPLAY=mymachine:0.0 ant -buildfile ant.gwt.xml not tested, but should work, according to David above. Your DevMode will run on dev-c2c but its window will be displayed on your own machine. It's of course a bit harder if your desktop is not running an X server (such as Windows), but you can install one quite easily. -- 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: POJO to JSON
Hi, Thomas you're right: You can use Piriti (http://code.google.com/p/piriti/) on the client side to map JSON to POJOs and serialize it back to JSON. Please note that Piriti is only meant to be used on the client side. It's not usable on the server side. But you can share your POJOs between client and server. - Harald -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/sqSYKUYr-9sJ. 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: Problems with filtering/ caching activities
thx for this picture, my problem is i don't know what place is compared to cachedPlace and what is cached place. Or where the comparison takes place? 'Til now i thought on returning the given place in filter-method i am sure the 2 places are equal. but debugging your updated code shows that on returning new MailListPlace the cached activity is used (thats because you overrode equal of MailListPlace). But how to return a place that is exactly the same as before ((new MailListPlas).equal(to What) ??). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/PWQ12XR0NVIJ. 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: Question about new activities on place changes
On Jun 24, 4:44 pm, tanteanni tantea...@hotmail.com wrote: thx thomas for your never ending endurance, i guess i came a little closer after reading the source. Sorry for that: But what is the value of lastPlace and lastActivity after construction time? both null, of course.. And i miss the connection with Mauro's current code: If His CachingMApper returns new MailListPlace() the cached activity is used. But if the same place is returned a new activity is created. But reading the source says some places have to be equal to get lastActivity. So what place should be equals to what place on calling the method Place filter(Place place), to get a cached activity? new Places are instantiated every time a placeChangeEvent occurs. So when comparing new place with cached place, even if the Places are of the same type (say MailListPlace) the instances are not, and that's why we need to override Place.equals to compare class type and not instances to let CachingActivityMapper works. -- 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.
custom event + event bubbling
Hello, I was wondering, is it possible to bubble up a custom event through the widget hierarchy? The EventBus solution seems great but in some cases I'd like to catch certain events related to the current context that's usually given by the UI. Thanks..! -- 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: What has happened to the GWT designer for Eclipse Indigo?
There is something weird going on with Eclipse p2 which we are investigating. Here are four work arounds that will work: 1) Unload WindowBuilder Core and WindowBuilder Core XML (from Indigo) and then load GPE, or 2) Install GPE first, followed by WB from Indigo, or 3) Use the Eclipse Java Developers distro (w/ WB already installed) and load GPE into that, or 4) Load WindowBuilder from code.google.com (http://dl.google.com/ eclipse/inst/d2wbpro/beta/3.7) and then load GPE On Jun 23, 2:18 pm, David Goodenough david.goodeno...@btconnect.com wrote: On Thursday 23 Jun 2011, Eric Clayberg wrote: You can get it embedded in GPE 2.3.2 via the following update site link... http://dl.google.com/eclipse/plugin/3.7 Tried this, but it said that it can not be installed with the version of WindowBuilder that I installed with Indigo. David Or you can get the full version at the following update site link... http://dl.google.com/eclipse/inst/d2gwt/beta/3.7 Both were available simultaneously with Indigo. The web site changes are still catching up. On Jun 22, 5:55 pm, Mark mayad...@gmail.com wrote: What has happened to theGWTdesignerfor Eclipse Indigo? -- 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 meets Adobe Flex: gwt4air 2.1 is here !
Can you create your own support forum! GWT Moderators? On Fri, Jun 24, 2011 at 7:24 AM, Alain Ekambi jazzmatad...@googlemail.comwrote: Hi there, Sorry i forgot to add an infobox to that demo. The Keyboard is not in 2.1 Will be in 2.2 2011/6/24 gwt.user gwt.u...@yahoo.fr Hi Alain I just saw this component in the explorer http://www.gwt4air.appspot.com/#mx.extended.KeyBoarhttp://www.gwt4air.appspot.com/#mx.extended.KeyBoard d But could not find it in 2.1 Amazing component. I ve been looking for something like for a long time now Man i want that now !!! :) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/2hdIoZIyuMMJ. 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. -- GWT API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- 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. -- 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 meets Adobe Flex: gwt4air 2.1 is here !
Well there s a group where i ve been directing people to. I cant prevent people for writing here dough. 2011/6/24 Frank Argueta frank.argu...@gmail.com Can you create your own support forum! GWT Moderators? On Fri, Jun 24, 2011 at 7:24 AM, Alain Ekambi jazzmatad...@googlemail.com wrote: Hi there, Sorry i forgot to add an infobox to that demo. The Keyboard is not in 2.1 Will be in 2.2 2011/6/24 gwt.user gwt.u...@yahoo.fr Hi Alain I just saw this component in the explorer http://www.gwt4air.appspot.com/#mx.extended.KeyBoarhttp://www.gwt4air.appspot.com/#mx.extended.KeyBoard d But could not find it in 2.1 Amazing component. I ve been looking for something like for a long time now Man i want that now !!! :) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/2hdIoZIyuMMJ. 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. -- GWT API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- 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. -- 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. -- GWT API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- 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.
Aw: Re: Question about new activities on place changes
Its pretty easy. If you have looked at the source code of CachingActivityMapper you see that it only calls place.equals(lastPlace) to check if it has to return the previous activity or has to create a new one. After construction of CachingActivityMapper both lastPlace and lastActivity are null and thus the first place.equals(lastPlace) will always return false and a new Activity for that requested place is created. Lets say the first place change has been done via placeController.goTo(new EntityPlace(1)) and now a second place change occur via placeController.goTo(new EntityPlace(2)). The CachingActivityMapper will not return a cached activity if you do not have overwritten .equals() and .hashcode() in the EntityPlace class. If you do not overwrite both methods, the ones from Object will be used and .equals() in Object does a instance check (return this == other). But as you create new instances of EntityPlace the equals call in CachingActivityMapper will always be false. So if you overwrite equals/hashcode you would normally check if the class types are the same and if all variables (= internal state) are the same. If both is true then both places are equal. But even with such an equals method in EntityPalce the CachingActivityMapper still does not work because now new EntityPlace(1).equals(new EntityPlace(2)) is still false as they do not have the same internal state. Thats why you use a filter. In your Place filter(Place place) method you would do something like: Place filter(Place place) { if(place instanceof EntityPlace) { return new EntityPlace(null); } } So you nullify that state of the place and now the CachingActivityMapper will always receive an EntityPlace without any state information and thus equals will return true and thus the cached activity for that place type will be reused. So thats the basic idea on how to make CachingActivityMapper work. By the way the PlaceController will of course always have the correct Place with the correct internal state if you call placeController.getWhere(). In my case I've done it in a slightly other way. So I have taken my MainActivityMapper of my application and in its getActivity method I do: Activity getActivity(Place place) { if(place != null this.lastPlace != null place.getClass() == this.lastPlace.getClass()) { return this.lastActivity; } this.lastPlace = place; if(place instanceof XYZPlace) { return new XYZActivity(place); } else if() {.} . } That way I will always get a cached activity if two or more places in a row have the same type. So basically I integrated the caching into my normal MainActivityMapper and I do not need an extra Filter and do not need GWT's CachingActivityMapper. As every activity is now cached it has to implement PlaceChangeEvent.Handler to get notified on each place change. That way the activity can update its state based on the place although the activity is cached. In the way I did it I wouldn't need to implement .equals/hashcode in my places but I have done it because placeController will not fire a place change event if two places are equal (maybe you somehow accidentally called placeController.goTo(new EntityPlace(1)) twice in a row). But keep in mind that I do it that way because I have only one ActivityMapper and one Activity for each Place. It was the easiest solution for me at the time being because I migrate the app to Activities and my activities deal with both list selection and loading of the selected object. But maybe my example shows you that its always a bit application dependent how to implement things. Once you got the basic idea how you can cache activities you can make it fit into your application. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/YFlNzNWgiTMJ. 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: call method inside the ui.xml file
Why in xml, call it in associated *.java file. Just assign your dialogbox by @UiField On Jun 24, 11:17 am, gwtomni gwtomni gwto...@gmail.com wrote: Hello, Can I call a method like show() or center() inside the uibinder xml file. PS. show() and center() for a DialogBox thx -- 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 meets Adobe Flex: gwt4air 2.1 is here !
Congratulations, this looks great. On Jun 7, 5:39 am, Alain Ekambi jazzmatad...@googlemail.com wrote: Hello Alexandro, Thank you for your kind words. I m glad that you like the project. I m also happy that it can help you solve some of the problems you have. Gwt4Air is a free time project. We use it internally at the company i work but i dont get paid for that. It s small company so i decided to play the nice guy :).But I wish I could do this full time dough. i m know the link you provided. As a matter of fact i have a comment there. While searching for ideas on how to implement the Flex API i came accross that post. What i did not like about that solution was the fact that the user must deal with both sides. Flex and GWT. I wanted a more simpler solution where one will only programm in Java like any GWT project. Hopefully i did a good job at that. Concerning what the Adobe Engineer told you: I think what he ment is that for every MXML based Flex project the MXML Compiler does some initialization work that you will have to do manually if you dont want to use MXML. And that initialization is a quiet complex thing. So he probably thought that no one would be crazy enough to try to figure out what the compiler really does . But because i wanted to use GWT to write Flex applicatons i had to be crazy enough lol. cheers, Alain 2011/6/5 leandro leandrob...@googlemail.com Hi, I just went to your project and i have to say this is just mind blowing! Are you doing this full time ? Really i wonder how you guyz come up with this kind of stuff. We have been struggling integrating flex client into how existing GWT application. We ve tried this solution here http://lgrammel.blogspot.com/2010/02/i-am-working-on-project-that-int... but that did not scale very well. Maintining MXML/AS3, JavaScript and Java in the same project is a nightmare. Last year at Adobe Max i asked an engineer at from adobe if it s possible to write Flex applications without using AS3 and MXML because we wanted to keep everything in Java and he basically said that s impossible. So i wonder how do you do this ? I cant wait to play to hero tomorrow at the office when i present the solution that will solve our problems :) Good work man Alexandro -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/QTE0WG5VSzdpM0FK. 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. -- GWT API for non Java based platformshttp://code.google.com/p/gwt4air/http://www.gwt4air.appspot.com/ -- 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.
how can i get the proxy that i edited using driver.edit?
i know the it's not the same proxy i sent in.. and i know i need to send to a persist method i created in a requestContext. so do i need to use the onProxyChangeEvent? -- 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: call method inside the ui.xml file
thank you I was just comparing with other RIA thechnologies like flex. -- 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: POJO to JSON
On Fri, Jun 24, 2011 at 4:59 PM, Harald Pehl harald.p...@googlemail.com wrote: Hi, Thomas you're right: You can use Piriti (http://code.google.com/p/piriti/) on the client side to map JSON to POJOs and serialize it back to JSON. Please note that Piriti is only meant to be used on the client side. It's not usable on the server side. But you can share your POJOs between client and server. - Harald There is another great library available (guess not many people know of it) - RestyGWT check it out: http://restygwt.fusesource.org/ Best, Raphael -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/sqSYKUYr-9sJ. 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. -- blog: http://ars-machina.raphaelbauer.com web: http://raphaelbauer.com -- 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.
Tree selection
In the stock Tree widget, if there is a selection made on a node and if the parent is closed, the selection moves to the parent node. Is there a way to change this behavior not to move the selection to the parent node? This causes some issues when we have a selection listener and the act of closing the parent node invokes the selection handler even though the user did not actually change the selection. I want to keep the behavior similar to how Vaadin does with their Tree control: http://demo.vaadin.com/sampler#TreeSingleSelect -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/lvwwfaG2hWUJ. 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: how can i get the proxy that i edited using driver.edit?
Just an idea, I'd try this: proxy = request.edit(proxy); driver.edit(proxy); If I got RF right, the edited reference should be the same as the one request.edit() returns, as it is already bound to that context. Greetings! On Jun 24, 1:20 pm, Elhanan elh.mailg...@gmail.com wrote: i know the it's not the same proxy i sent in.. and i know i need to send to a persist method i created in a requestContext. so do i need to use the onProxyChangeEvent? -- 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.
Problem deploying GWT on IIS and Tomcat
I've set up an environment where IIS runs on one server and the RPC endpoints and servlets run on another machine on Tomcat. The site is available entering http://appName I've enabled URL Rewriting in IIS so that every call to http://appName/appService is redirected to http://tomcatMachine/appName/{R:0} The service call are reaching the application on tomcat but the there i get an error which says that my Class won't be serialized because MD5.gwt.rpc can't be found. What am I doing wrong? Best Regards Jan -- 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.
How to parse the response of GWT app?
I want to parse the response of GWT app like following: // OK[41,40,0,2,39,38,37,0,36,0,4,1,4,35,19,1,3,34,19,18,1,17,1,-17,33,0,710,1,0,4,0,28,12,11,0,32,31,8,7,30,19,18,1,17,1,2,16,29,0,700,1,0,4,1,28,12,11,0,27,26,8,7,25,19,18,1,17,1,-8,24,0,500,1,150,23,1,22,12,11,0,22,21,8,7,20,19,18,1,17,1,1,16,15,0,410,1,150,14,1,13,12,11,0,10,9,8,7,4,3,1,6,5,0,4,0,0,0,3,2,1, [gov.egov.erule.regs.shared.action.LoadDocumentDetailResult/ 3665673162,gov.egov.erule.regs.shared.models.DocumentDetailModel/ 1210760895,java.util.ArrayList/3821976829,,FDA-2010- P-0532,gov.egov.erule.regs.shared.models.DocketType/ 1323825229,gov.egov.erule.regs.shared.models.MetadataValueModel/ 1270413309,gov.egov.erule.regs.shared.models.MetadataModel/ 1441296737,Document Subtype,doc_sub_type,SUPPORTING RELATED MATERIALS,1,doc_type,dk_subType_v,Used to further define the type of document,gov.egov.erule.regs.shared.models.MetadataModel $UiControlType/4187881057,com.extjs.gxt.ui.client.data.RpcMap/ 3441186752,value,java.lang.String/2004016611,CP-Citizen Petition (Supporting Related Materials),Status,doc_status,doc_status_v,The current status of the document,Posted,Received Date,receive_date,doc_primary_dates,The date the agency received or created the document,October 04 2010, at 12:00 AM Eastern Daylight Time ,Date Posted,fr_publish_date,Date the document is posted to Regulations.gov,November 10 2010, at 12:00 AM Eastern Standard Time ,pdf,[Ljava.lang.String;/2600011424,FDA,FDA-2010- P-0532-0005,gov.egov.erule.regs.shared.models.DocumentType/ 2460330259,096480b68632,Attachment 4 - \Information Regarding Cigarettes with Characterizing Flavors Form 3734\ - [BBK Tobacco Foods, LLP, (Levin Ginsburg Attorneys at Law) - Citizen Petition] ], 0,7] Can you 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.
change background color of celltree selected node
I have subclassed CellTree.Resources and have put in the following lines: @Source(cellTreeSelectedBackground_DC.png) public ImageResource cellTreeSelectedItem(); @Source(MyCellTree.css) public CellTree.Style cellTreeStyle(); I pass the created resources when constructing the CellTree. My image cellTreeSelectedBackground_DC.png was created from the original with a different color. On the celltree, the selected image has a shadow of the new color at the bottom but is primarily the old blue color. How do I change the color??? -- 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.
Emulation class which extends JavaScriptObject cause IncompatibleClassChangeError Exception on module load in development mode
Issue Report Summary: Emulation class which extends JavaScriptObject cause IncompatibleClassChangeError Exception on module load in development mode Found in GWT Release: GWT 2.3.0 Encountered on OS / Browser: Win7, IE6-8, Chrome, hosted mode Detailed description: step to reproduce: 1. create a new starter GWT project, e.g. testEmul 2. add a emulation class Calendar to the project folder structure can be: TestEmul TestEmul.gwt.xml client shared server emul java util Calendar.java 3. add super-source tag to TestEmul.gwt.xml super-source path='emul' / 4. launch project in development mode see exception: 22:07:23.238 [ERROR] [testemul] Unable to initialize static dispatcher java.lang.IncompatibleClassChangeError: Implementing class at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java: 1078) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.google.gwt.dev.shell.JsValueGlue.set(JsValueGlue.java:220) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 127) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java: 289) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: 332) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: 193) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 510) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352) at java.lang.Thread.run(Unknown Source) Shortest code snippet which demonstrates issue: //Calendar.java package java.util; import com.google.gwt.core.client.JavaScriptObject; public final class Calendar extends JavaScriptObject { protected Calendar() { } } -- 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.
New to GWT, Sample Project: Unable to initialize static dispatcher
New to GWT development. Have set up environment, Eclipse/Helios Chrome with GWT plug in. I am only able to connect to the development web server and run the app about 1/4th of the time. I am trying to identify a pattern. I have rebooted, restarted Chrome and Eclipse, restarted the webserver, terminated the web app and run again, etc, and it only works about 1/4th of the time. The other times, the web page times out and I get a server error. Typical error looks like this: The client is only able to load .html, the form (box/button) does not load and then the page times out. Eclipse error console shows: Unable to initialize static dispatcher Failed to load module webap... It works some of the time, and I have not been able to identify a pattern of failure. -- 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.
Regular expression email validation in GWT
Hello, I am trying to validate a form using gwt-validation but have not been having any success validating the email field of a POJO. The field is annotated as follows: @NotNull @Pattern(regexp = .+@.+\\.[a-z]+) private String email; Whenever Pattern is annotated to the above code, it fails after the following line that I modeled after Gwt_validation_sample: SetConstraintViolationEmail violations = validator.validate(email); I have added the following JARs to the classpath: dom4j-1.6.1 freemarker-gae-2.3.18 guava-r09 gwt-validation-2.0-preview-r199 javassist reflections-0.9.5-RC2 reflections-0.9.5-RC2.one slf4j-api-1.6.1 validation-api-1.0.0.GA-sources validation-api-1.0.0.GA I am not sure if they are all required. Thank you in advance for any help, Orville -- 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.
GWT PrecompressLinker Tomcat
Hi, I've included the PrecompressLinker option in my gwt.xml file, build the application and deploy to Tomcat. All generated js file have an equivalent js.gz file, but Tomcat still uses non gzip files. How can I tell Tomcat when a request comes for foo.js to check for the existence of foo.js.gz and use it? -- 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.
font-size: does not work for GWT button and flextable
How do you change the font size in a GWT Button or a GWT Flextable? The standard CSS of font-size: 150%; does not work, but color: red; does work. Also, font-family does not work for flexible (but does for button) I am new to GWT. thanks Bob -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/bkOmJmZin-sJ. 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: How to parse the response of GWT app?
Sure, for a percentage of the settlement. /dmc On Fri, Jun 24, 2011 at 4:44 AM, redice redicem...@gmail.com wrote: I want to parse the response of GWT app like following: // OK[41,40,0,2,39,38,37,0,36,0,4,1,4,35,19,1,3,34,19,18,1,17,1,-17,33,0,710,1,0,4,0,28,12,11,0,32,31,8,7,30,19,18,1,17,1,2,16,29,0,700,1,0,4,1,28,12,11,0,27,26,8,7,25,19,18,1,17,1,-8,24,0,500,1,150,23,1,22,12,11,0,22,21,8,7,20,19,18,1,17,1,1,16,15,0,410,1,150,14,1,13,12,11,0,10,9,8,7,4,3,1,6,5,0,4,0,0,0,3,2,1, [gov.egov.erule.regs.shared.action.LoadDocumentDetailResult/ 3665673162,gov.egov.erule.regs.shared.models.DocumentDetailModel/ 1210760895,java.util.ArrayList/3821976829,,FDA-2010- P-0532,gov.egov.erule.regs.shared.models.DocketType/ 1323825229,gov.egov.erule.regs.shared.models.MetadataValueModel/ 1270413309,gov.egov.erule.regs.shared.models.MetadataModel/ 1441296737,Document Subtype,doc_sub_type,SUPPORTING RELATED MATERIALS,1,doc_type,dk_subType_v,Used to further define the type of document,gov.egov.erule.regs.shared.models.MetadataModel $UiControlType/4187881057,com.extjs.gxt.ui.client.data.RpcMap/ 3441186752,value,java.lang.String/2004016611,CP-Citizen Petition (Supporting Related Materials),Status,doc_status,doc_status_v,The current status of the document,Posted,Received Date,receive_date,doc_primary_dates,The date the agency received or created the document,October 04 2010, at 12:00 AM Eastern Daylight Time ,Date Posted,fr_publish_date,Date the document is posted to Regulations.gov,November 10 2010, at 12:00 AM Eastern Standard Time ,pdf,[Ljava.lang.String;/2600011424,FDA,FDA-2010- P-0532-0005,gov.egov.erule.regs.shared.models.DocumentType/ 2460330259,096480b68632,Attachment 4 - \Information Regarding Cigarettes with Characterizing Flavors Form 3734\ - [BBK Tobacco Foods, LLP, (Levin Ginsburg Attorneys at Law) - Citizen Petition] ], 0,7] Can you 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. -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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.
Log file
I have putted some SOP (System.out.println) in my sever side, but I am not sure where log files do generate. any body can tell me please ? -- 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: How to parse the response of GWT app?
Careful David, 0 is a percent ;) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/npkO1NZBAnAJ. 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.
How to Prevent GWT from translating certain methods into JavaScript
This is a continuation of the following discussion: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/d5315f505810304a I have the same issue, namely that I want to be able to specify (e.g. through an annotation like @JavaOnly) that certain methods in my shared POJOs are for the use of the server-side code only. My goal is to exploit polymorphism and avoid the instanceof keyword on the server side. To get into a little more detail, what I'm trying to do is use the Abstract Factory pattern to associate certain concrete classes in the server package (which perform SQL updates, for example) with their corresponding plain old Java objects, which are in the shared package. I define an abstract method in the shared parent class (getSQL() e.g.) and then each of the subclasses provides a concrete implementation, which returns a concrete object of a server-side class (all of which, in turn, implement a common interface). Needless to say, the getSQL() method cannot be translated into JavaScript, because it depends on strictly server-side classes and concepts. However, I still want to share the object (i.e., its data) between client and server through RPC. Unfortunately, GWT throws an error when creating the JavaScript because it cannot find the source code for the server-side classes. Two solutions were posed to this problem in the previous discussion, but neither of them are helpful. The first was to simply wrap the method body in a !GWT.isClient() conditional, but since the method definition includes references to server-side code (its return type, specifically), nothing is actually hidden from the compiler. The second was to create subclasses of the shared objects on the server-side. Unfortunately, this method suffers from the same problem: the shared objects cannot know about their server-side counterparts. Thus, it doesn't really solve anything at all, because any operations would still require instanceof checking to obtain the correct server-side subclass. Another solution mentioned was to exclude certain classes in the module definition, but this method suffers from the same problem. So, is there a way to exclude a specific method (in an otherwise included class) from being compiled into JavaScript? Of course, if there's a better pattern that works with GWT, that would be helpful. Thanks, K. Bolino -- 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.
hyperlinks/html
Hi, im creating a plugin for an already existing website that will incorporate a launchpad of sorts. I need a way to use a hyperlink that will redirect me to somewhere else on the website, but as far as my understanding of hyperlinks for gwt widgets is that it only points to another page in the application itself and so im not sure if i can jump somewhere else on the website. If so how can i? -- 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: hyperlinks/html
Check out the Anchor widget. That should let you navigate anywhere you want. -Ben -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/nmJKvypcdzEJ. 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: Log file
The answer to that depends on which server you are using. If its Tomcat, there should be a conf subdirectory with a catalina.out file in there, unless yours is configured differently. -Ben -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/1meAumx3XkIJ. 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: Apache Shiro or Spring Security??
Can share how youdo it? 2011/6/22 Nicolas Antoniazzi nicolas.antonia...@gmail.com Here, we use Shiro since it is really easy to integrate. Moreover, Shiro is not tight to Spring... And that's a good thing for us since we use Gin on client and Guice on Server (to not multiply API). 2011/6/22 Elhanan Maayan elh.mailg...@gmail.com we are exploring apache shiro with gwt integration, the reason is first of all, you don't spring beans for it, and 2nd is that also provides for session management which spring security does not. even folks at spring forums say shiro has much broader scope then security .. On Wed, Jun 22, 2011 at 6:17 AM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: I do a simple sample https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Homethat integrate with spring security, but is very basic. Have server side protected method too with jsr-250. I can't said anything about apache shiro, but if you choose spring security you will no have problems 2011/6/21 Juan Pablo Gardella gardellajuanpa...@gmail.com good luck 2011/6/21 Fabricio Pizzichillo fpizzichi...@gmail.com thanks, I'll do some research on how to integrate 2011/6/21 Juan Pablo Gardella gardellajuanpa...@gmail.com I use spring security and works. Is robust and mature. 2011/6/21 Fabricio Pizzichillo fpizzichi...@gmail.com Hello everyone. What security and authentication framework works well with a GWT application? Someone used some as Apache-Shiro or Spring-Security? What do you recommend? thanks Fabricio -- 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. -- 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. -- 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. -- 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. -- 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. -- 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. -- 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.
Don't follow how to put toolbar in RichTextAra
I am able to get RichTextArea working with no tool bars (not to hard). The showcase source indicates the following line: RichTextToolbar toolbar = *new* RichTextToolbar(taskRichTextArea); I don't see that RichTextToolbar can be imported via eclipse like RichText Area can. So, I am stuck. How do you create toolbars in a Rich Text Area? Any tutorials on this, using GWT 2.3 would be great. I am new to this. Thanks Bob -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/JuNwh0rza0gJ. 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: Don't follow how to put toolbar in RichTextAra
Try this: // write the editable message Label header = new Label(Subject:); header.setSize(580px, 18px); myMessages.add(header); final TextBox messageSubject= new TextBox(); messageSubject.setSize(580px, 20px); myMessages.add(messageSubject); Label body = new Label(New Message Body:); final RichTextArea messageBody = new RichTextArea(); messageBody.ensureDebugId(cwRichText-area); messageBody.setSize(580px, 400px); RichTextToolbar toolbar = new RichTextToolbar(messageBody); toolbar.setWidth(580px); // Add the components to a panel Grid grid = new Grid(2, 1); grid.setStyleName(cw-RichText); grid.setWidget(0, 0, toolbar); grid.setWidget(1, 0, messageBody); myMessages.add(grid); myMessages.add(saveButton); Ed On Fri, Jun 24, 2011 at 8:26 PM, Bob iambob...@gmail.com wrote: I am able to get RichTextArea working with no tool bars (not to hard). The showcase source indicates the following line: RichTextToolbar toolbar = new RichTextToolbar(taskRichTextArea); I don't see that RichTextToolbar can be imported via eclipse like RichText Area can. So, I am stuck. How do you create toolbars in a Rich Text Area? Any tutorials on this, using GWT 2.3 would be great. I am new to this. Thanks Bob -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/JuNwh0rza0gJ. 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. -- 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.
[gwt-contrib] Re: [google-web-toolkit] r10387 committed - Add Linux support for FF5 (Gecko 5.0) in the xpcom plugin....
I tried the XPI from this commit in Firefox 4.0.1 on Ubuntu 11.04 (to check that it worked before upgrading to Firefox 5) and guess what: it failed! First, it prompted me to allow the web and code server combination again (I'm debugging in -noserver mode) despite being already there in the extension's preferences (and I didn't notice any change in the preferences after allowing it). Then when, as I was given a blank page, reloading it would still give me the same blank page. Looking at the Console view in Eclipse showed a couple lines per attempts (reloads): Connection received from localhost:32884 [ERROR] Unexpected message type QUIT; expecting LoadModule Connection received from localhost:32887 [ERROR] Unexpected message type QUIT; expecting LoadModule Connection received from localhost:32888 [ERROR] Unexpected message type QUIT; expecting LoadModule Connection received from localhost:32889 [ERROR] Unexpected message type QUIT; expecting LoadModule Is this expected with this temporary version? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Ignore invalid types in heirarchy (issue1466806)
On 2011/06/24 00:48:05, scottb wrote: Fixes a bug where invalid types in the chain can break assumptions. This is a problem in a case like this: Good unit: Foo.init(); Bad unit: public class Foo implements UnknownType { ... } The good unit itself doesn't have errors, but trying to construct the heirarchy Foo blows things up. This fix just heads it off at the pass to allow the compile to fail with proper error reporting. So, what you are saying is that we are getting lots of unrelated errors for units that reference foo that are obscuring the real problem? http://gwt-code-reviews.appspot.com/1466806/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Fix for rpc generator result caching (fix potential NPE) (issue1462809)
Reviewers: tobyr, zundel, Description: Fix for rpc generator result caching (fix potential NPE) Please review this at http://gwt-code-reviews.appspot.com/1462809/ Affected files: M user/src/com/google/gwt/user/rebind/rpc/CachedRpcTypeInformation.java Index: user/src/com/google/gwt/user/rebind/rpc/CachedRpcTypeInformation.java === --- user/src/com/google/gwt/user/rebind/rpc/CachedRpcTypeInformation.java (revision 10389) +++ user/src/com/google/gwt/user/rebind/rpc/CachedRpcTypeInformation.java (working copy) @@ -48,12 +48,16 @@ recordTypes(serializableFromBrowser, instantiableFromBrowser, typesFromBrowser); recordTypes(serializableToBrowser, instantiableToBrowser, typesToBrowser); -for (JType type : customSerializersUsed) { - addCustomSerializerType(type); -} - -for (JType type : typesNotUsingCustomSerializers) { - addTypeNotUsingCustomSerializer(type); +if (customSerializersUsed != null) { + for (JType type : customSerializersUsed) { +addCustomSerializerType(type); + } +} + +if (typesNotUsingCustomSerializers != null) { + for (JType type : typesNotUsingCustomSerializers) { +addTypeNotUsingCustomSerializer(type); + } } } @@ -190,6 +194,9 @@ private void recordTypes(SetString serializable, SetString instantiable, SerializableTypeOracle sto) { +if (sto == null) { + return; +} for (JType type : sto.getSerializableTypes()) { String sourceName = type.getQualifiedSourceName(); lastModifiedTimes.put(sourceName, getLastModifiedTime(type)); -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] GPE 2.3 live on Indigo
For those who might have missed it in other threads, Google Plugin for Eclipse 2.3 is now available for Eclipse Indigo (3.7). See instructions here: http://code.google.com/eclipse/docs/getting_started.html GPE 2.4 is currently in beta, release coming shortly. /dmc -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Fix for rpc generator result caching (fix potential NPE) (issue1462809)
http://gwt-code-reviews.appspot.com/1462809/diff/1/user/src/com/google/gwt/user/rebind/rpc/CachedRpcTypeInformation.java File user/src/com/google/gwt/user/rebind/rpc/CachedRpcTypeInformation.java (right): http://gwt-code-reviews.appspot.com/1462809/diff/1/user/src/com/google/gwt/user/rebind/rpc/CachedRpcTypeInformation.java#newcode51 user/src/com/google/gwt/user/rebind/rpc/CachedRpcTypeInformation.java:51: if (customSerializersUsed != null) { Can you just make this an empty list instead of somewhere else? http://gwt-code-reviews.appspot.com/1462809/diff/1/user/src/com/google/gwt/user/rebind/rpc/CachedRpcTypeInformation.java#newcode197 user/src/com/google/gwt/user/rebind/rpc/CachedRpcTypeInformation.java:197: if (sto == null) { When is this null? http://gwt-code-reviews.appspot.com/1462809/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Fix for rpc generator result caching (fix potential NPE) (issue1462809)
http://gwt-code-reviews.appspot.com/1462809/diff/1/user/src/com/google/gwt/user/rebind/rpc/CachedRpcTypeInformation.java File user/src/com/google/gwt/user/rebind/rpc/CachedRpcTypeInformation.java (right): http://gwt-code-reviews.appspot.com/1462809/diff/1/user/src/com/google/gwt/user/rebind/rpc/CachedRpcTypeInformation.java#newcode197 user/src/com/google/gwt/user/rebind/rpc/CachedRpcTypeInformation.java:197: if (sto == null) { On 2011/06/24 14:35:19, tobyr wrote: When is this null? Hmm, maybe it could be null on an exception in ProxyCreator, in which case, there may be more places to check for null, like cti.checkTypeInformation? http://gwt-code-reviews.appspot.com/1462809/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Ignore invalid types in heirarchy (issue1466806)
On Fri, Jun 24, 2011 at 8:35 AM, zun...@google.com wrote: So, what you are saying is that we are getting lots of unrelated errors for units that reference foo that are obscuring the real problem? The unrelated units are actually causing a blow-up. When we try to construct the type hierarchy to represent Foo (as seen by the valid units), it blows up. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors