How to make use of FileApi in the new Elemental?

2013-02-12 Thread membersound
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

Clustering markers in GoogleMaps V3

2013-02-12 Thread Guilhem
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

Export canvas to PNG - image cannot be displayed

2013-02-12 Thread membersound
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;

Re: Export canvas to PNG - image cannot be displayed

2013-02-12 Thread Jens
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

Panel in DialogBox is empty?

2013-02-12 Thread membersound
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);

Re: Using UUID in GWT?

2013-02-12 Thread Mauro
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

Re: Panel in DialogBox is empty?

2013-02-12 Thread 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. 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:

RfValidation tool doesn't works

2013-02-12 Thread zame...@gmail.com
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

GWT comet in push server mode?

2013-02-12 Thread Maria Garcia
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

How to style DecoratedTabPanel vertical?

2013-02-12 Thread membersound
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

Re: Using UUID in GWT?

2013-02-12 Thread membersound
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

Re: Panel in DialogBox is empty?

2013-02-12 Thread membersound
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

Re: Panel in DialogBox is empty?

2013-02-12 Thread membersound
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

Re: Clustering markers in GoogleMaps V3

2013-02-12 Thread Frank
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

Re: How to make use of FileApi in the new Elemental?

2013-02-12 Thread Ümit Seren
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

What is the best way to create multiple versions a GWT application for Desktop / Tablet vs Cell phones?

2013-02-12 Thread thesilverhammer
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:

Re: What is the best way to create multiple versions a GWT application for Desktop / Tablet vs Cell phones?

2013-02-12 Thread Frank
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

Re: What is the best way to create multiple versions a GWT application for Desktop / Tablet vs Cell phones?

2013-02-12 Thread Jens
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

Re: What is the best way to create multiple versions a GWT application for Desktop / Tablet vs Cell phones?

2013-02-12 Thread thesilverhammer
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.

Re: GWT comet in push server mode?

2013-02-12 Thread Andy Stevko
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

Re: What is the best way to create multiple versions a GWT application for Desktop / Tablet vs Cell phones?

2013-02-12 Thread Andy Stevko
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

Re: How to make use of FileApi in the new Elemental?

2013-02-12 Thread Xi
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

Re: What is the best way to create multiple versions a GWT application for Desktop / Tablet vs Cell phones?

2013-02-12 Thread thesilverhammer
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,

CellTree - expanding/collapsing branches

2013-02-12 Thread Tomek Kańka
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

Why does GWT echo PHP script file instead of executing it?

2013-02-12 Thread Bill Doss
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

Re: GWT 2.5.0-rc1 on IPad not firing click events

2013-02-12 Thread agentorange
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

Re: Generating a single .js library with GWT

2013-02-12 Thread Marcos Scriven
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

GWT Advice

2013-02-12 Thread Tim Hill
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

Retrieve Details Such as MCC,MNC,LAC,CellID

2013-02-12 Thread geethu
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 =

Re: WebScokets GWT

2013-02-12 Thread Seamus McMorrow
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.

GWT Maven plugin: how to?

2013-02-12 Thread Kulnor
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

GWT Maps - v2 to v3

2013-02-12 Thread Ben
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

Re: Generating a single .js library with GWT

2013-02-12 Thread Marcos Scriven
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,

Re: Why does GWT echo PHP script file instead of executing it?

2013-02-12 Thread Jens
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

Re: Why does GWT echo PHP script file instead of executing it?

2013-02-12 Thread Thomas Broyer
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

Re: Generating a single .js library with GWT

2013-02-12 Thread Thomas Broyer
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

[gwt-contrib] Change in gwt[master]: Introduces GWT#maybeReportUncaughtException.

2013-02-12 Thread Goktug Gokdogan
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

[gwt-contrib] Change in gwt[master]: Deprecates com.google.gwt.benchmark.*.

2013-02-12 Thread Goktug Gokdogan
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

[gwt-contrib] Change in gwt[master]: Introduce ImmutableAnnotations to reduce memory usage.

2013-02-12 Thread Brian Slesinsky
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