Re: GWT: Google Map in firefox only randomly working

2012-02-01 Thread MeiAestro
I checked FF web-console. Following http gets are not done when it is NOT working: [00:18:42.241] GET http://maps.gstatic.com/intl/de_ALL/mapfiles/poweredby.png [HTTP/1.1 304 Not Modified 31ms] [00:18:42.254] GET http://maps.gstatic.com/intl/de_ALL/mapfiles/mapcontrols3d5.png [HTTP/1.1 304 Not

Problem with ValueChangeEvent.fire(HasValueChangeHandlersT, T)

2012-02-01 Thread Ali Thabet
Hello, I have a strange behavior when using the method ValueChangeEvent.fire(HasValueChangeHandlersT, T). This method works well with browsers Mozilla Firefox 6.0.2 and Opera 11.10, but does not work for browsers Chrome, Internet Explorer 9 and Safari 5.0.3. Do you have any idea about this

reload celltable data

2012-02-01 Thread jgm
Hi, We are using a celltable with a ListDataProvider. The celltable is defined via UiBinder. When loading new data, the loadingindicator is not shown and the celtable is not cleared. When loading new data, we would like to reset the celltable and dataprovider, something like this: if

Re: reload celltable data

2012-02-01 Thread Thomas Broyer
AFAICT, CellTable shows the loading indicator only when the LoadingState is LOADING, and that one is set by the internal HasDataPresenter only when the known rowData is empty (and the rowCount is not 0). So I think you need to call setVisibleRangeAndClearData(). -- You received this message

FF10, here we go again

2012-02-01 Thread Dimitrijević Ivan
Google please provide us FF10 compatible addon. 10x -- 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/-/GsKp_wV6oJ4J. To post to this group, send

Re: FF10, here we go again

2012-02-01 Thread David Guo
looking forward to the new GWT plugin for FF10 -- 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/-/zkvPoc0BRWQJ. To post to this group, send email to

Re: reload celltable data

2012-02-01 Thread jgm
Hi, Thanks for your quick answer. We also in the meantime found out that .. private void clearTable() { if (dataProvider.getDataDisplays() != null dataProvider.getDataDisplays().isEmpty() == false) { dataProvider.removeDataDisplay(cellTable);

Re: building a project with maven on a 16core machine

2012-02-01 Thread pansen
hm, was just too less memory. unless we will have more memory built in, we will reduce the permutations by ``mvn -U clean integration-test -Penv-config,env- hudson-javabot-1 -Djetty.port=9855 -Dgwt.compiler.workDir=/data/tmp - Dgwt.compiler.localWorkers=10`` cheers, andi $ dmesg Out of

Window.ClosingEvent is not fire in iPad

2012-02-01 Thread Carlos
Hello, When I make a change of my window location the Window.ClosingEvent it's not fire on Safari, iPad2, iOS 5.0.1... I attach a example source that works in android, firefox, chrome... but not in Safari... I don't know which is the problem... could anyone help me¿ Thank you

Multiple constructors with UiBinder

2012-02-01 Thread Carlos
Hi, How do I define a class with more than one constructor to be use with UiBinder? @UiConstructor it's not allowed to be put in more than one constructor :S For example... if my class is the following... How can I tell to Uibinder that I have 4 constructors? public class MyButton extends

Catch a javascript event

2012-02-01 Thread Carlos
I open a window and I change the value of a input element that I have in the main html with javascript from the child window . How do I catch the onChange events from GWT in parent window? -- Parent window body input type=hidden id=var1 value=not_init /body

Styling a custom CellList

2012-02-01 Thread Olivier Scherler
Hello everybody, I am having a tough time wrapping my mind around CSS resources. I have a subclass of AbstractCell that I want to style depending on its selected state. I found that I can subclass (or rather subinterface) CellList.Resources, define a CSS file with @Source(MyCellListResources.css)

problems with serialization with ServerSerializationStreamWriter

2012-02-01 Thread junsten
Hello! I'm having some trouble getting the serialization with ServerSerializationStreamWriter working. My case is that I have a file upload. And as a result back to the client I want to serialize a java class using the ServerSerializationStreamWriter. On the server I have some code looking like

Bug in CellTable.Resources when migrating to GWT 2.4

2012-02-01 Thread Ayala
Hi, After the migration to GWT 2.4 from GWT 2.3, my cellTable is not affected anymore by the CellTable.Resources. I tried to debug the problem and saw that in the method replaceAllRows in the class AbstractCellTableT.Impl The style is removed on the line section.setInnerHTML(html.asString());

ImageResources vs ImageResources.getSafeUri

2012-02-01 Thread tong123123
I find if using Image image1 = New Image(ImageResources); image1.setSize(200px, 180px); the image cannot shrink to fit the image1 widget, but only a portion of the image is shown. if using Image image1 = New Image(ImageResources.getSafeUri()); image1.setSize(200px, 180px); the image can shrink

Re: Bug in CellTable.Resources when migrating to GWT 2.4

2012-02-01 Thread Thomas Broyer
Which browser is having the problem? IE should use the ImplTrident class, which doesn't use innerHTML on table elements. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: ImageResources vs ImageResources.getSafeUri

2012-02-01 Thread Thomas Broyer
An ImageResource can be generated in many ways: a data: URI, a css sprite (one big image with all ImageResource), a simple reference to the image URL on the server, etc. new Image(ImageResource) doesn't know which implementation is used (and it shouldn't have to!) so in this case it always

How do I get the full, server-side stacktrace to the client?

2012-02-01 Thread icfantv
I followed the instructions here: http://cleancodematters.wordpress.com/2011/05/29/improved-exceptionhandling-with-gwts-requestfactory, But they don't appear to be working. I need to get the full, server-side stacktrace (if an exception is thrown) to the client-side. Anyone know how to do this?

Re: How do I get the full, server-side stacktrace to the client?

2012-02-01 Thread Thomas Broyer
Pass it as the message of the ServerFailure. (honestly, you really *need* it? users don't need stack traces, developers need them, for debugging; if you're trying to extract some information from the stack trace, then you're doing it wrong: don't throw an exception, but rather return an error

Re: How do I get the full, server-side stacktrace to the client?

2012-02-01 Thread icfantv
Thanks. I'm doing this but I also do not see the stack trace in the logs (you can see where I'm logging it below). This means I'm not registering or configuring the handler correctly. I have a new request factory servlet as thus: public class FooRequestFactoryServlet extends

How to stall GWT app while it is writing file in background? Timer object??

2012-02-01 Thread Joshua Carey
I have a gwt application that calls a gwt servlet (from my presenter class) to write a PDF file to disk, then in my presenter class I display the newly created PDF using Window.open(my.pdf);. The problem is that the window.open executes before the pdf is finished writing to disk. I would

Re: How to stall GWT app while it is writing file in background? Timer object??

2012-02-01 Thread Mark
The whole idea between AJAX is asynchronous operation, the client continues working while the server does work. There's no telling how long the server will take to do its work so a Timer is not the best option. Since you want the client to react when the server finishes you need to pass the

DOM events don't work in nested uibinder

2012-02-01 Thread Deepak Singh
Hi All, With respect to GWT 2.4 I have to add many objects of a uibinder widgets(e.g.inner Uibinder) at a particular location in another uibinder(e.g. outer uibinder). So the DOM events associated with fields in inner uibinder does not work. Here is the clear picture, html:- div id=myHtml/div

Re: FF10, here we go again

2012-02-01 Thread Alan Leung
I've been working on it. Just FYI, the forward compatibility feature in FF10 doesn't apply to binary extensions so it won't make this process simpler in any way. :( -Alan On Wed, Feb 1, 2012 at 6:20 AM, David Guo angel243...@gmail.com wrote: looking forward to the new GWT plugin for FF10 --

Re: How to stall GWT app while it is writing file in background? Timer object??

2012-02-01 Thread Joshua Carey
Actually, I have that exact setup now, the only difference is in my onSuccess method I really wasn't doing anything. So in the client code I showed you above, I should take the logic regading the window.open and put it in the onSuccess method and that should avoid prematurely loading the window?

Re: Diagnose GWT DMP Plugin crashes on Chrome

2012-02-01 Thread JoseM
Nobody has any ideas how we can diagnose our issue? -- 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/-/HYEz_vNRF30J. To post to this group, send

Re: How to stall GWT app while it is writing file in background? Timer object??

2012-02-01 Thread Joshua Carey
Hi Mark, Your suggestion worked perfectly, except for one small thing. For some reason moving the Window.open from the button click event, to the onSuccess method, now creates a pop up window, instead of a new tab.. Its weird because they are both being executed within the presenter class so

Re: How to stall GWT app while it is writing file in background? Timer object??

2012-02-01 Thread Thad
See http://groups.google.com/group/google-web-toolkit/browse_frm/thread/2bc7750aa72470f5/9afa4441d4fcceb0 In the 3rd message, I describe how I do something similar using a hidden frame as my download target. On Feb 1, 3:30 pm, Joshua Carey jc11...@gmail.com wrote: Hi Mark, Your suggestion

Nested entity not loaded all the time; possible race condition?

2012-02-01 Thread Ryan McFall
In an application using RequestFactory from GWT 2.3.0, I have the following object structure: Survey -- ListISurveyQuestion thisSurveysQuestions -- ChoiceGroup choiceGroup -- ListIChoiceGroupItem choices A method is invoked which loads a Survey object by its ID on the server side,

Re: DOM events don't work in nested uibinder

2012-02-01 Thread Thomas Broyer
Widgets have to be attached for their events to work, so use outerHtmlPanel.add(innerWidget, placeholder); The fact that innerWidget is built with UiBinder has no consequence at all. See http://code.google.com/p/google-web-toolkit/wiki/DomEventsAndMemoryLeaks -- You received this message

Re: FF10, here we go again

2012-02-01 Thread Adam
Well, hopefully their long term support of FF10, will allow it to be used for GWT dev for a while w/o all the hassle of updates all the time. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

GWT Designer on existing project (Newbie)

2012-02-01 Thread swebb99
Hi, I've just started on an existing project that is using GWT , well Ext GWT (I'm new to it after years of swing development) but they have been hand cranking the screens. I'd like to start using the designer. I installed the designer pluggin into eclipse and tried to open one of the java

Re: Nested entity not loaded all the time; possible race condition?

2012-02-01 Thread Thomas Broyer
I would have said it's http://code.google.com/p/google-web-toolkit/issues/detail?id=6710 but you said you're using 2.3, not 2.4; and it doesn't looks like http://code.google.com/p/google-web-toolkit/issues/detail?id=6115 either. Anyway, if you use RF, stick to the latest version (run from

Re: Nested entity not loaded all the time; possible race condition?

2012-02-01 Thread Ryan McFall
Hi Thomas: I moved to 2.4, and the compiler told me about an error in my proxy related to ChoiceGroup that I had not caught. Oone of the server side methods was using an interface for which there was no proxy. I remember complaining about the lack of tool support for this last summer, with the

Re: DOM events don't work in nested uibinder

2012-02-01 Thread Clint Checketts
Oh this is exactly my same problem. I've inherited code that has this same issue (and it is thousands of lines of various widgets). So far folks had hacked around the problem by using JQuery.live() method. Are you saying that Deepak's code should work if he removed the appendChild calls and

Re: building a project with maven on a 16core machine

2012-02-01 Thread Clint Checketts
Can you just set the localWorkers to a smaller amount? It automatically sets it to the # of CPUs available. (which is why you are likely needing more memory) -Clint On Wed, Feb 1, 2012 at 8:03 AM, pansen andi.ba...@googlemail.com wrote: hm, was just too less memory. unless we will have more

auto minify external javascript

2012-02-01 Thread Luke
may i know is there any paramater to set in gwt.xml when including external javascripts so that all files are minify and combine into 1 file? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: FF10, here we go again

2012-02-01 Thread Alan Leung
Currently under code review: http://gwt-code-reviews.appspot.com/1634803/ -Alan On Wed, Feb 1, 2012 at 10:06 AM, Adam a...@sevogle.com wrote: Well, hopefully their long term support of FF10, will allow it to be used for GWT dev for a while w/o all the hassle of updates all the time. --

Re: [gwt-contrib] CSS3 support in CssResource: Closure Stylesheets?

2012-02-01 Thread Thomas Broyer
On Wed, Feb 1, 2012 at 1:16 PM, Daniel Kurka kurka.dan...@googlemail.com wrote: Thomas are you doing something about that? No, I started looking at it, but quickly gave up, without writing any line of code (I mean, I have no single commit in my closure-stylesheets local git branch). I have no

[gwt-contrib] Google App Engine - Bug ?

2012-02-01 Thread Ari Block
I am runing this code : Class.forName(net.sourceforge.jtds.jdbc.Driver); con = DriverManager.getConnection(jdbc:jtds:sqlserver://localhost: 1433/Registration;namedPipe=true,sa,sa); // Create and execute an SQL statement that returns some data. String SQL = SELECT TOP 1000 [Test] FROM

Re: [gwt-contrib] Google App Engine - Bug ?

2012-02-01 Thread Toby Reyelts
Ari, If you're building an App Engine app, GWT provides you with an App Engine development server which mimics the App Engine production environment. The production environment does not allow you to read from arbitrary paths (the security exception you see) or make arbitrary networking

[gwt-contrib] Re: Working CodeSplitter2. (issue1631803)

2012-02-01 Thread cromwellian
http://gwt-code-reviews.appspot.com/1631803/diff/1/dev/core/src/com/google/gwt/dev/jjs/ast/JMethod.java File dev/core/src/com/google/gwt/dev/jjs/ast/JMethod.java (right): http://gwt-code-reviews.appspot.com/1631803/diff/1/dev/core/src/com/google/gwt/dev/jjs/ast/JMethod.java#newcode449

[gwt-contrib] Firefox 10 DevMode Plugin (issue1634803)

2012-02-01 Thread acleung
Reviewers: conroy, Description: Firefox 10 DevMode Plugin Please review this at http://gwt-code-reviews.appspot.com/1634803/ Affected files: M plugins/xpcom/ExternalWrapper.cpp M plugins/xpcom/Makefile M plugins/xpcom/SessionData.h A plugins/xpcom/VisualStudio/ff100-xpcom.vcproj M

Re: [gwt-contrib] CSS3 support in CssResource: Closure Stylesheets?

2012-02-01 Thread Ray Cromwell
Sorry to hear that. This is actually on our list of priorities for GWT, so we will have to take this up internally. On Wed, Feb 1, 2012 at 4:44 AM, Thomas Broyer t.bro...@gmail.com wrote: On Wed, Feb 1, 2012 at 1:16 PM, Daniel Kurka kurka.dan...@googlemail.com wrote: Thomas are you doing