Re: General question about project architecture.

2009-11-15 Thread David C. Hicks
Thanks for the replies, guys, and yes that's a great explanation! We're very new to GWT. So, clearly we're learning these ins and outs. Unfortunately, we started with a Struts2-based application, and we're only adding new screens in GWT as they come up. I'll have to think about it, but it's

Re: Flex Table - Remove rows

2009-11-15 Thread Zak
I do the same as rjcarr It's also really convenient if you have a header row (with the names of the columns, for example). then to clear the data you can do: while (table.getRowCount() 1) table.removeRow(1); it's too bad FlexTable#clear() only removes the widgets... it's never been useful

Re: Problem with Eclipse and GWT

2009-11-15 Thread Christoph Breidert
Thanks everyone for the replies. Great news group. I fixed the problem by changing to Sun's JDK in eclipse's project settings Instead of /usr/lib/jvm/java-6-openjdk I now use /usf/lib/jvm/java-6-sun-1.6.0.16 Now everything work's nice and smoothly just like before I upgraded Ubuntu. Cheers,

Handling Oracle TIMESTAMP(3) with GWT 1.7.1, GXT 2.0.4 and Hibernate

2009-11-15 Thread Robert La Ferla
I have database tables that contain some columns of type TIMESTAMP(3). I map these in Hibernate using timestamp in the XML mapping file. The corresponding Java class uses Date. This gets passed over GWT-RPC to the client that is using GXT 2.0.4 to display those records in a Grid. The

Simple example on using gwt-incubator PagingScrollTable

2009-11-15 Thread Davis Ford
I just slapped this blog entry together with a simple example on using PagingScrollTable from gwt-incubator. http://zenoconsulting.wikidot.com/blog:17 Hope someone finds it useful. Regards, Davis -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: Which is the best way to manage many rows in a table with pagination?

2009-11-15 Thread Davis Ford
Ok, as promised, here is how I'm using the widget: http://zenoconsulting.wikidot.com/blog:17 -- hope it helps. Regards, Davis On Thu, Nov 12, 2009 at 9:28 PM, Yozons Support on Gmail yoz...@gmail.comwrote: That would be awesome. I'll keep my eyes out for your posting. I would love to use

Re: incubator's PagingScrollTable(pagination+Sorting)

2009-11-15 Thread Davis Ford
Hi, here's a blog post I made that shows how I'm using the widget. It may help if you are still looking for a solution. http://zenoconsulting.wikidot.com/blog:17 http://zenoconsulting.wikidot.com/blog:17Regards, Davis On Wed, Nov 4, 2009 at 2:40 AM, shloka chythanya@gmail.com wrote:

GWTTestCase + Spring

2009-11-15 Thread dadodev
I'm working on a GWT (1.7) application that uses Spring and Hibernate on the server side that is secured with SpringSecurity and CAS. I want to create some client side tests using GWTTestCase to test the UI and Asynch behavior of the application. I have two problems/questions regarding

embedding into another site

2009-11-15 Thread Davidj2k
I am fairly new to GWT and I am trying to create an application that can be embedded into another site easily such as the other site identifying a div to place my application in, the problem I have run into is cross domain issues, I have looked at using an IFrame but ran into problems with that as

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

2009-11-15 Thread Backslash
Yes. http://code.google.com/p/google-web-toolkit/issues/detail?id=4133 On Nov 13, 8:18 am, Rob rob.a.st...@gmail.com wrote: I've been trying out one of my existing apps with GWT 2.0 to see what advantages it has and have noticed a major memory leak when using RPC with Internet Explorer 8.0.

Re: can't inherit gwt maps module

2009-11-15 Thread Stephen Walsh
Brady, If you right-click on your project and select Properties you can add an external JAR file. Or better yet, create a new plain folder and put all of your jar files in there. Then you can reference the library. I'm at work and can't send you a screen shot of my setup, but let me know if

__gwt_historyFrame Why not dynamically put it on the webpage?

2009-11-15 Thread sixcorners
Is it possible to put the hidden iframe for the History class onto the webpage from inside the toolkit? Maybe just send it for the browsers that need it too? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

Re: General question about project architecture.

2009-11-15 Thread rolf
What's the best way to create a web app with multiple entry points but a lot of common code (eg. common widgets and dialogs) shared between them, as well as a common server back end? Currently I'm creating multiple modules and multiple HTML pages within a single web app but I'm also worried about

Re: GWT i18n - Dictionary message placeholders

2009-11-15 Thread TimP
Hi Jon, I have/had the same problem. I just wrote a wrapper for the Dictionary class. I'm surprised I couldn't find an easy way to do it. You can try this code if you want, although I don't guarantee its correctness or quality. It works like the dictionary class with the addition of the

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

2009-11-15 Thread Edgenius
It looks no one care about initial loading performance. My project single HTML is 850k, after gzip is about 200k. OK, maybe I am too critical On Nov 15, 7:50 am, rjcarr rjc...@gmail.com wrote: I have (what I think is) a rather large application and the main files are about 400KB (remember,

misconfigured serializable class on the server

2009-11-15 Thread Aaron
Hi, I tried to use GWT with a third part libraries like gwt-log and smartgwt .Application works great in the hosted mode but in the web mode i get this exception.. ERROR: Could not find class 'com.google.gwt.json.client.JSONException' listed in the serialization policy file

GWT generate code does not load in firefox

2009-11-15 Thread siddharth
My code works fine in IE8, but on firefox 3.5, the javascript fails to load. I changed the codegen to detailed mode and tried to figure out why using firebug. THis is the error I get: com_google_gwt_dom_client_DOMImplMozilla_

How to handle the returned response from the server

2009-11-15 Thread Jey
I am trying to post data to the server using FormPanel widget. In my case the server returns a jsp page,so can anyone tell me how should i handle the results in my page so that i can display the returned jsp page. public void onSubmitComplete( FormSubmitCompleteEvent event) {

Too much is happening (the events are crowding the bus)?

2009-11-15 Thread slind...@gmail.com
I am attempting to implement the EventBus pattern and I find myself creating a LOT of Events (extending GwtEvent). I'll try to illustrate what I mean with my Car object. I have a list of cars and a button called Add Car. This button has a ClickHandler attached which will fire a AddCarEvent. This

How to test suggestBox

2009-11-15 Thread zoe.Liao
Hi,I have got a problem when I use selenium to test suggestBox.I cann't ensureDebugId to the suggestBox popup's items.And the items ids changed everytime I clicked the box.It seems that the id are set some default values as gwt-uid-*. Thanks a lot. -- You received this message because you are

just completed the stockwatcher tutorial..

2009-11-15 Thread doright
which was an excellent training tool. However I'm at the bit where I'm deploying my RPC-based web app to my local apache-tomcat installation.(see http://code.google.com/webtoolkit/doc/1.6/DevGuideServerCommunication.html#DevGuideRPCDeployment) The normally fantastic instructions seem to be

GWT Chat

2009-11-15 Thread Jim
hi, I'd like make a chat using GWT 1.7 but gwt doesn't allow the use of socket ? Have you got any idea for the communications client/server? i've tested the gwt-socket but the project is not active ... i've heard the library comet could help me, what do you think about it ? Thx a lot -- You

Re: GWT 2.0 ms1 RPC issue IncompatibleRemoteServiceException: Parameter 0 of is of an unknown type 'java.lang.String/2004016611'

2009-11-15 Thread Tristan
ditto On Oct 15, 8:39 pm, tskaife tska...@gmail.com wrote: While running in either hosted mode, or compiled I get this error. I have no problems with RPC calls that pass primitive types. But I've tried both java.lang.String and java.lang.Long and get the same results. I've tried both JDK

Re: GWT 1.7.1 don't show app in hosted mode (Jetty bug: FULL head)

2009-11-15 Thread Stephen Graham
I am getting a similar error: Nov 15, 2009 7:24:24 PM com.google.apphosting.utils.jetty.JettyLogger info INFO: jetty-6.1.x Nov 15, 2009 7:24:25 PM com.google.apphosting.utils.jetty.JettyLogger info INFO: Started selectchannelconnec...@0.0.0.0:8080 The server is running at http://localhost:8080/

what's on server side?

2009-11-15 Thread s1m0n
hi all, i'm trying to develop a very simple application to learn how to use gwt. in this application i'm using hibernate... the general idea is to have on server side the whole hibernate-db parts and pass simple objects from client side throught rpc. now i'm trying the app in hosted mode, and i

Re: 'UnsatisfiedLinkError Issue after updating to Ubuntu 9.10 (Intel x64)

2009-11-15 Thread Juan Felipe Carrasquilla
Very relevant. Merci Juan On Nov 6, 3:07 pm, Bib' olivier.dal...@gmail.com wrote: Hi everyone, I decided to post here about an issue I encountered and solved lately after updating my Ubuntu from 9.04 to 9.10. First of all, I have x64 proc based architecture (this was the source of my

Add class to SerializationPolicy whitelist...

2009-11-15 Thread Edgenius
It is not new questions in this group. But I face a new problem in 2.0M2 as SerializationPolicy logic is changed. I know GWT will put serializition class into SerializationPolicy whitelist. Before 2.0, I create a dummy method which hold all classes I want to pass to client side but they are not

Re: GWT Chat

2009-11-15 Thread Roy Smith
There's a video on Google IO where the Wave team discuss how they achieved this with long running http. Sorry I can't remember the URL or details. 2009/11/15 Jim jimmy.verhee...@gmail.com hi, I'd like make a chat using GWT 1.7 but gwt doesn't allow the use of socket ? Have you got any

ie8 and spacing....

2009-11-15 Thread golfdude
GWT 1.7... I have an app which works fine in IE7 and Firefox 3. But in IE 8, none of the spacing ( vertical/horizontal panel ) is being recognized. Any thing special I need to set/do ? Thanks gd -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: IE8 and Compatibility View settings and ListBoxes

2009-11-15 Thread golfdude
Interesting...just noticed that I had to enable display all websites in comp view to get my app to recognize all spacings in vertical/ horizontal panels. If not, all widgets were right beside each other. Using GWT 1.7... gd -- You received this message because you are subscribed to the Google

Re: General question about project architecture.

2009-11-15 Thread Sripathi Krishnan
I guess I should probably have a single module and top level entry point and then switch between interfaces from there but that will involve a lot of code refactoring. It doesn't need a lot of refactoring, it can be done on an incremental basis. I am assuming have 3 entry point classes

Re: GWT Chat

2009-11-15 Thread Cristiano
I'd like  make a chat using GWT  1.7 but gwt doesn't allow the use of socket ? Have you got any idea for the communications client/server? i've tested the gwt-socket but the project is not active ... i've heard the library comet could help me, what do you think about it ? I know comet is a

Re: GWT Chat

2009-11-15 Thread Jimmy Verheecke
Here the link to the Comet project http://code.google.com/p/rocket-gwt/wiki/Comet 2009/11/16 Cristiano cristiano.costant...@gmail.com I'd like make a chat using GWT 1.7 but gwt doesn't allow the use of socket ? Have you got any idea for the communications client/server? i've tested the

[gwt-contrib] Inconsistent behavior between DevMode and ProdMode for runtime exception handling with deRPC

2009-11-15 Thread Sami Jaber
Hi Bob and all, While playing around with deRPC, I found an inconsistent behavior that makes me suspect it is a bug. But before filing any issue, I want to get your feedback. This simple test checks RuntimeException handling between RPC 1 and RPC 2. it is straightforward : Server side

[gwt-contrib] GWT Developer Plugin Installer Updated

2009-11-15 Thread jlabanca
Reviewers: cramsdale, Description: This patch adds some registry keys during installation of the GWT Developer Plugin. It also silences the reboot prompt. The new plugin should take effect when the user restarts the browser or reboots the system. Testing: === Verified manually. Please

[gwt-contrib] Re: GWT Developer Plugin Installer Updated

2009-11-15 Thread jat
http://gwt-code-reviews.appspot.com/100811/diff/1/3 File plugins/ie/installer/installer.wxs.xml (right): http://gwt-code-reviews.appspot.com/100811/diff/1/3#newcode6 Line 6: ?define appName = Google Web Toolkit Developer Plugin ? Should this have for IE appended?

[gwt-contrib] Fix GWT JSNI code to deal with Chrome DevMode plugin __gwt_ObjectId property

2009-11-15 Thread jat
Reviewers: jlabanca, bruce, Description: The Chrome plugin currently uses a property on every JS object passed to Java to track identity. JSNI code which either blindly copies everything or iterates on the object expecting to find only properties it put there will fail. This fixes two uses in

[gwt-contrib] Fix thread safety issues in GwtLocaleFactoryImpl and LocaleUtils

2009-11-15 Thread jat
Reviewers: amitmanjhi, Ray Ryan, Description: With this patch, the i18n generators work properly even without the ShellModuleSpaceHost patch submitted Friday (which serializes generator runs). Please review this at http://gwt-code-reviews.appspot.com/102819 Affected files:

[gwt-contrib] Re: GWT Developer Plugin Installer Updated

2009-11-15 Thread jlabanca
http://gwt-code-reviews.appspot.com/100811/diff/1/3 File plugins/ie/installer/installer.wxs.xml (right): http://gwt-code-reviews.appspot.com/100811/diff/1/3#newcode6 Line 6: ?define appName = Google Web Toolkit Developer Plugin ? I think the idea is that we want to be able to expand this in the

[gwt-contrib] [google-web-toolkit] r6903 committed - Updates the release notes for GWT 2.0 RC....

2009-11-15 Thread codesite-noreply
Revision: 6903 Author: br...@google.com Date: Sun Nov 15 13:02:40 2009 Log: Updates the release notes for GWT 2.0 RC. Change by: bruce Review by: jat (TBR) http://code.google.com/p/google-web-toolkit/source/detail?r=6903 Modified: /trunk/distro-source/core/src/release_notes.html

[gwt-contrib] TaskEngine sample patched for GWT 2.0 MS 2

2009-11-15 Thread Stuart Moffatt
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

[gwt-contrib] [google-web-toolkit] r6904 committed - Merged in 2.0 release notes changes from tr...@6903

2009-11-15 Thread codesite-noreply
Revision: 6904 Author: br...@google.com Date: Sun Nov 15 20:00:23 2009 Log: Merged in 2.0 release notes changes from tr...@6903 http://code.google.com/p/google-web-toolkit/source/detail?r=6904 Modified: /releases/2.0/branch-info.txt /releases/2.0/distro-source/core/src/release_notes.html