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 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. > > -- > You received t

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 google-web

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 wrote: > hm, was just too less memory. > > unless we will have more memory built in, we wil

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 inste

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 f

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 trun

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 classes

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 https:

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 bec

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 -- List thisSurveysQuestions -- ChoiceGroup choiceGroup -- List choices A method is invoked which loads a Survey object by its ID on the server side, as follows: Request request = R

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 wrote: > Hi Mark, > > Your suggestion worked perfectly,

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 i

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 em

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: 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 wrote: > looking forward to the new GWT plugin for FF10 > > -- > You received thi

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:- outer uibinder

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 workl

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 li

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 RequestFactoryServl

Re: GWT + App Engine = problem with static files size

2012-02-01 Thread Gilberto
Ok, never mind, I just figured out that the server can live without the symbolMaps files. Just put the "-deploy anywhereOutsideWar" into the compiler arguments and be happy. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this d

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

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: 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 se

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 https://groups.google.com/

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

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 AbstractCellTable.Impl The style is removed on the line section.setInnerHTML(html.asString()); Whil

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 t

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"

Catch a javascript event

2012-02-01 Thread Carlos
I open a window and I change the value of a 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 - Child window function x (){

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 Butto

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 --

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 memo

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: 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 t

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 e

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 be

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 (dataProvid

Problem with ValueChangeEvent.fire(HasValueChangeHandlers, T)

2012-02-01 Thread Ali Thabet
Hello, I have a strange behavior when using the method ValueChangeEvent.fire(HasValueChangeHandlers, 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 problem

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 Mod