Re: Multipage gwt app
I need to know how to make a rpc call from module2 to module1. I have server class running in module1 and i have to invoke the methods in module1 from client of module2. In GWT each module could define the client and server packages that must include. In your case, make sure you include the packages(in particular classes) containing the service you wish to call in both the modules in both the gwt.xml files. In this case you can call the services as usual. Remember, inclusion of a class/package in one module does not prevent you from including the same class/packages in any number of other modules. Regarding session management, that depends on how and who is managing the sessions for you. 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/-/YOGlEiACCkoJ. 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: Multipage gwt app
make sure you include the packages(in particular classes) containing the service you wish to call in both the modules in both the gwt.xml files. In this case you can call the services as usual. Got it. But to include theses packages in module2 using module2.gwt.xml ? Thanks Deepak On Sat, Nov 19, 2011 at 3:08 PM, -sowdri- sow...@gmail.com wrote: I need to know how to make a rpc call from module2 to module1. I have server class running in module1 and i have to invoke the methods in module1 from client of module2. In GWT each module could define the client and server packages that must include. In your case, make sure you include the packages(in particular classes) containing the service you wish to call in both the modules in both the gwt.xml files. In this case you can call the services as usual. Remember, inclusion of a class/package in one module does not prevent you from including the same class/packages in any number of other modules. Regarding session management, that depends on how and who is managing the sessions for you. 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/-/YOGlEiACCkoJ. 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. -- Deepak Singh -- 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.
CSS generator in GWT
Hello, I was wondering if there was a way to generate CSS code with GWT. If for example I want to have a CSS background with gradient, I need to write it for every browser (-moz, -webkit, -o, etc...) as shown on http://www.colorzilla.com/gradient-editor/ As GWT is about generating javascript tailored for each browser, it would be great to have the same thing for CSS. And it already doeshttp://code.google.com/p/google-web-toolkit/wiki/CssResourceto some extent but I would really welcome a way to generate those -moz, -webkit, etc... Maybe there is already a http://lesscss.org/ equivalent for GWT that I am not aware of? emerix -- 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/-/QZsaJ1fNg6kJ. 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: CSS generator in GWT
I propuse something similar a time ago http://code.google.com/p/google-web-toolkit/issues/detail?id=5301can=4colspec=ID%20Type%20Status%20Owner%20Milestone%20Summary%20Stars On Sat, Nov 19, 2011 at 7:32 AM, emerix rafa...@gmail.com wrote: Hello, I was wondering if there was a way to generate CSS code with GWT. If for example I want to have a CSS background with gradient, I need to write it for every browser (-moz, -webkit, -o, etc...) as shown on http://www.colorzilla.com/gradient-editor/ As GWT is about generating javascript tailored for each browser, it would be great to have the same thing for CSS. And it already doeshttp://code.google.com/p/google-web-toolkit/wiki/CssResourceto some extent but I would really welcome a way to generate those -moz, -webkit, etc... Maybe there is already a http://lesscss.org/ equivalent for GWT that I am not aware of? emerix -- 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/-/QZsaJ1fNg6kJ. 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. -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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 best to test the Editor Framework for vanilla JRE test cases and SimpleBeanEditorDriver
I'm having a hard time tracking down the JRE friendly version of the SimpleBeanEditorDriver. There seems to be some support for RequestFactory using InProcessRequestFactory, but I haven't been able to track down any for SimpleBeanEditorDriver. Is there something that allows JRE unit test support for SimpleBeanEditorDriver subclasses? If not, can someone give me a starting point if I want to contribute this? -- 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.
[no subject]
Hello there, I have been developing Java application with Swing for middle east countries i.e. RTL language. Now I want to start a new project and I want to use GWT technology for it. I just want to be sure,does GWT support RTL language and widgits.Appreciate your help. Cheers Zolf -- 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.
The open-source RIA blueprint sample application 'CrePetstore' and the book 'Building Rich Internet Applications using Flex and Java'
My name is Jonathan Suh. I'm the specialist of Flex and Java development. I've made open-source RIA blueprint sample application 'CrePetstore' in order to give aid to Flex developers. The ‘CrePetstore’ sample application is an example of a fairly common solution in Rich Internet Applications (RIA): it is based on an existing server-side application called ‘JPetstore’, which is page- based, then only uses the RIA system for view layers. This approach has the advantage of a rich yet stable legacy system, allowing the various features of RIAs to be implemented even when the system as a whole cannot or should not be replaced. Such solutions often involve migration of model and control layers, and can be achieved with comparatively low resources and time. You can see more details and try my sample code, book preview version on my site http://www.creapple.com The name of my site 'creApple' is the abbreviation for 'Creative Application Era'. I'd like to make other samples and open them to people continuously based on your products. As well, I published the book 'Building Rich Internet Applications using Flex and Java' on Amazon. This book is divided into ten chapters, which are grouped according to three concepts – Model, Control and View. Model • Getting Started: Learn more about how Rich Internet Applications came into being, and the developer environment necessary for the CrePetstore project. • Spring Fundamentals: Learn about Spring, one of the signature frameworks for Java web applications, and its principles, structure and implementation, together with source code. • Data Service: Learn about the principles and implementation of HTTPService, Web Service and RemoteObject - the techniques used to service data from server-side to the Flex client. Control • Rich Internet Applications: Learn about the basic principles behind RIAs, and how Flex and Spring applications can be integrated to deliver them. • Cairngorm Framework: Learn about Cairngorm, a Model-View-Control (MVC) framework used to structure Flex applications. More than just a framework, however, Cairngorm is generally considered a methodology and best practice that can help achieve optimal arrangements of Flex code and components. • Data Communication: Analogous to the ‘Data Service’ chapter, this chapter examines how the data services are implemented on the Flex client side through source code examples. View • Flex Fundamentals: Looking at the sample application, learn the basic techniques behind building Flex application, using either Flex SDK or Flash Builder. • Event and Data: Learn about event-based architecture and data binding, two ways to create more efficient and organized Flex applications. • User Interface Enhancement: How to use style, skins, chart, navigation, transition and effect and more to improve Flex user interfaces. • Advanced Topics: More advanced techniques such as localization for multiple languages and mobile platform support using Adobe AIR. You can refer my book at http://www.amazon.com/gp/product/1466359579 I believe and hope that my articles and sample codes are very helpful to Flex developers and those are highly efficient in promotions RIA concept to Java developer. -- 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:
Check http://code.google.com/intl/es-ES/webtoolkit/doc/latest/DevGuideClientBundle.html#RTL_support 2011/11/19 Z.A Jafari zjaff...@gmail.com Hello there, I have been developing Java application with Swing for middle east countries i.e. RTL language. Now I want to start a new project and I want to use GWT technology for it. I just want to be sure,does GWT support RTL language and widgits.Appreciate your help. Cheers Zolf -- 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 Developers
Looking for part time GWT developer to work on an interesting concept. Please send me an one pager if it inetersts you. Thanks, Pradeep. -- 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.
Looking for best resources to learn GWT
What are the best resources to learn GWT (other than google's). The books listed on the GWT site look dated. Are there any new ones that support 2.3 and up? I'm also interested in writing iPhone apps in GWT. I've see the one resource about iPhone/GWT dev everyone sites. It is also dated. Anything more complete or newer available? Thanks, Fred -- 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.
Cannot generate eclipse projects for samples
Hi, I am working on Windows 7 64 bits and I have checkouted the current trunk of gwt, I wanted to generate the eclipse project so I found on some website that I am supposed to use ant to do it, however when I try it seems ant cannot find common.ant.xml whild this file exists! Commands below are entered in cygwin environment: $ echo $JAVA_HOME C:\Program Files\Java\jdk1.7.0_01 $ svn checkout http://google-web-toolkit.googlecode.com/svn/trunk/samples gwt-samples $ cd gwt-samples/ Command below is entered in a normal dos command C:\Developer\cygwin\home\Vincent\gwt-samplesant eclipse.generate Buildfile: C:\Developer\cygwin\home\Vincent\gwt-samples\build.xml BUILD FAILED C:\Developer\cygwin\home\Vincent\gwt-samples\build.xml:4: Cannot find C:\Developer\cygwin\home\Vincent\common.ant.xml imported from C:\Developer\cygwin\home\Vincent\gwt-samples\build.xml Total time: 0 seconds but when I look at current directory (with cygwin) : $ ls -la total 44K -rw-r--r-- 1 Vincent None 3.1K Nov 19 21:31 build.xml -rwxr-xr-x 1 Vincent None 7.8K Nov 19 21:31 common.ant.xml* drwxr-xr-x+ 1 Vincent None0 Nov 19 21:30 dynatable/ drwxr-xr-x+ 1 Vincent None0 Nov 19 21:31 dynatablerf/ drwxr-xr-x+ 1 Vincent None0 Nov 19 21:31 expenses/ drwxr-xr-x+ 1 Vincent None0 Nov 19 21:30 hello/ drwxr-xr-x+ 1 Vincent None0 Nov 19 21:30 json/ drwxr-xr-x+ 1 Vincent None0 Nov 19 21:31 logexample/ drwxr-xr-x+ 1 Vincent None0 Nov 19 21:30 mail/ drwxr-xr-x+ 1 Vincent None0 Nov 19 21:30 mobilewebapp/ drwxr-xr-x+ 1 Vincent None0 Nov 19 21:31 showcase/ drwxr-xr-x+ 1 Vincent None0 Nov 19 21:31 simplerpc/ drwxr-xr-x+ 1 Vincent None0 Nov 19 21:31 simplexml/ drwxr-xr-x+ 1 Vincent None0 Nov 19 21:31 validation/ Don't understand why it cannot find common.ant.xml ... -- 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: Hibernate ClassCastException in GWT hosted mode only
I'm facing the same issue and was suspecting a class loading issue. I thought I was inviting trouble when I would place the same Hibernate annotated class in both the server side code and the GWT client side, but until upgrading GWT 2.0 to GWT 2.4, I did not experience this ClassCastException problem. As Alexander has experienced, things work fine when I deploy the .war to an external server, and only see problems running in the DevMode. I see different classes not being cast-able depending on my hibernate.cfg.xml. I'm still trying to sort out how the switch from GWT 2.0 to 2.4 is a factor because I made several changes, but I am glad to hear that I'm not the only one thinking this is a classloader issue. On Nov 18, 9:54 am, Thomas Broyer t.bro...@gmail.com wrote: On Friday, November 18, 2011 2:21:33 PM UTC+1, Alexander Lochschmied wrote: It only becomes: Caused by: java.lang.ClassCastException: org.hibernate.dialect.MySQL5Dialect cannot be cast to org.hibernate.dialect.Dialect We haven playing with those JARs as there may be incompatibilities (JPA 1 vs 2) I think. Currently we do *not *reference them (hibernate-jpa-2.0-api, hibernate-validator and validation-api). Could it be a class loading issue? It's very likely the case yes; generally because the MySQL5Dialect comes from the parent classloader of the one containing the Dialect class. Could it be that some of your dependencies are not in the WEB-INF/lib? IMO, when using Maven, you should really make at least 2 projects: one for the server and one for the client (you can possibly make server depend on client, but I'd rather make a third project shared that both client and server depend on); and you launch the server using the jetty-maven-plugin or whatever, and then run the DevMode in -noserver mode for the client-side code. The problem is that there's no scope=client and scope=server in Maven, so everything in scope=compile or scope=runtime will be copied to your webapp's WEB-INF/lib, as expected, but will *also* be in the classpath of the DevMode, because there's no way to know whether your client-side code needs them or not; that leads to having all server classes twice on the classpath of the webapp (because it's a child classloader of the DevMode's one). -- 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 remove text formatting?
Hello, everybody! I have text with html formatting (originally it was created by RichTextArea). I want to show it as a plain text with no formatting. This is exactly the same as RichTextArea.ExtendedFormat.removeFormat does. But I want to do it programmatically. What is the best way? Thank you, Andrey -- 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/-/m59x3T_8xqwJ. 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.
Speeding up compilation of GWT application
Hello, everyone! I've written a post about speeding up GWT application compilation. Hope it will help everyone in need. http://alextretyakov.blogspot.com/2011/11/speed-up-compilation-of-gwt-application.html -- 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: loading a URL
Thanks. I'll give it a shot. On Nov 18, 2:42 am, Paul Robinson ukcue...@gmail.com wrote: You can't access a randomURLfrom javascript, so it will have to be your server that downloads the content of the remoteURL. If you're using a java server, and you're using RPC, then you could have the client send an RPC request to the server that will make the server download the yahoo file and then return the data to the client. HTH Paul On 17/11/11 12:12, webbed wrote: Hi, I've just spent the past two hours trying to figure out how to do this, but am confused and bamboozled with all the search results. I'm trying to create a web app using GWT. I want it to go to aURL. e.g. http://ichart.finance.yahoo.com/table.csv?s=IBMd=9e=11f=2011g=da... Modify the file contents Allow the user to save the new .csv file to their computer. I'm stuck at step 1: downloading the file. I'm new to GWT, and am not sure where to go from here. I've been reading about RPC, servlets, and other things that have confused me. I've tried coding things up only to find they're not supported. Can someone please point me in the right direction? I would like to know if what I'm trying to do is achievable, and how I should approach the problem. -- 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: Highcharts - updating chart with data
Hi, I haven't checked in the changes yet. He's the code for the HighCharts.gwt.xml: - module public path=public / inherits name=org.moxieapps.gwt.highcharts.Highcharts/ script src=gwtcx/charts/highcharts/javascript/ jquery-1.5.2.min.js / script src=gwtcx/charts/highcharts/javascript/highcharts.js / /module - And, the Dashboards view: - public class SerendipityHighChartsDashboardsView extends DashboardsViewDashboardsUiHandlers implements SerendipityDashboardsPresenter.MyView { // @Inject public SerendipityHighChartsDashboardsView() { super(); // panel.setOverflow(Overflow.AUTO); if (GWT.isScript()) { HLayout northLayout = new HLayout(); northLayout.setHeight(50%); northLayout.setBackgroundColor(white); northLayout.setMembersMargin(8); final Chart chart1 = createDynamicSplineChart(); chart1.setWidth100(); final Canvas chart1Container = new Canvas(); final WidgetCanvas chart1WidgetCanvas = new WidgetCanvas(chart1); chart1Container.addResizedHandler(new ResizedHandler() { public void onResized(ResizedEvent event) { chart1.setSize(chart1Container.getWidth(), chart1Container.getHeight(), false); } }); chart1Container.addDrawHandler(new DrawHandler() { public void onDraw(DrawEvent event) { chart1.setSize(chart1Container.getWidth(), chart1Container.getHeight(), false); } }); final Chart chart2 = createSplineWithPlotBandsChart(); chart2.setWidth100(); final Canvas chart2Container = new Canvas(); final WidgetCanvas chart2WidgetCanvas = new WidgetCanvas(chart2); chart2Container.addResizedHandler(new ResizedHandler() { public void onResized(ResizedEvent event) { chart2.setSize(chart2Container.getWidth(), chart2Container.getHeight(), false); } }); chart2Container.addDrawHandler(new DrawHandler() { public void onDraw(DrawEvent event) { chart2.setSize(chart2Container.getWidth(), chart2Container.getHeight(), false); } }); chart1Container.addChild(chart1WidgetCanvas); chart2Container.addChild(chart2WidgetCanvas); northLayout.addMember(chart1Container); northLayout.addMember(chart2Container); HLayout southLayout = new HLayout(); southLayout.setHeight(50%); southLayout.setBackgroundColor(white); final Chart chart3 = createStackedAreaChart(); chart3.setWidth100(); final Canvas chart3Container = new Canvas(); final WidgetCanvas chart3WidgetCanvas = new WidgetCanvas(chart3); chart3Container.addResizedHandler(new ResizedHandler() { public void onResized(ResizedEvent event) { chart3.setSize(chart3Container.getWidth(), chart3Container.getHeight(), false); } }); chart3Container.addDrawHandler(new DrawHandler() { public void onDraw(DrawEvent event) { chart3.setSize(chart3Container.getWidth(), chart3Container.getHeight(), false); } }); chart3Container.addChild(chart3WidgetCanvas); southLayout.addMember(chart3Container); panel.addMember(northLayout); panel.addMember(southLayout); } } - Cheers Rob http://code.google.com/p/gwt-cx/ On Nov 18, 9:34 am, Darren Salomons salom...@gmail.com wrote: Hi Rob, I see your demo on the site with highcharts but I don't see it in the code on googlecode. Is there a different codebase that you are working on for the highcharts integration? Thanks! Darren -- 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: GWT / Spring Roo Integration
Hi Nick, I post this http://forum.springsource.org/showthread.php?117623-About-future-of-GWT-add-ons=008a707a73ae58d0b5717df77f7db287 in roo forum, but I got no response from the team developing the gwt add-on for roo. What version of roo are you using? On 17 nov, 12:14, Nick Thorson thorson.nicho...@gmail.com wrote: Not sure if this is the group to join, but it seemed like at the very least it was a good place to start. I have been building GWT / Spring Roo apps for about a year now, and have several thoughts I would like to share with the development team of the GWT plugin for Spring Roo. For the most part it works great for getting an application up and running. However, if I want to extend an application, I run into several head aches. I have identified work-arounds that I would like to share. Thank you, Nick Thorson -- http://groups.google.com/group/Google-Web-Toolkit-Contributors