Re: problem with css when deployed to app engine
I encountered the same symptoms today. I worked around it by adding this to my page: LINK REL=StyleSheet HREF=... TYPE=text/css Note that I'm using Google App Engine 1.6.1 and there is a discussion of this problem here: http://groups.google.com/group/google-appengine-java/browse_thread/thread/cea6b9c7bbad50ba/b9081ae430584f5e On Feb 10, 10:36 am, gwtTexter harald.eil...@gmail.com wrote: I'm using the standard theme in GWT 2.4 and have ancss-file placed under the war folder. Everything works fine in hosted mode in Chrome but oncedeployedtoappengineChrome ignores my own stylesheet? In Firefox there is noproblemthough.. It kind of bothers me that hosted mode andappenginereacts differently in the same browser, can anyone tell me why? I'm running osx 10.6.8, GWT 2.4 and 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.
Pass data through event.setData() in 2.4 Drag and Drop
Has anyone used new Drag and Drop feature with 2.4? I have it work all fine except the string data set on the event in DragStartHandler is not passed to the event in other handlers. getData always returns null. navLabel.getElement().setDraggable(Element.DRAGGABLE_TRUE); navLabel.addDragStartHandler(new DragStartHandler() { @Override public void onDragStart(DragStartEvent event) { event.setData(text, navContent.getId()); //I want to pass the obejct id navLabel.addStyleName(s-ContentTOCItem); event.getDataTransfer().setDragImage(navLabel.getElement(), 10, 10); navLabel.removeStyleName(s-ContentTOCItem); String text = event.getData(text); //Since I am getting the null data in other DnD event, I want to test it here System.out.println(Drag text: +text); //text is null. Data is not stored. } }); -- 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 Designer Issues
Unfortunately no. But I'm working on -- 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/-/yQdZG0d0Bg0J. 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 Designer Issues
Unfortunately no. But I'm working now on property-provider support. It works in general and allows my to open mGWT UI. I need some time for testing this change though. -- 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/-/P11AhJ4i6nsJ. 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 Designer + MGWT library = Runtime exception
I'm working now on property-provider scripts support. It works in general and allows me to open mGWT UI - RootPanel with Button. I need some time for testing this change though. -- 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/-/dEI8FCJHY_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: To any Editors Gurus: I could use some ListEditor use help for the GWT demo I've made...
Thanks for all your stuff Brandon! I also got stuck with the Editor Framework over the last days... And I still have one problem... ListEditor#getList#remove does not really work if you use constraint annotations. AbstractRequestContext#create puts the entity in a map. But it will never be removed from it, not until AbstractRequestContext#processPlayload is finished successfully. So AbstractRequestContext#makePayload uses all created proxies which will be validated. Am I wrong? Should it work or does anyone have a solution? -- 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/-/UK7RzIGt6_wJ. 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: To any Editors Gurus: I could use some ListEditor use help for the GWT demo I've made...
Your problem has nothing to do with editors actually, only with RequestFactory. It's true that any edited proxy will be part of the request, whether it's passed (or referenced by another proxy, transitively, that is passed) as argument to a service method or not; and it's also true that as soon as you edit() a proxy, all the proxies it references are automatically edit()ed as well. Given that there's an explicit unit-test testing that such a proxy is actually sent to the server, I guess it's by-design. I suppose one use-case was to edit proxies, make changes to them, and send them for validation without even calling a service method. I fail to see the real usage though, as the objects would be frozen after the call. I however agree I'd rather only referenced proxies are sent to the server, and if you want to validate your proxies then create a dummy no-op service method (again, I'd fail to see the real usage, but the point is to say it'd be easy to have the same behavior with only small changes). Another use-case could be to send proxies (without changes) to the server so that you can have EntityProxyChange events back, and thus detect deleted or updated objects; but then again I fail to see a real use-case, as detecting updated objects without retrieving them at the same time is kind of useless in 90% of cases, and again, you can easily have that behavior by only adding a service method call (if you want the changes back, then make an echo method that returns its argument, it'd be enough). Feel free to file an issue and link to this message, and let's see how its getting triaged. -- 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/-/9lWDe8rvrnYJ. 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 Designer + MGWT library = Runtime exception
This sounds great, please let me know if I can do anything to help / speed this up. - Daniel 2012/2/11 Konstantin Scheglov konstantin.scheg...@gmail.com I'm working now on property-provider scripts support. It works in general and allows me to open mGWT UI - RootPanel with Button. I need some time for testing this change though. -- 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/-/dEI8FCJHY_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. -- 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.
Using Showcase Sample widgets in my project
Hi everybody , I'm just a beginner of GWT , so here's my question; i'm currently developping a project with GWT and i saw the sample site http://gwt.google.com/samples/Showcase/Showcase.html and i really liked the widgets so i would like to use this widgets in my projects as they are in showcase project..I have an idea to use them like ( but i'm not sure if it's the right way to do that.); -i imported the showcase project in Eclipse and i made it work. -withright click on the project - export - jar (Showcase.jar for example), i made the project like JAR file to use the widgets in my project. - i put the JAR file to var/lib folder of my project and added to my projects's classpath. when i try to add widgets with RootPanel.get().add() and run , there were a lot of errors. in short, what i want to ask is there a way to use Showcase sample widgets in my project and is my way wrong to do that ? Thanks in advance. -- 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: Using Showcase Sample widgets in my project
Showcase is a demonstrator for standard widgets provided by GWT itself. From within a sample in the Showcase, click on the Sample code link at the top of the page, and/or select a file in the list box next to the link and simply copy/paste from there. -- 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/-/5R4cEf6sT4EJ. 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.
RequestFactory: Share a method between the client and the server
Hello, I want to run the same method on the client and server side. The reason is that the user can call that method when interacting with the UI, but the same method can also be called at a later time by a Task on the server side. I already wrote the method using the proxy object. I wanted to know if there is a way to call the same method on the server side (no proxy) without duplicating the code. What is the best practice? Example: MyObject is a domain object in the server package MyObjectProxy is the proxy for MyObject The method that uses the proxies called on the client side. public static int sum(MyObjectProxy proxy) { return proxy.getA() + proxy.getB(); } I want the same method but for the server side with the following signature: public static int sum(MyObject domain) { return domain.getA() + domain.getB(); } Thanks -- 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/-/q4mCoAKYy4kJ. 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: Fix Closure backend with JsNumericEntry (issue1640803)
On 2012/02/09 23:51:58, acleung wrote: LGTM http://gwt-code-reviews.appspot.com/1640803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors