How to make use of FileApi in the new Elemental?
Hi, can I make use of the new Elemental (https://developers.google.com/web-toolkit/articles/elemental) to have access to the HTML5 FileAPI? Are there any examples yet? Is that yet possible? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Clustering markers in GoogleMaps V3
Hi, I am taking over development on a GWT app that makes use of MarkerClusterer from the V2 API. My current task is to migrate to GoogleMaps V3 without losing any functionality. I haven't found any solution for clustering markers, though. What I did was to replace the dependency I had to gwt-maps-1.1.0-GWT23.jar with a dependency to gwt-maps-3.8.0-pre1.jar, but I can't find any class that seems to deal with clustering in the new API. Other question, is branflake2267's GWT-Maps-V3-Api an alternative to gwt-google-apis? Does it provide a solution to my problem? I found this post that seems related to my concern : https://github.com/branflake2267/GWT-Maps-V3-Api/issues/20 ... but it was closed by the person who opened it, without any submitted answer. If I chose to use this unofficial API (assuming it would allow me to cluster markers) instead of gwt-google-apis, what risks would I be taking in terms of compatibility for the future? Thanks in advance, Guilhem -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Export canvas to PNG - image cannot be displayed
I'm exporting a canvas content as String to a servlet, to generate downloadable file. But the resulting file is not viewable. What could I be missing Send to servlet: String content = canvas.toDataUrl(image/png); Servlet handling: response.setHeader(Content-Disposition, attachment; filename=\myfile.png\) response.setContentType(image/png); outputStream.write(..); I can see the downloaded image starts like this: data:image/png;base64,iVBORw0KGgoNSUhEUgAABi... Maybe this is a problem? But removing data:image/png or base64 or both, it neither can be viewed. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Export canvas to PNG - image cannot be displayed
If you want to download the real image I guess you have to strip off data:image/png;base64, and then decode the base64 string to get the image data as byte array. Then you write the byte array to your servlets output stream. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Panel in DialogBox is empty?
I want to show a panel inside a dialogbox. But the box remains empty. What am I missing: DialogBox box = new DialogBox(true, true); box.setText(test); Image image = new Image(); //getting any image somewhere DockLayoutPanel dp = new DockLayoutPanel(Unit.PCT); dp.addNorth(image, 100); box.setWidget(dp); box.center(); box.show(); Result: Empty popup dialog. I also tried using Unit.EM and PX, tried adding the image as center. Nothing changes. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Using UUID in GWT?
Take a look at the attached file. It works for me. I hope it helps. Mauro Oliveira Em domingo, 10 de fevereiro de 2013 16h59min56s UTC-2, Jens escreveu: UUID is not emulated by GWT so you can't use it out of the box. Take a look at http://concentricsky.com/blog/2011/mar/emulating-jre-classes-gwt if you want to emulate UUID yourself. The link also covers CustomFieldSerializers that are needed for GWT-RPC if you want to send UUIDs over the wire. Out of the box you can only use all the classes/methods listed at: https://developers.google.com/web-toolkit/doc/latest/RefJreEmulation -- J. Am Sonntag, 10. Februar 2013 19:02:30 UTC+1 schrieb membersound: Hi, I tried using java.util.UUID on the client side to generate some unique id's for a list that will be placed into a CellTable. Unfortunately GWT does probably not support UUID on the client side?? No source code is available for type java.util.UUID; did you forget to inherit a required module? Or is it somehow possible to inherit UUID as the compiler tells me? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. /* * File: Math.uuid.js * Version: 1.3 * Change History: * v1.0 - first release * v1.1 - less code and 2x performance boost (by minimizing calls to Math.random()) * v1.2 - Add support for generating non-standard uuids of arbitrary length * v1.3 - Fixed IE7 bug (can't use []'s to access string chars. Thanks, Brian R.) * v1.4 - Changed method to be Math.uuid. Added support for radix argument. Use module pattern for better encapsulation. * * Latest version: http://www.broofa.com/Tools/Math.uuid.js * Information: http://www.broofa.com/blog/?p=151 * Contact: rob...@broofa.com * * Copyright (c) 2008, Robert Kieffer * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * * Neither the name of Robert Kieffer nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * The original name UUID() was renamed to GUID() to avoid duplicity */ public class GUID { private static final char[] CHARS = 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.toCharArray(); /** * Generate a random uuid of the specified length. Example: uuid(15) returns * VcydxgltxrVZSTV * * @param len *the desired number of characters */ public static String get(int len) { return get(len, CHARS.length); } /** * Generate a random uuid of the specified length, and radix. Examples: * ul * liuuid(8, 2) returns 01001010 (8 character ID, base=2) * liuuid(8, 10) returns 47473046 (8 character ID, base=10) * liuuid(8, 16) returns 098F4D35 (8 character ID, base=16) * /ul * * @param len *the desired number of characters * @param radix *the number of allowable values for each character (must be = *62) */ public static String get(int len, int radix) { if (radix CHARS.length) { throw new IllegalArgumentException(); } char[] uuid = new char[len]; // Compact form for (int i = 0; i len; i++) { uuid[i] = CHARS[(int) (Math.random() * radix)]; } return new String(uuid); } /** * Generate a RFC4122, version 4 ID. Example: * 92329D39-6F5C-4520-ABFC-AAB64544E172 */ public static String get() {
Re: Panel in DialogBox is empty?
Layout panels must be given explicit dimensions (preferably in PX) when put within a non-layout panel. DialogBox is not a layout panel. On Tuesday, February 12, 2013 12:28:46 PM UTC+1, membersound wrote: I want to show a panel inside a dialogbox. But the box remains empty. What am I missing: DialogBox box = new DialogBox(true, true); box.setText(test); Image image = new Image(); //getting any image somewhere DockLayoutPanel dp = new DockLayoutPanel(Unit.PCT); dp.addNorth(image, 100); box.setWidget(dp); box.center(); box.show(); Result: Empty popup dialog. I also tried using Unit.EM and PX, tried adding the image as center. Nothing changes. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
RfValidation tool doesn't works
Hi All, I would like to use requestfactory in the following environment: Spring 3.1.x, GWT 2.4.0 When I send a request I've got an error in spring log: --- exec-maven-plugin:1.2:exec (default) @ argus --- warning: Supported source version 'RELEASE_6' from annotation processor 'com.google.web.bindery.requestfactory.apt.RfValidator' less than -source '1.7' /home/zamek/eclipse/ag/target/argus-0.1.0.BUILD-SNAPSHOT/WEB-INF/classes/com/argus/client/request/ArgusRoleRequest.class: warning: Cannot find annotation method 'value()' in type 'RooGwtUnmanagedRequest': class file for org.springframework.roo.addon.gwt.RooGwtUnmanagedRequest not found /home/zamek/eclipse/ag/target/argus-0.1.0.BUILD-SNAPSHOT/WEB-INF/classes/com/argus/client/request/ArgusUserRequest.class: warning: Cannot find annotation method 'value()' in type 'RooGwtUnmanagedRequest' 3 warnings I checked it with a roo generated sample app, and I've got the error too. Despite it is a warning, I've got a null pointer as a result of request. I found some post which said: it is a bug. Is there anybody to facing this error? Unfortunately I cannot use 2.5.0, because I use GWTP, which is working with 2.4.0. thx a lot, Zamek -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
GWT comet in push server mode?
Hi, I have used comet library http://code.google.com/p/gwt-comet/wiki/GettingStarted to create a application. I would like to use comet to server pushes data to my client. Is it possible? Regards, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
How to style DecoratedTabPanel vertical?
Hi, first of all: where can I find the DecoratedTabPanel.css? I want to apply custom styles to it, but I could not find the css styles to be overwritten anywhere. My goal ist to vertically show the tab headers on the left like a menu, and their content on the right side. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Using UUID in GWT?
Thanks, I will have a deeper look at this lateron. At the moment, as you said, I provides UUID emulation and works. Am Dienstag, 12. Februar 2013 12:58:59 UTC+1 schrieb Mauro: Take a look at the attached file. It works for me. I hope it helps. Mauro Oliveira -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Panel in DialogBox is empty?
Ok, but no matter to what size I set the Panel, the DialogBox is always cutton off at a width of around 300 px. Somehow I cannot widen the dialogbox further. Is this a (known) bug? Am Dienstag, 12. Februar 2013 13:01:47 UTC+1 schrieb Thomas Broyer: Layout panels must be given explicit dimensions (preferably in PX) when put within a non-layout panel. DialogBox is not a layout panel. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Panel in DialogBox is empty?
I just found out that this is only the case if setAnimationEnabled(true); -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Clustering markers in GoogleMaps V3
Guilhem, I faced the same task as you a while ago so here are my opinions. Using gwt-google-apis in your project is a bad idea. This project is in very early stage, many things are not working, and it isn't developed any more by google : - Last change in code was in may 2010 (see http://code.google.com/p/gwt-google-maps-v3/source/list) - On this page http://code.google.com/p/gwt-google-maps-v3/ it states : This project is in alpha stage - And also on http://code.google.com/p/gwt-google-maps-v3/ you see this disclaimer : DISCLAIMER : As Google Map API (Javascript) is still in labs, code is expected to break on any relevant change in the API. I ended up using using the one you mention (https://github.com/downloads/branflake2267/GWT-Maps-V3-Api/Apis_Google_Maps-3.8.1.jar) and everything I needed in my project worked like a charm. Didn't use Clustering in that project though. But for my project I was very pleased with that library (much better than the one Google is providing). Another option you can use is not using GoogleMaps but GWT-OpenLayers (http://www.gwt-openlayers.org/). This has many benfits (OpenSource, not depending on other server, can use other tiles than google tiles, ) but also has disadvantages (like no Streetview). I don't know the project you are doing though, so I can't just say everything you need will work in GWT-OpenLayers. greetings, Frank Note : I am a contributor of the GWT-OpenLayers project. Op dinsdag 12 februari 2013 10:40:47 UTC+1 schreef Guilhem het volgende: Hi, I am taking over development on a GWT app that makes use of MarkerClusterer from the V2 API. My current task is to migrate to GoogleMaps V3 without losing any functionality. I haven't found any solution for clustering markers, though. What I did was to replace the dependency I had to gwt-maps-1.1.0-GWT23.jar with a dependency to gwt-maps-3.8.0-pre1.jar, but I can't find any class that seems to deal with clustering in the new API. Other question, is branflake2267's GWT-Maps-V3-Api an alternative to gwt-google-apis? Does it provide a solution to my problem? I found this post that seems related to my concern : https://github.com/branflake2267/GWT-Maps-V3-Api/issues/20 ... but it was closed by the person who opened it, without any submitted answer. If I chose to use this unofficial API (assuming it would allow me to cluster markers) instead of gwt-google-apis, what risks would I be taking in terms of compatibility for the future? Thanks in advance, Guilhem -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to make use of FileApi in the new Elemental?
Yes it is possible. elemental is a really thin wrapper around the HTML5 FileAPI. So it should be straightforward to implement any HTML5 FIle API tutorial via elemental. It would be easier to know if you describe what you want to do with the File API? On Tuesday, February 12, 2013 10:28:30 AM UTC+1, membersound wrote: Hi, can I make use of the new Elemental ( https://developers.google.com/web-toolkit/articles/elemental) to have access to the HTML5 FileAPI? Are there any examples yet? Is that yet possible? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
What is the best way to create multiple versions a GWT application for Desktop / Tablet vs Cell phones?
I need to create two versions of the same GWT application. One will be for Desktop / Tablets and the other for CellPhones. The functionality will be identical, only the presentation will differ. I have done a fair amount of google searching and come up with a structure something like this: com.mycompany.project.client Common Code com.mycompany.project.client.Desktop Desktop / Tablet specific code Desktop.java (entry point) com.mycompany.project.client.Mobile CellPhone specific code Mobile.java (entry point) I have two gwt.xml files, Desktop.gwt.xml and Mobile.gwt.xml. I have two html files. Desktop.html and Mobile.html Finally I have two css files, Desktop.css and Mobile.css The HTML files have been updated to use the right css. The intent is that a cell-phone user will go to /Mobile.html and desktop / tablet to Desktop.html Now I have several questions: 1. Is there anything wrong with this approach? By that I mean, I get well into development and then I discover some horrible limitation or some big problem that will cause a lot of trouble. I just kind of hacked this idea together from reading various stuff on some web sites. It seems to work, but I want to make sure there isn't something I am overlooking. 2. Some web sites suggested having only one gwt.xml file and putting both entry points in the one file. I am not sure I understand this. Is this a good idea? Can I still have my separate web sites via the HTML files? 3. Whenever I edit Mobile.java (or any class under the client.mobile package) and change any CSS stuff, it ends up changing stuff in the Desktop.css. Is there a way to get the editor to recognize that these files are using a different css? Or should I just be using one css for both sites? 4. If this approach is a bad idea, how should I organize it? There is going to be a lot of shared code since the web sites will be identical except for presentation. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: What is the best way to create multiple versions a GWT application for Desktop / Tablet vs Cell phones?
Looks a bit overkill to me ? Just use some responsive css system ? No need to have 2 versions of anything except for css ? Look for example at : http://www.vilepickle.com/blog/2011/10/06/00124-using-adaptive-css-create-mobile-friendly-pages#.URqAPh0WG0c Or you can opt to not use standard css but something like http://lesscss.org/ (many others exist) and just create one dynamic css that auto adapts to the screen size. Op dinsdag 12 februari 2013 18:15:03 UTC+1 schreef thesilv...@gmail.com het volgende: I need to create two versions of the same GWT application. One will be for Desktop / Tablets and the other for CellPhones. The functionality will be identical, only the presentation will differ. I have done a fair amount of google searching and come up with a structure something like this: com.mycompany.project.client Common Code com.mycompany.project.client.Desktop Desktop / Tablet specific code Desktop.java (entry point) com.mycompany.project.client.Mobile CellPhone specific code Mobile.java (entry point) I have two gwt.xml files, Desktop.gwt.xml and Mobile.gwt.xml. I have two html files. Desktop.html and Mobile.html Finally I have two css files, Desktop.css and Mobile.css The HTML files have been updated to use the right css. The intent is that a cell-phone user will go to /Mobile.html and desktop / tablet to Desktop.html Now I have several questions: 1. Is there anything wrong with this approach? By that I mean, I get well into development and then I discover some horrible limitation or some big problem that will cause a lot of trouble. I just kind of hacked this idea together from reading various stuff on some web sites. It seems to work, but I want to make sure there isn't something I am overlooking. 2. Some web sites suggested having only one gwt.xml file and putting both entry points in the one file. I am not sure I understand this. Is this a good idea? Can I still have my separate web sites via the HTML files? 3. Whenever I edit Mobile.java (or any class under the client.mobile package) and change any CSS stuff, it ends up changing stuff in the Desktop.css. Is there a way to get the editor to recognize that these files are using a different css? Or should I just be using one css for both sites? 4. If this approach is a bad idea, how should I organize it? There is going to be a lot of shared code since the web sites will be identical except for presentation. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: What is the best way to create multiple versions a GWT application for Desktop / Tablet vs Cell phones?
In general if you have two different HTML host pages you also need a way to tell the browser which HTML page to load. So you would make at least one additional request just to get redirected to Desktop.html or Mobile.html. This could be avoided if you use GWT's deferred binding feature to select the correct permutation based on the browser vendor and the form factor of the device. That way you would only have a single app/EntryPoint with 12 permutations (2 form factors * 6 browsers). GWT SDK contains a sample project called MobileWebApp that works this way. Try it and take a look at its source. The MobileWebApp pretty much defines its views as interfaces and then uses three factory classes to instantiate the real view implementations based on the form factor. https://gwt.googlesource.com/gwt/+/2.5.0/samples/mobilewebapp/src/main/java/com/google/gwt/sample/mobilewebapp/client/ As already mentioned, a way simpler is to use a responsive approach where just the css will be switched by the browser if certain screen resolution thresholds are reached. Examples (make browser slowly smaller): http://sixrevisions.com/design-showcase-inspiration/responsive-webdesign-examples/ GWT-Bootstrap has some features for responsive designs: http://gwtbootstrap.github.com/#layout:responsiveUtilities Although responsive web design sounds simple I think you also need some effort to get it right and it must fit to your app you want to build. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: What is the best way to create multiple versions a GWT application for Desktop / Tablet vs Cell phones?
This is going to be a very complex web application. I can't get away with just changing things in a CSS file. The entire GUI structure will be different between mobile and desktop. IE: Rotten tomatoes viewed on a desktop looks and feels very different than the same web site on a cell phone. It is not just a scaled down version. We want both modes to look and feel very good. I was planning on having a separate URL for each app, but Ill look into the single URL approach that re-directs or changes to the appropriate URL depending on the browsers size. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: GWT comet in push server mode?
Many projects have used comet to push data from server to client. This library seems stable although no changes in almost a year. Appengine's channel api uses comet, works really well, and is easy to implement. IMO, web sockets are more desirable to comet in terms of resource utilization. WS does not have the same Single Origin limitations and provides a more reliable connection. On Tue, Feb 12, 2013 at 5:04 AM, Maria Garcia maria.garcia.aguirrego...@gmail.com wrote: Hi, I have used comet library http://code.google.com/p/gwt-comet/wiki/GettingStarted to create a application. I would like to use comet to server pushes data to my client. Is it possible? Regards, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- -- A. Stevko === If everything seems under control, you're just not going fast enough. M. Andretti -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: What is the best way to create multiple versions a GWT application for Desktop / Tablet vs Cell phones?
If this is a MPV application, I would change the View to match the form factor and keep the Model Presenter the same. On Tue, Feb 12, 2013 at 10:57 AM, thesilverham...@gmail.com wrote: This is going to be a very complex web application. I can't get away with just changing things in a CSS file. The entire GUI structure will be different between mobile and desktop. IE: Rotten tomatoes viewed on a desktop looks and feels very different than the same web site on a cell phone. It is not just a scaled down version. We want both modes to look and feel very good. I was planning on having a separate URL for each app, but Ill look into the single URL approach that re-directs or changes to the appropriate URL depending on the browsers size. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- -- A. Stevko === If everything seems under control, you're just not going fast enough. M. Andretti -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to make use of FileApi in the new Elemental?
Hi, Yes, you can use Elemental to access the html5 FileAPI. I'm using it in my personal project. See the file in attachement, a utility class of file api I created in my project. Feel free to use it (*if it works for you* ;)). Hope this is helpful. Le mardi 12 février 2013 10:28:30 UTC+1, membersound a écrit : Hi, can I make use of the new Elemental ( https://developers.google.com/web-toolkit/articles/elemental) to have access to the HTML5 FileAPI? Are there any examples yet? Is that yet possible? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. package com.seanchenxi.gwt.webrtc.client.file; import java.util.logging.Logger; import com.google.gwt.core.client.JavaScriptObject; import elemental.client.Browser; import elemental.dom.DOMException; import elemental.html.DOMFileSystem; import elemental.html.Entry; import elemental.html.EntryCallback; import elemental.html.ErrorCallback; import elemental.html.FileError; import elemental.html.FileSystemCallback; import elemental.html.StorageInfoErrorCallback; import elemental.html.StorageInfoQuotaCallback; import elemental.html.VoidCallback; import elemental.html.Window; import elemental.js.html.JsFileError; import elemental.js.util.Json; public class FileUtilities { private final static Logger log = Logger.getLogger(FileUtilities.class.getName()); public static void newFileSystem(int type, final double size, final FileSystemCallback successCallback, final ErrorCallback errorCallback){ final int storageType = (type != Window.PERSISTENT || type != Window.TEMPORARY) ? Window.TEMPORARY : type; Browser.getWindow().getWebkitStorageInfo().requestQuota(storageType, size, new StorageInfoQuotaCallback() { @Override public boolean onStorageInfoQuotaCallback(double grantedQuotaInBytes){ Browser.getWindow().webkitRequestFileSystem(storageType, size, successCallback, errorCallback); return true; } }, new StorageInfoErrorCallback() { @Override public boolean onStorageInfoErrorCallback(DOMException error){ log.severe(onStorageInfoErrorCallback:\n + Json.stringify((JavaScriptObject)error)); return errorCallback.onErrorCallback(Json.parse({\code\: + FileError.QUOTA_EXCEEDED_ERR+}).JsFileErrorcast()); } } ); } public static void getFile(DOMFileSystem fileSystem, String name, EntryCallback successCallback, ErrorCallback errorCallback) { getFile(fileSystem, name, false, successCallback, errorCallback); } public static void getFile(DOMFileSystem fileSystem, String name, boolean createIfNotExist, EntryCallback successCallback, ErrorCallback errorCallback) { fileSystem.getRoot().getFile(name, Json.parse({\create\: +createIfNotExist+}), successCallback, errorCallback); } public static void removeFile(DOMFileSystem fileSystem, String name,final VoidCallback successCallback, final ErrorCallback errorCallback) { getFile(fileSystem, name, new EntryCallback() { @Override public boolean onEntryCallback(Entry entry){ entry.remove(successCallback, errorCallback); return true; } }, new ErrorCallback() { @Override public boolean onErrorCallback(FileError error){ successCallback.onVoidCallback(); return true; } }); } public static void createFile(final DOMFileSystem fileSystem, final String name, final EntryCallback successCallback, final ErrorCallback errorCallback, boolean override) { //Delete file if exists first. if (override) { removeFile(fileSystem, name, new VoidCallback() { @Override public void onVoidCallback(){ getFile(fileSystem, name, true, successCallback, errorCallback); } },errorCallback); } else { getFile(fileSystem, name, override, successCallback, errorCallback); } } }
Re: What is the best way to create multiple versions a GWT application for Desktop / Tablet vs Cell phones?
I am just using the standard setup which isn't MPV. In all honesty I am very, very new to web design. I just kind of got thrown into this project. I have heard of MVC and do not really know what MPV is and how it is similar or different than MVC). Perhaps that might be a good way to go, this MPV. Is there a tutorial on it that shows a normal GWT application, then the same application as MPV? On Tuesday, February 12, 2013 2:41:00 PM UTC-5, Stevko wrote: If this is a MPV application, I would change the View to match the form factor and keep the Model Presenter the same. On Tue, Feb 12, 2013 at 10:57 AM, thesilv...@gmail.com javascript:wrote: This is going to be a very complex web application. I can't get away with just changing things in a CSS file. The entire GUI structure will be different between mobile and desktop. IE: Rotten tomatoes viewed on a desktop looks and feels very different than the same web site on a cell phone. It is not just a scaled down version. We want both modes to look and feel very good. I was planning on having a separate URL for each app, but Ill look into the single URL approach that re-directs or changes to the appropriate URL depending on the browsers size. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. To post to this group, send email to google-we...@googlegroups.comjavascript: . Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- -- A. Stevko === If everything seems under control, you're just not going fast enough. M. Andretti -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
CellTree - expanding/collapsing branches
Hi. What is the best way, to collapse/expand trees, just by clicking on tree item, not +/- images? Should I use selectionModel for these items, and somehow find what node was selected (how?), or use CellPreviewEvent.Handler../../../../../com/google/gwt/view/client/CellPreviewEvent.Handler.htmlin some mysterious way? -- Tomek -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Why does GWT echo PHP script file instead of executing it?
Hi ... I've been trying several examples that I've found online to have a PHP script called by an web application developed with GWT (via Eclipse) using HTTP requests. I figure once I get this to work I can apply the techniques to my own application. However, I am having a horrible time trying to get this to work. The closest that I've come to success is with the StockWatcher application found at https://developers.google.com/web-toolkit/doc/2.1/tutorial/gettingstarted (I also worked the example starting at the JSON-PHP implementation here https://developers.google.com/web-toolkit/doc/2.1/tutorial/JSONphp) The StockWatcher example has you place a PHP script in the war directory. When I start with the basic example, with the following snippet defining the url string (NOTE: The value for q is added after the code snippet below): private static final String JSON_URL = GWT.getModuleBaseURL() + stockPrices?q=; String url = JSON_URL; which gives the url as http://127.0.0.1:/stockwatcher/stockPrices?q=;; I get at 404 error code, even if I move the PHP script to the .../war/stockwatcher directory. If I hardcode the url: url = http://127.0.0.1:/stockPrices.php?q=;; the PHP script is found but the script file is just echoed back the the client routine. This just results in an exception because the client routine is expecting JSON. Now if I change the url to url = http://localhost/StockWatcher/stockPrices.php?q=;; refresh the project, copy the contents of the war directory to C:\wamp\www\StockWatcher, and enter http://localhost/stockwatcher/stockwatcher.html in my browser (I'm using Chrome), then everything works like a charm (I have Wampserver running on my PC). While I might be using the Wampserver in the production system, I'd still like to debug within Eclipse. Does the built in server, Jetty, that comes with Eclipse and the GWT plugin not work with PHP? Thanks so much in advance, Bill -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: GWT 2.5.0-rc1 on IPad not firing click events
I am seeing this issue as well. Have you found a workaround for this? Unfortunately, the issue does not seem to get much attention here. Also, optimizations (level 1 through 9) seem to break my applications in ios 6/6.1 safari. do you see this issue as well? On Friday, February 1, 2013 7:03:16 AM UTC+1, kenny@gmail.com wrote: We have recently upgraded from 2.4 to 2.5(GA) and having this issue. Does anyone have found a solution or work-around? We are not using mgwt. thanks, Kenny On Thursday, September 27, 2012 8:52:50 AM UTC+10, Kevin Campbell wrote: I'm seeing this as well. It's happening on all iOS devices I've tested, and is also preventing focus on input elements. On Wednesday, August 22, 2012 8:45:17 AM UTC-7, Casey Rodgers wrote: In GWT 2.5.0-rc1 buttons (and anchors) will only fire the click event every few clicks. Meaning you have to click on buttons multiple times to get them to fire. Is anyone else having this issue? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Generating a single .js library with GWT
I had the very same question. It's irritating the 1.5 docs are still quite so prominent in Google search! The closest I could find is this: http://www.mccarroll.net/snippets/j2js/index.html Which uses a bit of Python to strip out the useful code. I believe that could instead be done with a custom linker. Marcos On Monday, January 14, 2013 2:13:40 PM UTC, Patrick Coleman wrote: Hey all - I have a GWT app that I'd like to serve as a single .js file that I can use as a library, has anyone had success in this area? I notice that the 'Linker Designhttp://code.google.com/p/google-web-toolkit/wiki/LinkerDesign' site has the following bullet: *Use cases we definitely want to enable:* ... Create a module that appears to be a regular old JavaScript library (i.e. no deferred binding, no two-step startup). So it seems that that's exactly what I'm after, though have had troubles combining everything in the right way to get that result - Does anyone know a linker setup which achieves this use-case, or should I be writing my own? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
GWT Advice
Hi, A friend and I are about to embark on developing and web application and from what we have read/seen, GWT appears to be the most versatile. The requirements for the project are as follows: - Platform agnostic - Both server and client side storage (database) with syncing - Mobile support - Write it once (very nice to have) Before beginning however, I want to make sure that we are choosing the correct development platform. I have also come across things like phonegap, GWT-mobile and MGWT and it is these that I am slightly confused about - which one(s) should we use, for example. What is the best way to integrate them into the main GWT application? If somebody would be kind enough to take the time to guide us in the right direction, it would be greatly appreciated! Cheers Tim -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Retrieve Details Such as MCC,MNC,LAC,CellID
down vote Is it possible to get the following information of a incoming number in android 1. MCC 2. MNC 3. LAC 4. Cell ID I have tried the code TelephonyManager tel = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); String networkOperator = tel.getNetworkOperator(); if (networkOperator != null) { mcc = Integer.parseInt(networkOperator.substring(0, 3)); mnc = Integer.parseInt(networkOperator.substring(3)); } It returns the details of the current SIM, But I want to find it for the incoming number... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: WebScokets GWT
I have used Atmosphere and have had it running successfully, perfectly on Tomcat 7.0.30+ It is a good framework if you want to support as many different clients, servers and protocols as possible, Just download the atmosphere-gwt-chat sample from maven, and drop it into your webapps folder. On Monday, 11 February 2013 19:34:47 UTC, Stevko wrote: I've had some success using the GWT/JMS/Stomp/WebSocket protocol stack which is built on Web Sockets. The Stomp WebSocket wrapper handles much of the complexity of streaming data over web sockets and maintaining the connection. http://code.google.com/p/gwt-stomp-jms/ On Mon, Feb 11, 2013 at 9:55 AM, Maria Garcia maria.garcia...@gmail.comjavascript: wrote: Hi all, I want to implement a simple sample with websockets in GWT but I don't know the best solution. I have cheked Atmostphere but I think it's quite complex... moreover, I can't execute de gwt-example.. Some advices will be helpful or a simple library... Regards, María PS. I also checked http://code.google.com/p/gwt-ws/ but I can't use it because of Jetty.. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. To post to this group, send email to google-we...@googlegroups.comjavascript: . Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- -- A. Stevko === If everything seems under control, you're just not going fast enough. M. Andretti -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
GWT Maven plugin: how to?
All: I use Maven for all our Java project and would like to do the same for our GWT apps (using Eclipse 3.7). Unfortunately, each time I attempt to use the GWT Maven plugin, I find myself frustrated and facing several of issues such as: - m2e reports a lifecycle exception for the non-standard goals (I know the workaround for this one) - Unclear whether I should use the archetype outside Eclipse and import or if I should use the project wizard - Should the generated-source/gwt folder be on the JRE path? Under Eclipse, performing a Maven-Update Configuration does not include this. - The archetype application does not compile or run properly out of the box - The building workspace process is often very slow even on a high performance machine (can take minutes) - Can't use the Run As--Web Application without tweaking the Run Configuration - ... Do others experience similar difficulties and is there a comprehensive guide somewhere to make this work out of the box, without having to tweak settings or spending lots of time looking for work around on Google? Would upgrading to the latest Eclipse help? Any help suggestion would be appreciated. thanks *K -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
GWT Maps - v2 to v3
We are looking at porting our GWT Maps v2 apps to v3. As we understand it there are 2 principle efforts/libs to this effect: 1. http://code.google.com/p/gwt-google-maps-v3/ 2. http://code.google.com/p/gwt-google-apis/downloads/detail?name=gwt-maps-3.8.0-pre1.zip It does appear that the following issues are problematic and/or will require considerable re-engineering when going from v2 to v3: - - tabbed / composite info-windows (for polylines and markers) (they don't exist in v3) - - polyline clickhandlers (broken in v3?) - - Control clickhandlers e.g., custom Button on the map. (broken in v3?) Anyone have systematic porting experience now and willing to share a) which lib they chose, b) how they implemented tabbed infowindows containing widgets (requiring click handlers), and polyline and control clicks, and any other gotchas? There are a few examples showing case by case mitigation of issues but the code samples are limited and we're finding it a challenge thus far (e.g., overriding InfoWindow - how?). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Generating a single .js library with GWT
Just to add to that, specifically, you could override this: http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/core/src/com/google/gwt/core/linker/SingleScriptTemplate.js Thus obviating the need to strip out the unneeded stuff! On Tuesday, February 12, 2013 10:23:11 PM UTC, Marcos Scriven wrote: I had the very same question. It's irritating the 1.5 docs are still quite so prominent in Google search! The closest I could find is this: http://www.mccarroll.net/snippets/j2js/index.html Which uses a bit of Python to strip out the useful code. I believe that could instead be done with a custom linker. Marcos On Monday, January 14, 2013 2:13:40 PM UTC, Patrick Coleman wrote: Hey all - I have a GWT app that I'd like to serve as a single .js file that I can use as a library, has anyone had success in this area? I notice that the 'Linker Designhttp://code.google.com/p/google-web-toolkit/wiki/LinkerDesign' site has the following bullet: *Use cases we definitely want to enable:* ... Create a module that appears to be a regular old JavaScript library (i.e. no deferred binding, no two-step startup). So it seems that that's exactly what I'm after, though have had troubles combining everything in the right way to get that result - Does anyone know a linker setup which achieves this use-case, or should I be writing my own? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Why does GWT echo PHP script file instead of executing it?
Does the built in server, Jetty, that comes with Eclipse and the GWT plugin not work with PHP? Jetty does not support PHP directly (thats why its just echo'd). You would need to define a CGI servlet that calls PHP installed on your system or use a Java implementation of PHP, something like http://quercus.caucho.com/ But if your backend is solely PHP, so no Java servlets/J2EE stuff, then you dont need Jetty at all. Just install a web server that supports PHP and configure it to point to your project's war folder that contains the php files. In Eclipse you would tell GPE to not launch the embedded jetty server as you don't need it. If you choose for example Apache or Nginx as local web server you could also proxy specific request URLs to a Java backend if you ever want to use Java servlets in the future. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Why does GWT echo PHP script file instead of executing it?
On Wednesday, February 13, 2013 12:13:55 AM UTC+1, Jens wrote: Does the built in server, Jetty, that comes with Eclipse and the GWT plugin not work with PHP? Jetty does not support PHP directly (thats why its just echo'd). You would need to define a CGI servlet that calls PHP installed on your system or use a Java implementation of PHP, something like http://quercus.caucho.com/ But if your backend is solely PHP, so no Java servlets/J2EE stuff, then you dont need Jetty at all. Just install a web server that supports PHP and configure it to point to your project's war folder that contains the php files. In Eclipse you would tell GPE to not launch the embedded jetty server as you don't need it. If you choose for example Apache or Nginx as local web server you could also proxy specific request URLs to a Java backend if you ever want to use Java servlets in the future. See https://developers.google.com/web-toolkit/doc/latest/DevGuideCompilingAndDebugging#How_do_I_use_my_own_server_in_development_mode_instead_of_GWT's -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Generating a single .js library with GWT
Have you tried collapse-all-properties/ (see https://code.google.com/p/google-web-toolkit/wiki/SoftPermutations) possibly combined with add-linker name=sso/ On Tuesday, February 12, 2013 11:23:11 PM UTC+1, Marcos Scriven wrote: I had the very same question. It's irritating the 1.5 docs are still quite so prominent in Google search! The closest I could find is this: http://www.mccarroll.net/snippets/j2js/index.html Which uses a bit of Python to strip out the useful code. I believe that could instead be done with a custom linker. Marcos On Monday, January 14, 2013 2:13:40 PM UTC, Patrick Coleman wrote: Hey all - I have a GWT app that I'd like to serve as a single .js file that I can use as a library, has anyone had success in this area? I notice that the 'Linker Designhttp://code.google.com/p/google-web-toolkit/wiki/LinkerDesign' site has the following bullet: *Use cases we definitely want to enable:* ... Create a module that appears to be a regular old JavaScript library (i.e. no deferred binding, no two-step startup). So it seems that that's exactly what I'm after, though have had troubles combining everything in the right way to get that result - Does anyone know a linker setup which achieves this use-case, or should I be writing my own? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Introduces GWT#maybeReportUncaughtException.
Goktug Gokdogan has abandoned this change. Change subject: Introduces GWT#maybeReportUncaughtException. .. Abandoned Submitted. -- To view, visit https://gwt-review.googlesource.com/1820 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: abandon Gerrit-Change-Id: I7c25b8de334ef24c4795efdbb76023e0825136bb Gerrit-PatchSet: 4 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Goktug Gokdogan gok...@google.com Gerrit-Reviewer: Brian Slesinsky skybr...@google.com Gerrit-Reviewer: Goktug Gokdogan gok...@google.com Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com Gerrit-Reviewer: Ray Cromwell cromwell...@google.com -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Deprecates com.google.gwt.benchmark.*.
Goktug Gokdogan has abandoned this change. Change subject: Deprecates com.google.gwt.benchmark.*. .. Abandoned Submitted. -- To view, visit https://gwt-review.googlesource.com/1900 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: abandon Gerrit-Change-Id: I51fe1c9e73e39df745e71bf1fbf459fd6cc78f7f Gerrit-PatchSet: 2 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Goktug Gokdogan gok...@google.com Gerrit-Reviewer: Brian Slesinsky skybr...@google.com Gerrit-Reviewer: Goktug Gokdogan gok...@google.com Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Introduce ImmutableAnnotations to reduce memory usage.
Brian Slesinsky has uploaded a new patch set (#2). Change subject: Introduce ImmutableAnnotations to reduce memory usage. .. Introduce ImmutableAnnotations to reduce memory usage. Most usages of the Annotations class don't actually need inheritance; only JRealClass does. Also, most JParameters have no annotations. By switching to an immutable implementation and always using the same instance to represent empty, we can get rid of most Annotations instances. Also documented the constraints on the Annotations class. There should be no change in semantics for GWT applications. Change-Id: Id70da4aca286c2da1a5ba423f750cecb14aa11eb Review-Link: https://gwt-review.googlesource.com/#/c/1920/ --- M dev/core/src/com/google/gwt/core/ext/typeinfo/HasAnnotations.java M dev/core/src/com/google/gwt/dev/javac/typemodel/Annotations.java A dev/core/src/com/google/gwt/dev/javac/typemodel/ImmutableAnnotations.java M dev/core/src/com/google/gwt/dev/javac/typemodel/JAbstractMethod.java M dev/core/src/com/google/gwt/dev/javac/typemodel/JField.java M dev/core/src/com/google/gwt/dev/javac/typemodel/JPackage.java M dev/core/src/com/google/gwt/dev/javac/typemodel/JParameter.java 7 files changed, 132 insertions(+), 51 deletions(-) -- To view, visit https://gwt-review.googlesource.com/1920 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Id70da4aca286c2da1a5ba423f750cecb14aa11eb Gerrit-PatchSet: 2 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Brian Slesinsky skybr...@google.com Gerrit-Reviewer: Brian Slesinsky skybr...@google.com Gerrit-Reviewer: John A. Tamplin j...@jaet.org Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.