Re: Problem in AsyncCallback call, returned with success

2009-11-14 Thread Sripathi Krishnan
I think you should go through the discussion in this thread - http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/faca1575f306ba0f?fwc=1 --Sri 2009/11/12 Ricardo Cardoso / Gmr > Hello, > > I'm getting a very strange situation. I get the following error in > log, when I do an

JUnit RPC test and Resource not found

2009-11-14 Thread Steve C
I get the following stack trace when trying to test an RPC as per the instructions at pages such as http://code.google.com/webtoolkit/articles/testing_methodologies_using_gwt.html .http://localhost:1659/com.webucator.gwt.filmlist.FilmList.JUnit/ getfilms The development shell servlet received a r

Re: Force image caching in gallery

2009-11-14 Thread Sripathi Krishnan
Sorry - I made a slightly incorrect statement. GWT 2.0 doesn't eliminate the need to set HTTP cache headers. If you use ImageBundle ( http://code.google.com/p/google-web-toolkit/wiki/ImageBundleDesign), GWT will bundle multiple images into a single composite image. Also, if your browser supports i

Re: Error when running ant hosted on OS X 10.6

2009-11-14 Thread Chris Ramsdale
Thanks for all of your input regarding this issue. We were able to reproduce the problem and have found that it is a result of an issue within the 4.0.4 version of JavaScriptCore. We have reported the issue to the WebKit team (http://trac.webkit.org/changeset/50964) and an update was made but it wi

Re: Keeping data "safe" in PagingScrollTable

2009-11-14 Thread Open eSignForms
FYI, I know that this simple construct will work: view.setHTML(cellValue.replace("<", "<")); This uses the AbstractCellView.setHTML (since setText() is deprecated) but changes all < to < which generally seems to be enough to keep a browser from ever introducing any HTML/script hacks in my cell va

Keeping data "safe" in PagingScrollTable

2009-11-14 Thread Open eSignForms
Just getting the basics of PagingScrollTable working under GWT 1.7.1 and noted that the basic for CellRenderer was to use the AbstractCellView.setHTML() method. Since my data shown comes from the database, I want to be sure if people enter HTML constructs into our forms, we don't display them as H

Re: General question about project architecture.

2009-11-14 Thread rjcarr
Great explanation Sri, I just wanted to add that you could also do both. In my project, I have two GWT entry points (and about 5 GWT modules for sharing / reuse), but I also have another 4-5 "regular" web pages with static content. You need to decide the portions of your site that require the dyn

Re: Flex Table - Remove rows

2009-11-14 Thread rjcarr
I tend to do this to clear out tables: while(table.getRowCount() > 0) { table.removeRow(0); } On Nov 13, 3:09 am, Jonas wrote: > Thank you so much Paul, it worked 5 stars. > > Best Regards > > João Lopes > > On 13 Nov, 09:59, Paul Robinson wrote: > > > > > After you remove row number 0, what

Re: how large of your GWT compiled code? My one is 850K

2009-11-14 Thread rjcarr
I have (what I think is) a rather large application and the main files are about 400KB (remember, only 1 is loaded). My browser reports that these files are down to 100K when gzip compressed over the wire. That's the equivalent of one large image ... not too bad in my opinion. Content-Encoding:gz

Re: GWT i18n - Dictionary message placeholders

2009-11-14 Thread rjcarr
I'm not entirely sure what you're asking. A dictionary is obtained by parsing javascript objects (i.e., dictionary types). In your javascript you can parameterize your dictionaries all you want (as far as I know). As far as something more elaborate once the dictionary is built, I can't say I've

Does still work in GWT 1.6/7 ?

2009-11-14 Thread Steve C
I'm having trouble getting the above to work in a gwt.xml file, as in: where my file structure is: src/com/xyz/gwt/myapp/ -- -- entrypoint/ -- -- -- MyApp.java -- webresources/ -- -- -- MyApp.css -- You received this message because you are subscribed to the Google Groups "Google We

Re: Major memory leak with RPC, Internet Explorer and GWT 2.0 (MS1 & MS2)

2009-11-14 Thread Ian Bambury
There are over 100 issues that are still 'New' which were reported 2 years ago or more. 2009/11/14 Rob Issue 4133 was raised almost a month ago but doesn't seem to have been > acknowledged yet - would anyone from the GWT team care to comment ? -- You received this message because you are subs

Re: Error when running ant hosted on OS X 10.6

2009-11-14 Thread julian
Can be that (10.6.1, safari 4) uses 64bit architecture instead 32? Have a look to: http://kb2.adobe.com/cps/509/cpsid_50983.html On Nov 13, 4:41 pm, Kyle Hayes wrote: > I installed your new jar and I'm still getting the following error: > == > hosted: >      [java] On Mac OS X, ensur

Re: Major memory leak with RPC, Internet Explorer and GWT 2.0 (MS1 & MS2)

2009-11-14 Thread Rob
See http://code.google.com/p/google-web-toolkit/issues/detail?id=4133 and http://code.google.com/p/google-web-toolkit/issues/detail?id=4229 Issue 4133 was raised almost a month ago but doesn't seem to have been acknowledged yet - would anyone from the GWT team care to comment ? Cheers Rob On Nov

TaskEngine sample patched for GWT 2.0 MS 2

2009-11-14 Thread Stuart
All, [excuse the cross posting to gwt/appengine] The TaskEngine sample application (http://taskengine.googlecode.com) by jaimeyap is a Google Web Toolkit application that runs on App Engine (http://taskengine.appspot.com) but is especially designed for use on iPhone. TaskEngine depends on GWT In

Making ScrollTable scrollable using keyboard (up/down arrows)

2009-11-14 Thread myapplicationquestions
Hi All, How can we make gwt incubators scrollTable scrollable using keyboards? I want the user to be able to use "up" down keys to scroll the rows. Is that possible? Thanks, Parag -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post t

IE8 and Compatibility View settings and ListBoxes

2009-11-14 Thread Danny
My version of IE8 was accidentally set to "Display all Websites in Compatibility View". This seemed to not hurt anything in my application at first, but later I found that ListBoxes would not display properly, i.e., not at all. I guess GWT generates ListBox code for IE8 that is not compatible wit

Re: GWT Hosted Mode crashing after Snow Leopard 10.6.2 Update

2009-11-14 Thread hugues
On 12 nov, 18:39, hugues wrote: > On 12 nov, 13:35, Daniel Kurka wrote: > > > I found a very UGLY solution to my problem (which enables me to continue > > working). > > > I replaced in LowLevelSaf.java public static native void gcUnprotect(int, > > int); to public static void gcUnprotect(int, i

Joseph Favara/HQ/Corp/OAI is out of the office.

2009-11-14 Thread Joseph . Favara
I will be out of the office starting 11/13/2009 and will not return until 11/16/2009. I will respond to your message when I return. If this is urgnet please contact Narayanan Pillai at 105986 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" gro

Re: Force image caching in gallery

2009-11-14 Thread Vasily Vasilkov
> > If you are images are dynamic, or if you are not using GWT 2.0, you will > have to set appropriate HTTP Cache headers when the image is served. Could you please clarify - what feature I can use in GWT 2.0 instead of setting http headers? -- You received this message because you are subscrib

Re: Local call to a service instead RPC

2009-11-14 Thread Sripathi Krishnan
> > My all application is running in the same JVM > I think you have the wrong idea about GWT. GWT eventually compiles client side code into javascript. The Service call is something that the javascript code executing in browser makes to your server side code which is written in java. Hence, the co

Re: simple question (offtopic?)

2009-11-14 Thread Sripathi Krishnan
GWT is just plain old javascript at the end of the day. Since it is not possible to achieve this use case in javascript, you can't do it in GWT. Google Gears (a browser extension) provides a way to drag and drop files and upload them to the server. I haven't tried it myself, but this article

Re: Force image caching in gallery

2009-11-14 Thread Sripathi Krishnan
Are the images dynamic (user can upload them), or static (known at compile time)? If the images are from a fixed set of images that are available at compile time, you should consider using ImageBundle. It would take care of most o

Re: General question about project architecture.

2009-11-14 Thread Sripathi Krishnan
Multiple modules is the wrong way to use GWT. GWT highly recommends using a single module. Most of the performance optimizations GWT does relies on the fact that you have a single, monolithic module. Plus, as you observed, the time to build your application keeps growing as you add more modules, s

Re: RunAsyncCallback

2009-11-14 Thread Sri
Just in case someone reads through this issue later - there is an interesting discussion on using GIN with runAsync() over here - http://code.google.com/p/google-gin/issues/detail?id=61 On Oct 30, 8:34 pm, Sripathi Krishnan wrote: > I haven't tried it out with GIN / DI. > I am 'guessing' that it

Re: Error when running ant hosted on OS X 10.6

2009-11-14 Thread bmalkow
On 14 Lis, 09:45, "Hayes, Kyle" wrote: > Yes that would be great! http://demo.ovh.net/download/d3c8cd1708cabf4e6bbb24fe2eef8b53/gwt-mac-1.7.1-bmalkow.tar.gz file will be available for: 4 days, 23 hours, 58 minutes -- You received this message because you are subscribed to the Google Groups "G

Re: Error when running ant hosted on OS X 10.6

2009-11-14 Thread Hayes, Kyle
Yes that would be great! On Nov 14, 2009, at 12:28 AM, "bmalkow" wrote: > On 13 Lis, 16:41, Kyle Hayes wrote: >> I installed your new jar and I'm still getting the following error: > > > This is not my jar. ;) > > I checked out releases/1.7 from GWT svn and I compiled it myself. Then > I use

Re: Error when running ant hosted on OS X 10.6

2009-11-14 Thread bmalkow
On 13 Lis, 16:41, Kyle Hayes wrote: > I installed your new jar and I'm still getting the following error: This is not my jar. ;) I checked out releases/1.7 from GWT svn and I compiled it myself. Then I use whole generated GWT distro, not only new JAR. If You don't want build GWT yourself I ca