Re: shared src folder and default constructor

2010-11-13 Thread Gaurav Vaish
Any class that participates in GWT-RPC should have a default constructor which is invoked during deserialization (on either size - server and client). The initialization code in your constructor is never trashed. It may happen that based on the data transferred, the values would get overwritten.

Re: Displaying Loading icon while loading images

2010-11-13 Thread Gaurav Vaish
You can do something like this: Image tgtImage = new Image("loading.gif"); panel.add(tgtImage); The code above will show up a "Loading..." image. Image finalImage = new Image("huge-image.png"); finalImage.addLoadListener(new LoadListener() { ... onLoad(Widget w) { panel.remove(tgtImage)

Re: How to change the panel in Activity.start()

2010-11-13 Thread PhilBeaudoin
In french, très bien! :) Yes, let's try to meet at some point. I always enjoy reading your thoughtful articles and replies. I'm sure there would be a lot of value in exchanging F2F. In fact, I never even met Christian! There are also quite a few people on Guice, GIN, MVP4G and GUIT that I'd like t

Displaying Loading icon while loading images

2010-11-13 Thread Navdeep
I have images which are big in size so i would like to display the animated loading gif while the main images are actually being loaded and once they have been loaded then display the actual image. How can i do the same? -- You received this message because you are subscribed to the Google Groups

Re: UiBinding at run time

2010-11-13 Thread TedM
Cool, I sent some e-mails out if someone from GWT says its interesting I'll put it out there. But, I don't want to commit a lot of time unless they want it. I mean maybe they already have this idea and are building it, or maybe they have a better idea. So once I get some feed back from then I'l

Re: Saving data on the server

2010-11-13 Thread Brett Thomas
The get and set functions are called getters and setters - they are part of the javabean specification: http://en.wikipedia.org/wiki/JavaBean I'm guessing the XML library you are using requires java objects to be defined as javabeans. I've seen a couple other libraries that do that too - not sure

Debian Lenny + AMD 64 + Iceweasel + GWT Plugin?

2010-11-13 Thread Magnus
Hi, on my new Debian system I cannot get the GWT plugin working. Iceweasel should be Firefox in the 64 bit version. The plugin gets installed, but after browser restart it asks again... How can I solve this? Thanks Magnus -- You received this message because you are subscribed to the Google G

Re: Saving data on the server

2010-11-13 Thread David Cox
So, i managed to solve my own problem again, but I'm no 100% on how i did it. What i did was remove all my functions in the class and then re-added them with the "create getter and setter for " Then i made sure that the variable was set using the actual setter function. ie: this.setTitle(Title).

Re: Cannot found source in GWT Project

2010-11-13 Thread har_shan
Hi Eric, Is this fixed in GWT designer or should we tweak something to not show the error. Please advice. Thanks. On Nov 2, 10:45 pm, eric73 wrote: > On 25 oct, 14:59, AlexG wrote: > > > > > > > > > > > Okay, > > > the problem is solved. > > > The problem was theGWTDesigner, the new Enhanced C

Building with ant + using gwt-maps.jar?

2010-11-13 Thread darkflame
I've been working with GWT for a few years now, but always straight from eclipse. I never needed to touch the build.xml myself, and I know nothing of ant. :( Now I'm trying to compile a rather complex webapp from the command prompt. (its actualy the google wave simple web client). ant compile_gwt

Re: Module can't be loaded when host page has an element with id same as module name

2010-11-13 Thread Thomas Broyer
On 13 nov, 16:30, pash7ka wrote: > When I have a ... on the host page and have > in the module xml file, this module can't be > loaded (especialy in IE), because bootstrap code from > module.nocache.js tries to create an iframe with the same id as module > name. Then on the maybeStartModule() it

shared src folder and default constructor

2010-11-13 Thread d...@vide.bz
Hi, I have seen that a class that is in the shared folder should have no constructors or a default constructor. This can create problem for me, because the default constructor sometime initialize some structures. This initialization then I think is trashed, because after transfering the object fr

GWT Designer errors on GWT 2.1 project in Eclipse Helios 3.6

2010-11-13 Thread SteveC
We are using GWT 2.1 on Eclipse 3.6 running on Windows XP. After we installed GWT Designer into Eclipse, our project started showing errors in Eclipse relating to classes not being found within our own code. When we uninstall GWT Designer from Eclipse, the errors go away. There are no actual err

Module can't be loaded when host page has an element with id same as module name

2010-11-13 Thread pash7ka
When I have a ... on the host page and have in the module xml file, this module can't be loaded (especialy in IE), because bootstrap code from module.nocache.js tries to create an iframe with the same id as module name. Then on the maybeStartModule() it successfully gets the required element just

Re: How to change the panel in Activity.start()

2010-11-13 Thread Thomas Broyer
On 13 nov, 05:24, Christian Goudreau wrote: > Maybe it's a night call, but, when will we have a nice "meeting (Google IO > 2011 ?)" and talk about this for real ? :D My employer seems to want to communicate more on our GWT skills (see, I'm translating my GWT 2.1 articles to French: http://blog.

Re: Entire Site in GWT?

2010-11-13 Thread Maxim
Hi Mike, my two cents. We implemented a product which is entire site itself and even allows others ( if they download and install it) to build kind of entire site, limited somehow though. Ref. http://www.projectkaiser.com:8080/pk. This is a project management and issue tracking solution which can

Re: anything like smartgwt but totally compatible with gwt?

2010-11-13 Thread gcstang
Not sure about UIBinder never tried it, however I know if you use SmartGWT and put GWT panels on it they work. I've also tried the GWT Code Splitting, GWT Visualizations and GWT Log and they all work as well. Hope that helps some. On Nov 12, 4:27 pm, Sachin Dole wrote: > but isnt it true that y

Eclipse setup, javax.validation missing and jsp syntax highlighting

2010-11-13 Thread sixcorners
I see in the RequestFactory example (http://code.google.com/p/google- web-toolkit/source/browse/trunk/samples/expenses/src/main/java/com/ google/gwt/#gwt/sample/expenses/shared), the Entity has properties that have constraint annotations like javax.validation.constraints.Size. Unfortunately when I

Re: GWT MVP Development with Activities and Places

2010-11-13 Thread Ashton Thomas
You can find this example: http://gwt.acrinta.com it is a small sample app that shows how to implement MVP/Gin/etc It uses AppPlace which other places extends and then AppPlaceHistoryMapper directly handles all the mapping but you may want to do something a little more dynamic. This is just one s

How to handle the async callback event to update the GUI

2010-11-13 Thread Leung
Hi I use the following code to retrieve data and load the data to CatWidget; then, update the CategoryContainer. I use the RPC in the constructor of CatWidget. It doesnt seem quite right because the instance assignment may faster than database retrieval. How should I modify the code if my conc

Re: Horizontal Scroll Bar Issues with tab panel

2010-11-13 Thread Sanjay Jain
Hello all I solved this issue.I am not getting what is th actual problem But what i did I am describing here. Width of inner most Tab Panel (with 15 tab) is set to 100%. I changed it to in pixel (to 750px). Now its working fine. On Nov 13, 3:29 pm, Sanjay Jain wrote: > Hello all > I am using Tab

Horizontal Scroll Bar Issues with tab panel

2010-11-13 Thread Sanjay Jain
Hello all I am using Tab Panel (With single tab). In this Tab Panel I am adding another Tab Panel (With single tab). In the above Tab Panel I am adding another Tab Panel. (With 15 tab). And for third & inner most Tab Panel I used auto horizontal tab scroll true. Like this : taskTabPanel.setEnable