I see. That worked, I guess I was expecting something bad to happen if I didn't write new source. In retrospect why would that happen?
Fortunately I don't have to do anything different (per user agent) yet. On Sep 12, 3:39 pm, BobV <[EMAIL PROTECTED]> wrote: > > Namely: > > Hosted mode works fine but compiling tries to rebind twice (even > > though I only have > > one GWT.create()) and it can't create the printwriter because the > > class it is trying to write > > already exists. I guess I need a smarter generator. (?) > > This is expected behavior. The generator gets called once per > permutation. If the PrintWriter is null, just return the name of the > implementation class that you were tryping to create. It works this > way because you may want to generate different code for different > user.agent values or along some other deferred-binding axis. In this > case, you would name the implementation classes differently. > > -- > Bob Vawter > Google Web Toolkit Team --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
