Re: AsyncCallback - returning values to enclosing block

2010-06-17 Thread Joost Bloemsma
Yep, I tried it too, but my wife didn't get the beer!!! On 16 jun, 15:07, Magnus wrote: > Hi, > > thanks, the mechanism is still too new for me. Now, after debugging > exactly what Thomas said (the return val was empty), I understand it. > > So one can never just fetch something from the server

Re: exchange image by browser

2010-06-16 Thread Joost Bloemsma
Actually, by using a conditional stylesheet (with the @if annotation) the result would be much cleaner. The browser will only receive a tailor made css, and your javascript will only be used for stuff it's intended for, not styling. On 16 jun, 03:21, Sky wrote: > I personally prefer to keep logic

Re: where to define domain objects

2010-06-16 Thread Joost Bloemsma
Actually, the shared package is introduced for stuff you use on both the client and the server side. So that's the place to put your domain objects (entity models or however you want to call them). The client package will work fine too, since everything in the client package will be (for now) compi

Re: where to define domain objects

2010-06-16 Thread Joost Bloemsma
Actually, the shared package is introduced for stuff you use on both the client and the server side. So that's the place to put your domain objects (entity models or however you want to call them). The client package will work fine too, since everything in the client package will be (for now) compi

Re: UiBinder and child widgets

2010-06-15 Thread Joost Bloemsma
Clear Works like a charm now! On 15 jun, 15:10, Joost Bloemsma wrote: > Hi, > > I've made a very simple GroupBox widget which works fine. I can add it > in java to a panel, set caption and add widgets. But now I want to add > it in a UiBinder template file. > To en

Re: UiBinder and child widgets

2010-06-15 Thread Joost Bloemsma
Clear Works like a charm now! On 15 jun, 15:10, Joost Bloemsma wrote: > Hi, > > I've made a very simple GroupBox widget which works fine. I can add it > in java to a panel, set caption and add widgets. But now I want to add > it in a UiBinder template file. > To en

UiBinder and child widgets

2010-06-15 Thread Joost Bloemsma
Hi, I've made a very simple GroupBox widget which works fine. I can add it in java to a panel, set caption and add widgets. But now I want to add it in a UiBinder template file. To enable it to contain HTML, I had to implement the HasHTML interface. Now the following works fine: Hel

Re: How to test runtime mode

2010-04-21 Thread Joost Bloemsma
Thanx Thomas. That's exactly what I needed! And why the *** didn't I find that myself :-( On Apr 21, 1:05 am, Thomas Broyer wrote: > On 20 avr, 12:41, Joost Bloemsma wrote: > > > Hi, > > > Can anyone tell me if there is any way to find out, at runtime, in &

How to test runtime mode

2010-04-20 Thread Joost Bloemsma
Hi, Can anyone tell me if there is any way to find out, at runtime, in what mode the application is running? I mean, I would like to test if my app is running in development mode or hosted mode. Depending on the result I would like to change some settings at runtime like logging level, add the gwt