Re: Dealing with Pop-Up Blocker and Browser Refresh

2009-11-12 Thread Olivier
You could also create an external link using the HTML widget :

HTML linkToPdf = new HTML(a href=\prout.pdf\ 
target=\_blank\PDF/a);

davis wrote:
 Hi, part of the app I built with GWT has links to download PDF from
 the server.  I basically just pull the pdf content from the server and
 do Window.open( .. ).
 
 The first time you do this, the pop-up blocker takes over and blocks
 it.  If you enable it, the browser reloads the page, which takes the
 user back to the login page -- which can be a real UI annoyance.
 
 This is perhaps more a problem with me not dealing with Refresh/
 History correctly.  I have implemented rudimentary history that has
 only two tokens (login/homepage).  The homepage is the entire app and
 all navigation is with tabs, etc...but if the user does F5/Refresh, it
 takes them back to the login page.
 
 What is the recommended path for solving this?
 
 Regards,
 Davis
 --~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en
 -~--~~~~--~~--~--~---
 

-- 

Olivier
Digiworks




Política de Protección de Datos de Carácter Personal
En cumplimiento de la Ley Orgánica 15/1999, de 13 de diciembre,  sobre 
protección de Datos de Carácter Personal (LOPD) DIGIWORKS SPAIN, S.L. 
informa a los usuarios de que:

Los Datos de Carácter Personal que recoge son objeto de tratamiento 
automatizado y se incorporan en los ficheros correspondientes, 
debidamente registrados en la Agencia Española de Protección de Datos. 
El usuario podrá,  en todo momento, ejercitar los derechos reconocidos 
en la LOPD, de acceso, rectificación, cancelación y oposición. El 
ejercicio de estos derechos puede realizarlo el propio usuario mediante 
comunicación escrita en la siguiente dirección postal:

DIGIWORKS SPAIN, S.L.
AVDA SAN RAFAEL, 11, LOCAL 2
03580 ALFAZ DEL PI
ALICANTE

También pueden ejercitar estos derechos en los términos que la normativa 
aplicable establece y que puede consultar en www.agpd.es.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Error when running ant hosted on OS X 10.6

2009-11-12 Thread bmalkow
I have the same.
I created ticket 
http://code.google.com/p/google-web-toolkit/issues/detail?id=4220
for it.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Error when running ant hosted on OS X 10.6

2009-11-12 Thread Jim Douglas
Same crash here trying to start hosted mode inside Eclipse using Mac
OS X Leopard after installing that Safari update.  I added the first
part of my crash report to 
http://code.google.com/p/google-web-toolkit/issues/detail?id=4220.

On Nov 12, 12:43 am, bmalkow bartosz.malkow...@gmail.com wrote:
 I have the same.
 I created 
 tickethttp://code.google.com/p/google-web-toolkit/issues/detail?id=4220
 for it.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Compile Error on latest build

2009-11-12 Thread shahid
Thank you john. I updating from svn right now. Will give it a try
again soon.

On Nov 11, 5:46 pm, John O'Conner jsocon...@gmail.com wrote:
 I also got this error last night. I peformed the following, which
 seemed to fix the error:

 ant clean
 ant

 On Nov 11, 6:58 am, shahid shahidza...@gmail.com wrote:



  I updated from SVN and trying to build the latest using ant 1.7.1. I
  am getting the following error:

  [ERROR] Unexpected
  java.lang.NoSuchMethodError: com.google.gwt.dev.cfg.Rule.isApplicable
  (Lcom/google/gwt/core/ext/TreeLogger;Lcom/google/gwt/core/ext/
  GeneratorContext;Ljava/lang/String;)Z
          at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind
  (StandardRebindOracle.java:98)
          at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind
  (StandardRebindOracle.java:54)
          at com.google.gwt.dev.shell.StandardRebindOracle.rebind
  (StandardRebindOracle.java:154)
          at com.google.gwt.dev.shell.StandardRebindOracle.rebind
  (StandardRebindOracle.java:143)
          at com.google.gwt.dev.Precompile
  $DistillerRebindPermutationOracle.getAllPossibleRebindAnswers
  (Precompile.java:330)
          at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile
  (JavaToJavaScriptCompiler.java:409)
          at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile
  (JavaScriptCompiler.java:32)
          at com.google.gwt.dev.Precompile.precompile(Precompile.java:509)
          at com.google.gwt.dev.Precompile.precompile(Precompile.java:427)
          at com.google.gwt.dev.Compiler.run(Compiler.java:194)
          at com.google.gwt.dev.Compiler$1.run(Compiler.java:145)
          at 
  com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
  87)
          at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
  (CompileTaskRunner.java:81)
          at com.google.gwt.dev.Compiler.main(Compiler.java:152)- Hide quoted 
  text -

 - Show quoted text -

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Error when running ant hosted on OS X 10.6

2009-11-12 Thread bmalkow
I have solution for it. UGLY UGLY UGLY solution, but it allows me to
work until problem is not fixed:

Index: dev/mac/src/com/google/gwt/dev/shell/mac/LowLevelSaf.java
===
--- dev/mac/src/com/google/gwt/dev/shell/mac/LowLevelSaf.java
(revision 6868)
+++ dev/mac/src/com/google/gwt/dev/shell/mac/LowLevelSaf.java   (working
copy)
@@ -89,7 +89,7 @@

   public static native void gcProtect(int jsContext, int jsValue);

-  public static native void gcUnprotect(int jsContext, int jsValue);
+  public static void gcUnprotect(int jsContext, int jsValue){}

   public static native int getArgc();

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Dealing with Pop-Up Blocker and Browser Refresh

2009-11-12 Thread Thomas Broyer


On Nov 12, 9:29 am, Olivier oliv...@digiworks.es wrote:
 You could also create an external link using the HTML widget :

 HTML linkToPdf = new HTML(a href=\prout.pdf\
 target=\_blank\PDF/a);

Er, you meant using the Anchor widget, weren't you? ;-)

Anchor linkToPdf = new Anchor(PDF, prout.pdf, _blank);

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: ant giving me strange Unknown argument: -style which is not even there

2009-11-12 Thread shahid
Thanks mate. It has been really frustrating ... I am rebuilding now ..
hope it works ..

On Nov 11, 7:43 pm, misterln2 mister...@googlemail.com wrote:
 style parameter is no longer support but the plugin keeps on using it

 see here for a dirty 
 workaround:http://groups.google.de/group/google-web-toolkit/browse_thread/thread...

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: ant giving me strange Unknown argument: -style which is not even there

2009-11-12 Thread shahid
hi misterin2, I have tried but (ant) build trunck fails with those
versions of DevMode and DevModeBase. Do you which revision you
reverted back to ?
On Nov 12, 10:43 am, shahid shahidza...@gmail.com wrote:
 Thanks mate. It has been really frustrating ... I am rebuilding now ..
 hope it works ..

 On Nov 11, 7:43 pm, misterln2 mister...@googlemail.com wrote:



  style parameter is no longer support but the plugin keeps on using it

  see here for a dirty 
  workaround:http://groups.google.de/group/google-web-toolkit/browse_thread/thread...-
   Hide quoted text -

 - Show quoted text -

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT Hosted Mode crashing after Snow Leopard 10.6.2 Update

2009-11-12 Thread Daniel Kurka
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, int) {}

causing the invalid access

This is not a real fix, just a very nasty workaround

If you run into the same problem you can download a fixed gwt-dev.jar from
here:

http://www.daniel-kurka.de/gwt-dev-1.7.1-mac-sf-4.0.4-fix.jar

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Announcing the Google Plugin for Eclipse 1.1.0

2009-11-12 Thread shahid
hi, I have also got the same problem as misterln2. Using the latest
gwt trunk i get this error when trying to launch
devmode with the google plugin:
Unknown argument:-style

I have tried reverting the 2 files to previous versions but it results
in GWT build failure

shahid


On Nov 11, 10:18 am, misterln2 mister...@googlemail.com wrote:
 my solution was to revert:
 trunk\dev\core\src\com\google\gwt\dev\DevMode.java
 trunk\dev\core\src\com\google\gwt\dev\DevModeBase.java
 to earlier versions (from nov 5th)

 but im also hoping for a fixed version of the plugin ;)

 On 10 Nov., 13:35, minichate chrissof...@hotmail.com wrote:



  Is there an expected date for a new release of the Eclipse plugin?
  Dropping -style without having a workaround for eclipse is sorta'
  frustrating!- Hide quoted text -

 - Show quoted text -

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT + Palm WebOS

2009-11-12 Thread Olivier Gérardin
Ah it's a podcast! I was looking for a transcript...

Thanks, I'll listen later.


On Nov 11, 1:46 pm, kilkenny a.bue...@gmail.com wrote:
 Hi Olivier

 The link points to the show notes. You have to donwload the mp3 file.
 It's kind a hidden behind the 'POD' icon on the top left. Here is the
 direct link:http://media.libsyn.com/media/dickwall/JavaPosse282.mp3

 Hope that helps!
 Adrian

 On 11 Nov., 12:20, Olivier Gérardin ogerar...@yahoo.com wrote:

  Are you sure about your link? I can't find the interview..

  On Nov 11, 8:44 am, kilkenny a.bue...@gmail.com wrote:

   In an interview about his new job and what he's working on Dion Almaer
   (Palm Developer Relations) did talk about the developer program for
   webOS. He also mentioned the possibility to use GWT. So Palm seems to
   think about this already...

   You can find the interview right 
   here:http://javaposse.com/index.php?post_id=536012

   Regards, Adrian
   --http://traceurl.com

   On 4 Nov., 18:43, cal calsc...@gmail.com wrote:

Any suggestions on achieving this.
I would love to be able to develop WebOS apps in Java using GWT and I
think tons of other people would too.

I suppose some particular points of interest would be:
-How to integrate with the WebOS eclipse plugin? I was thinking you
would need a WebOS project and a GWT project.
-How do you get Java wrappers for Palm's Mojo framework.
-What kind of GWT compiler settings you would want to work best with
WebOS.



--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Issue when using DeferredCommand.addPause

2009-11-12 Thread Damien Picard
Hi,

I'm trying to understand the DeferredCommand.addPause function (with
gwt-2-ms1).
I wrote this sample :

Button bouton = new Button(attente);
bouton.addClickHandler(new ClickHandler(){
@Override
public void onClick(ClickEvent event) {
DeferredCommand.addCommand(new Command(){
@Override
public void execute() {
GWT.log(Deferred command 1, null);
}
});
DeferredCommand.addPause();
DeferredCommand.addCommand(new Command(){
@Override
public void execute() {
GWT.log(Deferred command 2, null);
}
});

GWT.log(Event ends, null);
}
});
RootPanel.get(sendButtonContainer).add(bouton);

In my mind, the pause added between the two deferred command would stop
executing the queue until another event is handled. Then, a log like that
should be :
{First clic on button}
[INFO] Event ends
[INFO] Deferred command 1
{second clic and next ones}
[INFO] Event ends
[INFO] Deferred command 2
[INFO] Deferred command 1

but I get this log :
[INFO] Event ends
[INFO] Deferred command 1
[INFO] Deferred command 2


So, I haven't understand exactly what is a pause. Could somebody explain me
where I'm wrong ?

Thank you.

-- 
Damien Picard
Open Source BPM : http://code.google.com/p/osbpm

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: UnmodifiableList Serialization

2009-11-12 Thread Dominik Steiner
Hi Frederico,

how about before sending back the list creating an ArrayList and
iterating through the list you want to return in order to then fill
that ArrayList and return that?

HTH

Dominik

On Nov 11, 1:03 pm, fedy2 defav...@gmail.com wrote:
 Hi,
 I'm using GWT 1.5.3 and I'm trying to send a List by RPC but I'm
 getting a serialization exception:

 Caused by: com.google.gwt.user.client.rpc.SerializationException: Type
 'java.util.Collections$UnmodifiableList' was not included in the set
 of types which can be serialized by this SerializationPolicy or its
 Class object could not be loaded. For security purposes, this type
 will not be serialized.

 How can make the UnmodifiableList type serializable?

 The object transmitted by RPC contains a List type variable.
 I set the list variable taking the value from a method that return a
 List type value
 so I can't assume to receive an UnmodifiableList.

 Thanks
 Federico

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: UnmodifiableList Serialization

2009-11-12 Thread fedy2
As a tmp solution I just create a new LinkedList passing as argument
the Unmodifiable one, but I think this is not a clear solution.

Anyway thanks for the suggestion.

Federico




On Nov 12, 2:57 pm, Dominik Steiner dominik.j.stei...@googlemail.com
wrote:
 Hi Frederico,

 how about before sending back the list creating an ArrayList and
 iterating through the list you want to return in order to then fill
 that ArrayList and return that?

 HTH

 Dominik

 On Nov 11, 1:03 pm, fedy2 defav...@gmail.com wrote:

  Hi,
  I'm using GWT 1.5.3 and I'm trying to send a List by RPC but I'm
  getting a serialization exception:

  Caused by: com.google.gwt.user.client.rpc.SerializationException: Type
  'java.util.Collections$UnmodifiableList' was not included in the set
  of types which can be serialized by this SerializationPolicy or its
  Class object could not be loaded. For security purposes, this type
  will not be serialized.

  How can make the UnmodifiableList type serializable?

  The object transmitted by RPC contains a List type variable.
  I set the list variable taking the value from a method that return a
  List type value
  so I can't assume to receive an UnmodifiableList.

  Thanks
  Federico

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Announcing GWT 2.0 Milestone 2

2009-11-12 Thread vinays
Why the download is marked as deprecated!

On Oct 22, 10:43 pm, John LaBanca jlaba...@google.com wrote:
 Hi everyone,

 We are excited to release the second milestone build for GWT 2.0
 today. This milestone is essentially feature complete, and provides
 somewhat more stability in the various bits of core functionality that
 will be coming in GWT 2.0.

 Please download the distribution 
 from:http://code.google.com/p/google-web-toolkit/downloads/list?can=1q=2

 Milestone 2 contains a couple new features and changes from MS1:
 * Layout Panels: Layout panels have been refined since MS1. In
 particular, the TabLayoutPanel has been introduced, and UiBinder has
 been extended to support it and StackLayoutPanel. Layout panels use
 native css, so they resize with the window smoothly (IE6 uses active
 layout to achieve the same effect, but it is still fast in most
 cases). When paired with UIBinder, users can create applications
 faster than ever. (Read more about UiBinder under Declarative User
 Interface, below.)

 Breaking changes in MS2:
 * The way arguments are passed to the GWT testing infrastructure has
 been revamped (and changed slightly from MS1). There is now a
 consistent syntax to support arbitrary runstyles, including user-
 written with no changes to GWT. Though this does not affect common
 launch configs, some of the less common ones will need to be updated.
 For example:
     * '-selenium localhost:/*firefox' has become
       '-runStyle Selenium:localhost:/*firefox'
     * '-remoteweb rmi://localhost/ff3' has become
       '-runStyle RemoteWeb:rmi://localhost/ff3'
     * '-manual 5' has become '-runStyle Manual:5'
 Note: run style names must be capitalized (ex. Selenium).

 Known Issues in MS2:
 * LayoutPanels only work in strict mode, but new GWT applications are
 created in quirks mode by default. You must manually switch your
 application to strict mode by changing the DOCTYPE at the top of your
 application's html file. Existing widgets that do not work correctly
 in strict mode (ex. StackPanel) now have a LayoutPanel counterpart
 that does work in strict mode (ex. StackLayoutPanel).
 * Connecting multiple browsers at the same time in development mode
 can cause the development mode server to crash. You can avoid this by
 waiting for each browser to start your app before connecting another
 browser.
 * If you are planning to run the webAppCreator, i18nCreator, or the
 junitCreator scripts on Mac or Linux, please set the executable bits
 by doing a 'chmod +x *Creator'
 * Our HtmlUnit integration is still not complete. Additionally,
 HtmlUnit does not do layout. So tests can fail either because they
 exercise layout or they hit bugs due to incomplete integration. If you
 want such tests to be ignored on HtmlUnit, please annotate the test
 methods with @DoNotRunWith({Platform.Htmlunit})

 To reiterate, here are a few key notes from the Milestone 1
 announcement...
 * Terminology changes: We're going to start using the term
 development mode rather than the old term hosted mode. The term
 hosted mode was sometimes confusing to people, so we'll be using the
 more descriptive term from now on. For similar reasons, we'll be using
 the term production mode rather than web mode when referring to
 compiled script.

 * Changes to the distribution: Note that there's only one download,
 and it's no longer platform-specific. You download the same zip file
 for every development platform. This is made possible by the new
 plugin approach used to implement development mode (see below). The
 distribution file does not include the browser plugins themselves;
 those are downloaded separately the first time you use development
 mode in a browser that doesn't have the plugin installed.

 * In-Browser Development Mode: Prior to 2.0, GWT hosted mode provided
 a special-purpose embedded browser to debug your GWT code. In 2.0,
 the web page being debugged is viewed within a standard browser.
 Development mode is supported through the use of a native-code plugin
 for each browser. In other words, you can use development mode
 directly from Safari, Firefox, IE, and Chrome.

 * Code Splitting: Developer-guided code splitting allows you to chunk
 your GWT code into multiple fragments for faster startup. With code
 splitting, you can arrange to load just the minimum script needed to
 get the application running and the user interacting, while the rest
 of the app is downloaded as needed.

 * Declarative User Interface: GWT's UiBinder now allows you to create
 user interfaces mostly declaratively. Previously, widgets had to be
 created and assembled programmatically, requiring lots of code. Now,
 you can use XML to declare your UI, making the code more readable,
 easier to maintain, and faster to develop. The Mail sample has been
 updated to use the new declarative UI.

 * Bundling of resources (ClientBundle): GWT has shipped with
 ImageBundles since GWT v1.4, giving developers automatic spriting of
 images. 

gwt.i18n.client.Messages

2009-11-12 Thread jianjun
I'm using the Messages.
What's the rule(s) to modify an existed Message? Will the translator
pick it up?
thanks,

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Difficulties deploying Gwt to Tomcat

2009-11-12 Thread Ahmed Sief






From: Christian Goudreau goudreau.christ...@gmail.com
To: google-web-toolkit@googlegroups.com
Sent: Tue, November 10, 2009 8:45:22 PM
Subject: Re: Difficulties deploying Gwt to Tomcat

Problem resolved, I needed log4j lib into the main lib folder.

All thanks to you, I was trying to have some debug level log ! LOL

Christian


On Tue, Nov 10, 2009 at 12:54 PM, Paul Robinson ukcue...@gmail.com wrote:


Make sure you have tomcat logging set up, with the level set to debug.
This should make it  produce more info to help you work out what's wrong.

As for the details of how to do that, there is probably a logging props
file in tomcat's conf dir. I'm not a tomcat expert, so maybe google for
more help if you need it to turn the logging up.


Christian Goudreau wrote:
 I've read everything I could find on Google and I do exactly what
 everyone do...

 I use : Log4j,Guice and GWT-Dispatch servlet... I'm totally lost.

 Christian

 On Tue, Nov 10, 2009 at 11:40 AM, Christian Goudreau
 goudreau.christ...@gmail.com mailto:goudreau.christ...@gmail.com

 wrote:

     I have Error ListenerStart. There's nothing else.

     Christian


     On Tue, Nov 10, 2009 at 4:21 AM, Paul Robinson ukcue...@gmail.com

     mailto:ukcue...@gmail.com wrote:


         You need to find the tomcat logs - I'm not sure where they'd
         be on a
         mac, but they should tell you what went wrong.

         Christian Goudreau wrote:
          GWT Version : 2.0ms2
          Tomcat Version : 6.0.20
          Os Version : Mac Os 10.6.1
          Eclipse Version : 3.5 64bits
         
          Everything is working when using hosted mode.
         
          When I try to deploy it with the manager in tomcat. I work,
         then when
          I try to start it, I got an error saying that the
         application failed
          to start.
         
          Anyone can help me ?
         
          thanks
         





 




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group. 
To post to this group, send email to google-web-toolkit@googlegroups.com 
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com 
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---


  

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




can't inherit gwt maps module

2009-11-12 Thread Brady
I've been trying to build a simple GWT app using GWT-maps.jar, like
the one at:  http://gwttutorials.com/2009/07/28/setting-up-google-maps-with-gwt/

Despite following the instructions, I still get error messages like
this one:
No source code is available for type
com.google.gwt.maps.client.geom.LatLng; did you forget to inherit a
required module?

I cannot find anything wrong with my application.gwt.xml file, which
includes the following lines:

inherits name='com.google.gwt.maps.GoogleMaps'/
script src='http://maps.google.com/maps?gwt=1amp;file=apiamp;v=2'/


I have also made sure that the gwt-maps.jar is on my build path.

I would appreciate any guidance about where to look for problems.
Thanks.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




GWT textarea widget - disable word wrap

2009-11-12 Thread dsinnett
Hello,

I am wondering if there is a way to disable word wrap in the textarea
GWT widget.

What I am doing is generating a large text output that will be
displayed in the text area.  it is critical that each line stays on
its own line and not word wrapped.  What i am hoping for is a way that
I can either disable word-wrap and get a horizontal scroll bar if the
text extends past the left edge of the textarea or even a way to
dynamically size the text area so that the width is large enough to
contain the longest line.

Thank you in advance for your help!

Dan

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Force image caching in gallery

2009-11-12 Thread dicko
Hi there

I've setup a basic GWT app that's essentially an image gallery.  The
gallery works by updating an Image widget with widget.setURL('url')
either by clicking a forward or back button.  To reduce bandwidth, the
images are only loaded as they're requested (ie. by clicking the
forward button).

However, images are being forcibly reloaded when a use clicks the back
button rather than retrieving a cached image stored by the client's
browser.  Obviously, in an attempt to speed the page load and reduce
bandwidth, it would be preferable to use a cached image rather than
reloading the same image every time it's requested.

Has anybody else had this problem and is there any way around this?

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




History back in chrome and safari

2009-11-12 Thread Amir
Hi,
I am developing a GWT application.
Inside my main GWT window I have an iFrame which loads a non gwt url.
The user can click on links inside the iFrame window to navigate to
other pages.
Now I want to provide back/forward functionality to move back and
forward between the pages loaded in the iFrame.
I tried using the standard history.back() technique and it works fine
on FF and IE but not on Chrome and Safari.
Does anyone know I can accomplish that across all browsers?
Many thanks,
Amir

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Redistributing GWT apps in a commercial software

2009-11-12 Thread Parag Thakur
hello,

We are using GWT to create a web interface that will be shipped to end
customers with our product. The license agreement has a section that
lists 3rd party components included with GWT. However it's not clear
which of these will actually make it into our product as a part of the
GWT app. We do not plan to redistribute the GWT SDK. I did read the
FAQ on this topic but that did not help.
http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/FAQ_Redistribution

Any advice in this regard will be greatly appreciated!

thanks,
Parag

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




simple question (offtopic?)

2009-11-12 Thread K.
Hi there.

I'm interested in being able to implement this scenario:  Being able
to save straight to server an image from clipboard.  This is to ease
the transfer of images from word documents/emails into our wiki-fied
knowledgebase.

I would love if people could click a link in the wiki to upload image
from clipboard, I'm running apache/php/mysql-based wiki.

I would love if people could do this in IE/Firefox/chrome

- me googling how to do this hasn't come up with many answers, so I've
been trying to see what programming language could help me get as
close to what I want as possible.. but as I'm a beginner, I'm not able
to understand what's best to use and how to best use it, and although
I'm interested in trying Google Web Toolkit, I don't know enough to
tell whether it's something I can use.

If someone knowledgeable can recommend or theorize what solution I
should be looking towards as an implementation, I'd appreciate it.

K.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Problem with Eclipse and GWT

2009-11-12 Thread cmadsen_dk
I see this problem to under fedora 11 when trying to run the Mail
sample

uname -a
Linux localhost.localdomain 2.6.30.9-96.fc11.i686.PAE #1 SMP Tue Nov 3
23:41:33 EST 2009 i686 i686 i386 GNU/Linux
[...@localhost Mail]$ xulrunner -v
Mozilla XULRunner 1.9.1.5 - 20091105041559
[...@localhost Mail]$ ant hosted
Buildfile: build.xml

libs:

javac:

hosted:
 [java] /opt/jdk1.6.0_16/jre/bin/java: symbol lookup error: /usr/
lib/xulrunner-1.9.1/libxul.so: undefined symbol:
PR_GetPhysicalMemorySize

BUILD FAILED
/opt/gwt-linux-1.7.1/samples/Mail/build.xml:63: Java returned: 127

Any hints?

Thanks
Carsten

On Nov 9, 9:39 pm, Christoph Breidert christ...@breidert.net wrote:
 Hi everyone,

 I had Eclipse 3.4 and GWT running perfectly under Ubuntu 9.04.

 Since I updated Ubuntu to the latest version 9.10 I cannot start the
 hosted mode browser any more. It just starts briefly and the closes
 again. Also nothing responds onhttp:// localhost:8080. I tested this
 with Eclipse 3.4 and 3.5 both give the same error.

 The console log is this:

 09.11.2009 20:30:44 com.google.apphosting.utils.jetty.JettyLogger info
 INFO: jetty-6.1.x
 09.11.2009 20:30:45 breidert.bse.server.EncodingFilter init
 INFO: Filter EncodingFilter initializing...
 09.11.2009 20:30:45 breidert.bse.server.EncodingFilter init
 INFO: Using encoding: UTF-8
 09.11.2009 20:30:46 com.google.apphosting.utils.jetty.JettyLogger info
 INFO: Started selectchannelconnec...@0.0.0.0:8080
 The server is running athttp://localhost:8080/
 /usr/lib/jvm/java-6-openjdk/bin/java: symbol lookup error: /usr/lib/
 xulrunner-1.9.1.4/libxul.so: undefined symbol:
 PR_GetPhysicalMemorySize

 The error tells me nothing, googling also does not bring anything that
 makes sense to me. If anybody has an idea or hint it would be
 appreciated, I have spent too much time and headbanging on this.

 Cheers and thx, Christoph

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: can't inherit gwt maps module

2009-11-12 Thread Eric Ayers
Official getting started page:

http://code.google.com/docreader/#p=gwt-google-apiss=gwt-google-apist=MapsGettingStarted

If you are not using the Google Plugin for eclipse, you may have to
carefully setup your run configuration.


On Tue, Nov 10, 2009 at 4:05 PM, Brady aguth...@gmail.com wrote:

 I've been trying to build a simple GWT app using GWT-maps.jar, like
 the one at:
 http://gwttutorials.com/2009/07/28/setting-up-google-maps-with-gwt/

 Despite following the instructions, I still get error messages like
 this one:
 No source code is available for type
 com.google.gwt.maps.client.geom.LatLng; did you forget to inherit a
 required module?

 I cannot find anything wrong with my application.gwt.xml file, which
 includes the following lines:

inherits name='com.google.gwt.maps.GoogleMaps'/
script src='
 http://maps.google.com/maps?gwt=1amp;file=apiamp;v=2'/
 

 I have also made sure that the gwt-maps.jar is on my build path.

 I would appreciate any guidance about where to look for problems.
 Thanks.

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.





-- 
Eric Z. Ayers
Google Web Toolkit, Atlanta, GA USA

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Deploying GWT on shared tomcat hosting...

2009-11-12 Thread Haitham
I know this is a common question, and that's why this is so
frustrating...

I have something that works great in non-hosted and hosted mode on
netbeans idea using glassfish 2.0 server.

When i take it online i get the dreaded 404 error from the mismatch
(apparent mismatch?) between the servlet url-pattern and the actual
entrypoint that is set by the application at runtime...

The farthest I have gotten on this is as follows:

GetBaseURL() prints the following to screen:

http://scp.hostjava.net/org.yournamehere.Main/scp

that is where my entry point is being set and giving a 404.

The server log shows the following

File does not exist:
/var/www/vhosts/scp.hostjava.net/httpdocs/org.yournamehere.Main/scp
referer: http://scp.hostjava.net/welcomeGWT.html

I've tried my URL pattern as
/scp
/org.yournamehere.Main/scp

and EVEN hardcoding the full path to

http://scp.hostjava.net/org.yournamehere.Main/scp

nothing works

There must be a more intelligent way of doing this...

It sucks to write a whole application in 10 days (loved GWT at that
point) but to spend 7 days failing to get it hosted (starting to hate
GWT at this point)

So frustrating

Thanks for the help 

Sorry for the newbie question

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




SplitPanel resize events

2009-11-12 Thread rolf
I'm using a HorizontalSplitPanel and need to determine when the
divider is moved (I'm displaying an image in a custom widget inside it
and need to resize it while preserving its aspect ratio).

I've wasted a lot of time trying to solve this problem and found
dozens and dozens of posts from other people who have similar
requirements but no satisfactory solutions. The main problem is that
HorizontalSplitPanel and VerticalSplitPanel are final (and that there
is no JavaScript DOM event to indicate when an element is resized,
only when the window or frame is resized).

I can see several possible solutions:

a) constantly poll to check the size of the split panel
b) copy the source code of HorizontalSplitPanel and include it in my
application
c) implement my own split panel
d) compile my own version of gwt-user.jar and don't make
HorizontalSplitPanel a final class
e) put my own class in com.google.gwt.user.client.ui that listens to
mouse events on the split panel (as addHandler is package protected)

It's difficult to know which of these sucks any more or less than any
other, they all suck equally in my opinion :-)

Pretty please, can this be fixed in GWT 2.0? At the very least, don't
make these classes final.

(Java rant: I don't see any good reason for making *any* classes other
than those in java.lang final, certainly not classes in a library
that's intended for use by others. Making things final implies a
certain arrogance on the part of the library designer, that they can
foresee every possible way every possible developer is going to use
those classes. If I'm developing an application I expect to be in
complete control of that application; I don't want someone else to
think they can second guess what I'm trying to do!)

-Rolf

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Conflicts on Install GWT on Ganymede (3.5.1)

2009-11-12 Thread tobias
Cannot complete the install because of a conflicting dependency.
  Software being installed: Google App Engine Java SDK 1.2.6
1.2.6.v200910131704
(com.google.appengine.eclipse.sdkbundle.e35.feature.feature.group
1.2.6.v200910131704)
  Only one of the following can be installed at once:
International Components for Unicode for Java (ICU4J)
3.8.1.v20080530 (com.ibm.icu 3.8.1.v20080530)
International Components for Unicode for Java (ICU4J)
4.0.1.v20090822 (com.ibm.icu 4.0.1.v20090822)
  Cannot satisfy dependency:
From: Google App Engine Java SDK 1.2.6 1.2.6.v200910131704
(com.google.appengine.eclipse.sdkbundle.e35.feature.feature.group
1.2.6.v200910131704)
To: com.google.gdt.eclipse.suite.e35.feature.feature.group 1.1.2
  Cannot satisfy dependency:
From: Google Plugin for Eclipse 3.5 1.1.2.v200910131704
(com.google.gdt.eclipse.suite.e35.feature.feature.group
1.1.2.v200910131704)
To: org.eclipse.platform.feature.group [3.5.0,3.6.0)
  Cannot satisfy dependency:
From: Google Plugin for Eclipse 3.5 1.1.2.v200910131704
(com.google.gdt.eclipse.suite.e35.feature.feature.group
1.1.2.v200910131704)
To: org.eclipse.wst.sse.ui 0.0.0
  Cannot satisfy dependency:
From: Eclipse Platform
3.5.1.R35x_v20090910-9lEeG9OFtY8dO6SPxmI7z0ZuZBD-lz08RfIkCCB
(org.eclipse.platform.feature.group
3.5.1.R35x_v20090910-9lEeG9OFtY8dO6SPxmI7z0ZuZBD-lz08RfIkCCB)
To: org.eclipse.rcp.feature.group
[3.5.1.R35x_v20090811-9gAPFx_FqYHBE_BVbc7z-pM6e7BA]
  Cannot satisfy dependency:
From: Eclipse RCP 3.5.1.R35x_v20090811-9gAPFx_FqYHBE_BVbc7z-
pM6e7BA (org.eclipse.rcp.feature.group
3.5.1.R35x_v20090811-9gAPFx_FqYHBE_BVbc7z-pM6e7BA)
To: com.ibm.icu [4.0.1.v20090822]
  Cannot satisfy dependency:
From: Structured Source Editor 1.1.4.v200901202345
(org.eclipse.wst.sse.ui 1.1.4.v200901202345)
To: bundle com.ibm.icu [3.8.1,4.0.0)

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT + Palm WebOS

2009-11-12 Thread Pavel Lahoda
I think PhoneGap (www.phonegap.com) had support for WebOS, although I
can't find it on their web page right now. But there are several
similar libraries how to bridge from JavaScript to get access to the
phone native functions, it shouldn't be too difficult to get this. But
in long run, it is better to use native SDK.

 I suppose some particular points of interest would be:
 -How to integrate with the WebOS eclipse plugin? I was thinking you
 would need a WebOS project and a GWT project.
 -How do you get Java wrappers for Palm's Mojo framework.
 -What kind of GWT compiler settings you would want to work best with
 WebOS.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Icon i header of DisclosurePanel

2009-11-12 Thread Fedearne
I would like to place an icon in the top right corner of a
disclosurepanel.

I have tried a widget, in the content part of the panel, with relative
position an top=-30. That gives me an icon in the right spot, but
empty space where the panel reserves space for the icon.

Does anybody know how to solve this?

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Error Running GWT in x86_64 Linux

2009-11-12 Thread Jeff Levesque
Hi All,
I just started using GWT and I'm having some problems getting my GWT
project in Eclipse to run. I started by creating a new Web Application
Project, clicked the project and tried to run it but I'm getting this
error when it runs:

The browser widget class could not be instantiated.

[ERROR] The browser widget class could not be instantiated
org.eclipse.swt.SWTError: XPCOM error -2147221164
at org.eclipse.swt.browser.Browser.error(Browser.java:1336)
at org.eclipse.swt.browser.Browser.init(Browser.java:236)
at com.google.gwt.dev.shell.BrowserWidget.init(BrowserWidget.java:
257)
at com.google.gwt.dev.shell.moz.BrowserWidgetMoz.init
(BrowserWidgetMoz.java:103)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.google.gwt.dev.shell.PlatformSpecific.createBrowserWidget
(PlatformSpecific.java:107)
at com.google.gwt.dev.SwtHostedModeBase.openNewBrowserWindow
(SwtHostedModeBase.java:179)
at com.google.gwt.dev.SwtHostedModeBase.launchStartupUrls
(SwtHostedModeBase.java:162)
at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:402)
at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)

I tried the same steps on WindowsXP (x86_64) and didn't encounter the
same problem. Any help would be appreciated.

Thanks,
- Jeff

Configuration:
Linux Kernel: 2.6.29.4-167.fc11.x86_64
Eclipse 3.5.1 M20090917-0800 (I tried 32bit and 64bit)
Java jdk1.6.0_17 (tried 32bit and 64bit)
GWT 1.7.1
Google App Engine 1.2.6
Google Plugin 1.1.2

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




JUnit + Web mode + Stack trace

2009-11-12 Thread chris_l
Hi,

I just ran a JUnit test for the first time in Web mode - and
wondered about the short stack trace. Ok, it's obvious that the
project gets compiled to JavaScript (as that's the point of web mode).
But I had hoped, that the test class itself would still execute as a
Java class.

Would that be possible? IMO this would be quite important, not only
because of the stack trace. But primarily, because if both the test
class and the tested class are translated to JavaScript, then it's
possible that some errors in the translation process can cancel each
other out.

OTOH, I don't yet understand the exact process of what is happening
when running a JUnit test in web mode (-Dgwt.args=-web), so maybe
what I want would be basically impossible?

Thanks
Chris

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Saving data from client

2009-11-12 Thread Darius Blythe
Hi,

In my app, clients can create elements. So a client creates a few
elements, and then presses the save button. In the database, I have
element.id, element.name etc. Now, as the save button is pressed I
figure I'll make an RPC call passing the elements on the wire and
insert the elements into the database. Then I'll somehow return the
database id's to the client, which then would sets client element.id
property map the client element to its counterpart in the database.
But how do I know which id's go to which element in the client?

How do you do this stuff? Is this even a viable approach? I don't want
to create an empty element in the database every time an element is
created on the client and send the id. I want the client to create
elements and then press save, which creates them in the database and
maps these to what the client has.

Kind regards,
Darius

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT: JUnit Google App Engine Tutorial assumes intelligence

2009-11-12 Thread chris_l
Hi,


On Nov 11, 10:29 pm, Angel Marquez angel.marq...@gmail.com wrote:
 I am running into difficulties getting through the last 2 sections of the
 GWT Getting Started Tutorial:
 1. When I check the available plugins for my fresh eclipse galileo install
 it looks like JUnit is already installed. I have tried both on a Mac  PC
 (Mac OS X.5, Windows 7 release candidate) using the Mac terminal and cygwin
 to path to the SW directory and run the -junit commands and help and I
 am robbed of my satisfaction
 *http://code.google.com/webtoolkit/tutorials/1.6/JUnit.html*
 *In order to run this tutorial, you will need to have JUnit 3 installed on
 your system. If you are using Eclipse, check your Eclipse plugins.*

yeah, I also did the JUnit tutorial today. You're right, this part of
the tutorial isn't as perfect as the extremely well written first
ones. However, I think I can answer at least this one question: You'll
have to add the JUnit library to your project. Select StockWatcher-
Build Path-Add Libraries-JUnit-JUnit 3

HTH
Chris

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Deferred binding cannot find nested classes

2009-11-12 Thread fawzyj
Hi all
i have noticed this behaviour while developing a deferred binding
generator
 i think it is a bug so i filed a new issue for it : issue 4219

http://code.google.com/p/google-web-toolkit/issues/detail?id=4219

its details is as follow:

Found in GWT Release (2.0M2):
this is the version i work with but may be other versions are affected


Encountered on OS / Browser (Windows Vista):
this is the OS i work with but may be other OSes are affected


Detailed description (please be as specific as possible):
Deferred binding cannot find nested classes;
i am working on a defered binding  generator for autimatic data
binding
it work like this

public interface DataBinder extends BinderDataClass1,DataClass2{}
DataBinder binder=GWT.create(DataBinder);


if DataClass1 or DataClass2 (public class) is an inner class (nested
static
class)
a ClassNotFoundException is thrown

Note all my classes and interfaces have public modifier

if the nested class moved to upper level(top level class), the code
compiles and run perfectly

Shortest code snippet which demonstrates issue (please indicate where
actual result differs from expected result):



Workaround if you have one:
move the nested class to a top level class


Any help please?
thanks
Joe

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Javascript function history.back(); is not working properly on google crome browser?

2009-11-12 Thread Sagar
In my project which is in gwt, history.back() not working properly in
google chrome , on other browsers like IE, Firefox and

Safari 4 it working properly.

In other browser when i logged in to application , then if i press
back button , it call onHistoryChange event with empty

token. ( i think which is a 1st empty token) in IE and FF.

But the same thing i tried on google chrome sometimes it not working
and when press back it will navigate to direct to login

page without firing onHistoryChange event. But sometimes it will call
onHistoryChange with empty token, And this is strange

behavior in chrome.

Please help me why this happened in Chrome, if anybody have any
solution or hack for this please post same.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Starting a new thread result in AccessControlException

2009-11-12 Thread y
When I try to start a new thread in a servlet, I get:
java.security.AccessControlException: access denied
(java.lang.RuntimePermission modifyThreadGroup)

Any idea why is that and how can I fix it?

Thanks

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT Hosted Mode crashing after Snow Leopard 10.6.2 Update

2009-11-12 Thread Glimpse
Thank you for the JAR!
But on my system, it doesn't work: Hosted mode started to display my
application, but crashed one second later.

Any idea?

On 12 nov, 12:35, Daniel Kurka kurka.dan...@googlemail.com 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, int) {}

 causing the invalid access

 This is not a real fix, just a very nasty workaround

 If you run into the same problem you can download a fixed gwt-dev.jar from
 here:

 http://www.daniel-kurka.de/gwt-dev-1.7.1-mac-sf-4.0.4-fix.jar

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Urgent - Why and how I can use mvp4g with GWT?

2009-11-12 Thread Vicky
Hi,

Can anyone explain me about mvp4g architecture with scenario based
examples and limitations of GWT app without mvp4g?Also can I get step
by step procedure for developing a very simple GWT  app like login app
or hello world like using mvp4g and without mvp4g for my learning and
comparison.If possible also let me know some scenario based problems
which I may face while developing a GWT app without mvp4g and how they
can be resolved by using mvp4g?

Thanks,
Vicky.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT 2 mailstone 2+selenium+testng+firefox 3.5,keep asking to install plugin

2009-11-12 Thread Cliff Zhao
Selenium has its customized profile for firefox and IE, I think that you
need to let Selenium start your firefox profile that have the plugin
installed.

On Thu, Nov 12, 2009 at 2:57 AM, Alex Luya alexander.l...@gmail.com wrote:

 (All uitilities are latest version )
 I use following code to test my login page:
 -
 import com.thoughtworks.selenium.DefaultSelenium;
 import com.thoughtworks.selenium.Selenium;

 public class Login
 {
@Test
public void Login() throws Exception
{
Selenium selenium = new DefaultSelenium(localhost, ,
 *firefox,http://localhost:/;);
selenium.start();
selenium.open(/CRM.html?gwt.hosted=127.0.0.1:9997);
selenium.type(gwt-debug-userName, admin);
selenium.type(gwt-debug-password, admin);
selenium.click(gwt-debug-login);
selenium.stop();
}
 }
 --
 after firefox opened,it keeps asking me to install gwt plugin(but the
 plugin has been installed and functioned properly),and I try to
 refresh page,no changes,then I copy the url,close firefox and reopen
 it,pasted url just copied,it works.that is strange.why is it when I
 use Selenium to open firefox,it asked me to install already installed
 plugin.

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.




--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




GWT eclipse plugin and moving war folder

2009-11-12 Thread Norman Maurer
Hi all,
I'm using maven2 to build a multi-module GWT project. I have an extra
module which contains the client code. So I moved the war folder into
this module. compiling via mAven2 works fine, the only problem seems
to be the hosted mode. It seems like the hosted mode needs to find the
war folder in the root folder or the project. I See no Option to
Tell the Plugin to Look at à different Location. I worked adound this
with greating a symbolic Link but thats more a hack.
So, is there an Option to specify à different Location ?

Thx,
norman

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT Hosted Mode crashing after Snow Leopard 10.6.2 Update

2009-11-12 Thread Daniel Kurka

 Glimpse:


please check if you have your old version of gwt-dev is not in the classpath
anymore :9
maybe thats the problem...

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT eclipse plugin and moving war folder

2009-11-12 Thread olivier nouguier
Hi norman,
 Did you try the other solution which is to change the mavens outputs ?

   - outputDirectory to war/WEB-INF/classes (build section)
   - warSourceDirectory  to war (maven-war-plugin)



On Thu, Nov 12, 2009 at 3:51 PM, Norman Maurer nor...@apache.org wrote:

 Hi all,
 I'm using maven2 to build a multi-module GWT project. I have an extra
 module which contains the client code. So I moved the war folder into
 this module. compiling via mAven2 works fine, the only problem seems
 to be the hosted mode. It seems like the hosted mode needs to find the
 war folder in the root folder or the project. I See no Option to
 Tell the Plugin to Look at à different Location. I worked adound this
 with greating a symbolic Link but thats more a hack.
 So, is there an Option to specify à different Location ?

 Thx,
 norman

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.





-- 
A coward is incapable of exhibiting love; it is the prerogative of the
brave.
--
Mohandas Gandhi

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Unknown argument: -style

2009-11-12 Thread Rajeev Dayal
Unfortunately, there was a breaking change between the trunk and the current
version of the Google Plugin for Eclipse. We'll be releasing an updated
version soon, but in the meantime, if you want to use trunk, you'll have to
create a Java launch configuration for your application.

On Thu, Nov 12, 2009 at 2:16 AM, doboloh adrian.migr...@gmail.com wrote:

 hi, i tried the trunk version 6868, and i got this error Unknown
 argument: -style

 maybe i need to update my gwt eclipse plugin, where can i get the gwt
 eclipse plugin source?

 thanks

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.




--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Conflicts on Install GWT on Ganymede (3.5.1)

2009-11-12 Thread Rajeev Dayal
Which install of Eclipse are you using? What other plugins do you have
installed?

On Wed, Nov 11, 2009 at 9:59 AM, tobias tobias.girsch...@gmail.com wrote:

 Cannot complete the install because of a conflicting dependency.
  Software being installed: Google App Engine Java SDK 1.2.6
 1.2.6.v200910131704
 (com.google.appengine.eclipse.sdkbundle.e35.feature.feature.group
 1.2.6.v200910131704)
  Only one of the following can be installed at once:
International Components for Unicode for Java (ICU4J)
 3.8.1.v20080530 (com.ibm.icu 3.8.1.v20080530)
International Components for Unicode for Java (ICU4J)
 4.0.1.v20090822 (com.ibm.icu 4.0.1.v20090822)
  Cannot satisfy dependency:
From: Google App Engine Java SDK 1.2.6 1.2.6.v200910131704
 (com.google.appengine.eclipse.sdkbundle.e35.feature.feature.group
 1.2.6.v200910131704)
To: com.google.gdt.eclipse.suite.e35.feature.feature.group 1.1.2
  Cannot satisfy dependency:
From: Google Plugin for Eclipse 3.5 1.1.2.v200910131704
 (com.google.gdt.eclipse.suite.e35.feature.feature.group
 1.1.2.v200910131704)
To: org.eclipse.platform.feature.group [3.5.0,3.6.0)
  Cannot satisfy dependency:
From: Google Plugin for Eclipse 3.5 1.1.2.v200910131704
 (com.google.gdt.eclipse.suite.e35.feature.feature.group
 1.1.2.v200910131704)
To: org.eclipse.wst.sse.ui 0.0.0
  Cannot satisfy dependency:
From: Eclipse Platform
 3.5.1.R35x_v20090910-9lEeG9OFtY8dO6SPxmI7z0ZuZBD-lz08RfIkCCB
 (org.eclipse.platform.feature.group
 3.5.1.R35x_v20090910-9lEeG9OFtY8dO6SPxmI7z0ZuZBD-lz08RfIkCCB)
To: org.eclipse.rcp.feature.group
 [3.5.1.R35x_v20090811-9gAPFx_FqYHBE_BVbc7z-pM6e7BA]
  Cannot satisfy dependency:
From: Eclipse RCP 3.5.1.R35x_v20090811-9gAPFx_FqYHBE_BVbc7z-
 pM6e7BA (org.eclipse.rcp.feature.group
 3.5.1.R35x_v20090811-9gAPFx_FqYHBE_BVbc7z-pM6e7BA)
To: com.ibm.icu [4.0.1.v20090822]
  Cannot satisfy dependency:
From: Structured Source Editor 1.1.4.v200901202345
 (org.eclipse.wst.sse.ui 1.1.4.v200901202345)
To: bundle com.ibm.icu [3.8.1,4.0.0)

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.




--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT eclipse plugin and moving war folder

2009-11-12 Thread Rajeev Dayal
Unfortunately, there is no way to tell the plugin to use a different
location for the war directory. We have a feature request open for this
functionality.

On Thu, Nov 12, 2009 at 9:56 AM, olivier nouguier 
olivier.nougu...@gmail.com wrote:

 Hi norman,
  Did you try the other solution which is to change the mavens outputs ?

- outputDirectory to war/WEB-INF/classes (build section)
- warSourceDirectory  to war (maven-war-plugin)



 On Thu, Nov 12, 2009 at 3:51 PM, Norman Maurer nor...@apache.org wrote:

 Hi all,
 I'm using maven2 to build a multi-module GWT project. I have an extra
 module which contains the client code. So I moved the war folder into
 this module. compiling via mAven2 works fine, the only problem seems
 to be the hosted mode. It seems like the hosted mode needs to find the
 war folder in the root folder or the project. I See no Option to
 Tell the Plugin to Look at à different Location. I worked adound this
 with greating a symbolic Link but thats more a hack.
 So, is there an Option to specify à different Location ?

 Thx,
 norman

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.





 --
 A coward is incapable of exhibiting love; it is the prerogative of the
 brave.
 --
 Mohandas Gandhi

  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.


--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Announcing GWT 2.0 Milestone 2

2009-11-12 Thread Chris Ramsdale
Since the build is a milestone it is marked as deprecated to keep it out of
the list of releases.

On Sun, Nov 8, 2009 at 1:12 AM, vinays vinay.sek...@gmail.com wrote:

 Why the download is marked as deprecated!

 On Oct 22, 10:43 pm, John LaBanca jlaba...@google.com wrote:
  Hi everyone,
 
  We are excited to release the second milestone build for GWT 2.0
  today. This milestone is essentially feature complete, and provides
  somewhat more stability in the various bits of core functionality that
  will be coming in GWT 2.0.
 
  Please download the distribution from:
 http://code.google.com/p/google-web-toolkit/downloads/list?can=1q=2
 
  Milestone 2 contains a couple new features and changes from MS1:
  * Layout Panels: Layout panels have been refined since MS1. In
  particular, the TabLayoutPanel has been introduced, and UiBinder has
  been extended to support it and StackLayoutPanel. Layout panels use
  native css, so they resize with the window smoothly (IE6 uses active
  layout to achieve the same effect, but it is still fast in most
  cases). When paired with UIBinder, users can create applications
  faster than ever. (Read more about UiBinder under Declarative User
  Interface, below.)
 
  Breaking changes in MS2:
  * The way arguments are passed to the GWT testing infrastructure has
  been revamped (and changed slightly from MS1). There is now a
  consistent syntax to support arbitrary runstyles, including user-
  written with no changes to GWT. Though this does not affect common
  launch configs, some of the less common ones will need to be updated.
  For example:
  * '-selenium localhost:/*firefox' has become
'-runStyle Selenium:localhost:/*firefox'
  * '-remoteweb rmi://localhost/ff3' has become
'-runStyle RemoteWeb:rmi://localhost/ff3'
  * '-manual 5' has become '-runStyle Manual:5'
  Note: run style names must be capitalized (ex. Selenium).
 
  Known Issues in MS2:
  * LayoutPanels only work in strict mode, but new GWT applications are
  created in quirks mode by default. You must manually switch your
  application to strict mode by changing the DOCTYPE at the top of your
  application's html file. Existing widgets that do not work correctly
  in strict mode (ex. StackPanel) now have a LayoutPanel counterpart
  that does work in strict mode (ex. StackLayoutPanel).
  * Connecting multiple browsers at the same time in development mode
  can cause the development mode server to crash. You can avoid this by
  waiting for each browser to start your app before connecting another
  browser.
  * If you are planning to run the webAppCreator, i18nCreator, or the
  junitCreator scripts on Mac or Linux, please set the executable bits
  by doing a 'chmod +x *Creator'
  * Our HtmlUnit integration is still not complete. Additionally,
  HtmlUnit does not do layout. So tests can fail either because they
  exercise layout or they hit bugs due to incomplete integration. If you
  want such tests to be ignored on HtmlUnit, please annotate the test
  methods with @DoNotRunWith({Platform.Htmlunit})
 
  To reiterate, here are a few key notes from the Milestone 1
  announcement...
  * Terminology changes: We're going to start using the term
  development mode rather than the old term hosted mode. The term
  hosted mode was sometimes confusing to people, so we'll be using the
  more descriptive term from now on. For similar reasons, we'll be using
  the term production mode rather than web mode when referring to
  compiled script.
 
  * Changes to the distribution: Note that there's only one download,
  and it's no longer platform-specific. You download the same zip file
  for every development platform. This is made possible by the new
  plugin approach used to implement development mode (see below). The
  distribution file does not include the browser plugins themselves;
  those are downloaded separately the first time you use development
  mode in a browser that doesn't have the plugin installed.
 
  * In-Browser Development Mode: Prior to 2.0, GWT hosted mode provided
  a special-purpose embedded browser to debug your GWT code. In 2.0,
  the web page being debugged is viewed within a standard browser.
  Development mode is supported through the use of a native-code plugin
  for each browser. In other words, you can use development mode
  directly from Safari, Firefox, IE, and Chrome.
 
  * Code Splitting: Developer-guided code splitting allows you to chunk
  your GWT code into multiple fragments for faster startup. With code
  splitting, you can arrange to load just the minimum script needed to
  get the application running and the user interacting, while the rest
  of the app is downloaded as needed.
 
  * Declarative User Interface: GWT's UiBinder now allows you to create
  user interfaces mostly declaratively. Previously, widgets had to be
  created and assembled programmatically, requiring lots of code. Now,
  you can use XML to declare your UI, making the code more 

Re: GWT eclipse plugin and moving war folder

2009-11-12 Thread Norman Maurer
Hi Oliver,

like I said maven stuff works.. Its just the gwt-eclipse plugin.

Bye,
Norman


2009/11/12 olivier nouguier olivier.nougu...@gmail.com:
 Hi norman,
  Did you try the other solution which is to change the mavens outputs ?

 outputDirectory to war/WEB-INF/classes (build section)
 warSourceDirectory  to war (maven-war-plugin)

 On Thu, Nov 12, 2009 at 3:51 PM, Norman Maurer nor...@apache.org wrote:

 Hi all,
 I'm using maven2 to build a multi-module GWT project. I have an extra
 module which contains the client code. So I moved the war folder into
 this module. compiling via mAven2 works fine, the only problem seems
 to be the hosted mode. It seems like the hosted mode needs to find the
 war folder in the root folder or the project. I See no Option to
 Tell the Plugin to Look at à different Location. I worked adound this
 with greating a symbolic Link but thats more a hack.
 So, is there an Option to specify à different Location ?

 Thx,
 norman

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.





 --
 A coward is incapable of exhibiting love; it is the prerogative of the
 brave.
 --
 Mohandas Gandhi

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.


--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT eclipse plugin and moving war folder

2009-11-12 Thread Norman Maurer
Do you have the issue id handy ? Just so I can look at it ;)

Bye,
Norman

2009/11/12 Rajeev Dayal rda...@google.com:
 Unfortunately, there is no way to tell the plugin to use a different
 location for the war directory. We have a feature request open for this
 functionality.

 On Thu, Nov 12, 2009 at 9:56 AM, olivier nouguier
 olivier.nougu...@gmail.com wrote:

 Hi norman,
  Did you try the other solution which is to change the mavens outputs ?

 outputDirectory to war/WEB-INF/classes (build section)
 warSourceDirectory  to war (maven-war-plugin)

 On Thu, Nov 12, 2009 at 3:51 PM, Norman Maurer nor...@apache.org wrote:

 Hi all,
 I'm using maven2 to build a multi-module GWT project. I have an extra
 module which contains the client code. So I moved the war folder into
 this module. compiling via mAven2 works fine, the only problem seems
 to be the hosted mode. It seems like the hosted mode needs to find the
 war folder in the root folder or the project. I See no Option to
 Tell the Plugin to Look at à different Location. I worked adound this
 with greating a symbolic Link but thats more a hack.
 So, is there an Option to specify à different Location ?

 Thx,
 norman

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.





 --
 A coward is incapable of exhibiting love; it is the prerogative of the
 brave.
 --
 Mohandas Gandhi

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.


--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Problem with Eclipse and GWT

2009-11-12 Thread Jeff Chimene
On Wed, Nov 11, 2009 at 8:11 PM, Marco Massenzio m.massen...@googlemail.com
 wrote:


 actually the error tells all you need to know :)

 undefined symbol: PR_GetPhysicalMemorySize

 clearly the upgrade to 9.10 has replaced the /usr/lib/
 xulrunner-1.9.1.4/libxul.so
 library, and the new one does not export that method/function

 I'm having a similar error (one library has been upgraded to
 whatever.so.5 to .6 -- don't have it here, can't quite recall what it
 was)

 It all stems from the fact that hosted mode is using Jetty and SWT,
 which (in my uninformed opinion) are old, brittle and unmaintained --
 thank God Hosted Mode is going away in 2.0, in favor of OOPHM, or,
 easier on the tongue... Dev Mode

 I honestly don't really think there is a workaround (if anyone knows
 of one, short of re-installing Ubuntu 9.04... which may actually be a
 good idea anyway... 9.10 was a complete mess of a release if I've ever
 seen one), so it's nailbiting time for 2.0 to become publicly
 available and HM going aways for good


Well, to be fair, 2,0ms2 is quite usable. I had tried 2.0trunk several
months ago, and found the OOPHM wasn't ready; that's no longer the case.

Clearly, it's not available to you if you have some external constraints
that prevent you from moving to a development preview release.

Installing 2.0 ms2 is as simple as downloading, copying to a separate
directory, and pointing your environment to that directory. If it doesn't
work, point back to 1.x


 On Nov 9, 12:39 pm, Christoph Breidert christ...@breidert.net wrote:
  Hi everyone,
 
  I had Eclipse 3.4 and GWT running perfectly under Ubuntu 9.04.
 
  Since I updated Ubuntu to the latest version 9.10 I cannot start the
  hosted mode browser any more. It just starts briefly and the closes
  again. Also nothing responds onhttp:// localhost:8080. I tested this
  with Eclipse 3.4 and 3.5 both give the same error.
 
  The console log is this:
 
  09.11.2009 20:30:44 com.google.apphosting.utils.jetty.JettyLogger info
  INFO: jetty-6.1.x
  09.11.2009 20:30:45 breidert.bse.server.EncodingFilter init
  INFO: Filter EncodingFilter initializing...
  09.11.2009 20:30:45 breidert.bse.server.EncodingFilter init
  INFO: Using encoding: UTF-8
  09.11.2009 20:30:46 com.google.apphosting.utils.jetty.JettyLogger info
  INFO: Started selectchannelconnec...@0.0.0.0:8080
  The server is running athttp://localhost:8080/
  /usr/lib/jvm/java-6-openjdk/bin/java: symbol lookup error: /usr/lib/
  xulrunner-1.9.1.4/libxul.so: undefined symbol:
  PR_GetPhysicalMemorySize
 
  The error tells me nothing, googling also does not bring anything that
  makes sense to me. If anybody has an idea or hint it would be
  appreciated, I have spent too much time and headbanging on this.
 
  Cheers and thx, Christoph
 --~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en
 -~--~~~~--~~--~--~---



--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: OOPHM plugin for firefox problem.

2009-11-12 Thread Rajeev Dayal
Hm, it does seem that the plugin is throwing an exception here:

Error
Sat Oct 17 13:45:41 WST 2009
Unexpected Exception

org.eclipse.core.internal.resources.ResourceException: Problems
encountered while deleting resources.
at org.eclipse.core.internal.resources.Resource.delete(Resource.java:
724)
at org.eclipse.core.internal.resources.Resource.delete(Resource.java:
670)
at com.google.gdt.eclipse.core.sdk.UpdateWebInfFolderCommand.execute
(UpdateWebInfFolderCommand.java:65)
at com.google.gdt.eclipse.core.sdk.UpdateProjectSdkCommand.execute
(UpdateProjectSdkCommand.java:67)
at
com.google.gwt.eclipse.core.properties.ui.GWTProjectPropertyPage.addGWT
(GWTProjectPropertyPage.java:186)
...

Does this exception happen consistently when you switch SDKs? Also, is your
war/WEB-INF/lib directory version-controlled?


On Sat, Oct 17, 2009 at 12:57 AM, dougx douglas.lin...@gmail.com wrote:


 I can confirm absolutely that swapping the GWT settings does not alter
 the gwt-servlet.jar file on 3 computers I've tested it on (all winxp).

 For example, trying to roll back to GWT 1.7 will result in this error
 when you attempt to launch hosted mode:
 [ERROR] Invalid version number 2.0 passed to external.gwtOnLoad(),
 expected 1.6; your hosted mode bootstrap file may be out of date; if
 you are using -noserver try recompiling and redeploying your app

 This is again fixed by replacing the gwt-servlet.jar file.

 Looks like this might be the plugin eclipse failing to do something,
 but I don't see any errors in the logs.

 I'd expect something like this, which is what you'd get if you set the
 file to read only:
 eclipse.buildId=M20090211-1700
 java.version=1.6.0_13
 java.vendor=Sun Microsystems Inc.
 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
 Command-line arguments:  -os win32 -ws win32 -arch x86

 Error
 Sat Oct 17 13:45:41 WST 2009
 Unexpected Exception

 org.eclipse.core.internal.resources.ResourceException: Problems
 encountered while deleting resources.
 at org.eclipse.core.internal.resources.Resource.delete(Resource.java:
 724)
 at org.eclipse.core.internal.resources.Resource.delete(Resource.java:
 670)
 at com.google.gdt.eclipse.core.sdk.UpdateWebInfFolderCommand.execute
 (UpdateWebInfFolderCommand.java:65)
 at com.google.gdt.eclipse.core.sdk.UpdateProjectSdkCommand.execute
 (UpdateProjectSdkCommand.java:67)
 at
 com.google.gwt.eclipse.core.properties.ui.GWTProjectPropertyPage.addGWT
 (GWTProjectPropertyPage.java:186)
 at

 com.google.gwt.eclipse.core.properties.ui.GWTProjectPropertyPage.saveProjectProperties
 (GWTProjectPropertyPage.java:132)
 at com.google.gdt.eclipse.core.ui.AbstractProjectPropertyPage.performOk
 (AbstractProjectPropertyPage.java:78)
 at org.eclipse.jface.preference.PreferenceDialog$13.run
 (PreferenceDialog.java:931)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
 at org.eclipse.core.runtime.Platform.run(Platform.java:880)
 at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
 at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
 at org.eclipse.jface.preference.PreferenceDialog.okPressed
 (PreferenceDialog.java:911)
 at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed
 (FilteredPreferenceDialog.java:456)
 at org.eclipse.jface.preference.PreferenceDialog.buttonPressed
 (PreferenceDialog.java:233)
 at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
 at org.eclipse.swt.widgets.TypedListener.handleEvent
 (TypedListener.java:228)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
 3823)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
 at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
 at org.eclipse.jface.window.Window.open(Window.java:801)
 at
 com.google.gdt.eclipse.core.actions.AbstractProjectPropertiesAction.run
 (AbstractProjectPropertiesAction.java:56)
 at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:
 251)
 at
 org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
 (ActionContributionItem.java:583)
 at org.eclipse.jface.action.ActionContributionItem.access$2
 (ActionContributionItem.java:500)
 at org.eclipse.jface.action.ActionContributionItem$5.handleEvent
 (ActionContributionItem.java:411)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
 3823)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
 at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
 at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
 at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
 at 

Re: Crashed when ant hosted and ant build

2009-11-12 Thread Rajeev Dayal
GWT's compiler does not need Mozilla, but GWT's hosted mode (in pre-2.0
releases)  does. Mozilla is the backing browser for GWT's Hosted Browser.

On Tue, Nov 10, 2009 at 10:52 AM, bodrin bod...@gmail.com wrote:


 Hi, thanks for the reply!

 I'm not sure I have understand you correctly..
 Why gwtc needs mozilla?
 Can I throw away mozilla and build without this error?

 Thanks!
 -bodrin

 On Sep 29, 5:56 pm, Rajeev Dayal rda...@google.com wrote:
  Hi,
  I've talked with another GWT developer, and he indicated that most likely
  your Linux installs were updated, and they broke something with the
 5-year
  old Mozilla that we ship. Unfortunately, we're not doing anything at this
  time to support legacy (or soon-to-be legacy) hosted mode on newer
 distros,
  because Out-of-process-hosted-mode will be arriving with GWT 2.0, and
 that
  5-year old version of Mozilla will no longer be required.
 
  The best thing to do would be to work from the GWT Trunk, and use
  Out-of-process-hosted-mode until a GWT 2.0 milestone is released (which
  should be shortly).
 
  The other option would be to find a version of Mozilla 1.7.{12, 13} that
  works on your distro of Linux, and then modify the
  mozilla-hosted-browser.conf file to point at that version. Most likely,
  you'll have to build such a distro yourself.
 
  Rajeev
 
 
 
  On Tue, Sep 29, 2009 at 6:51 AM, bodrin bod...@gmail.com wrote:
 
   Hi,
 
   I have a similar problem when building on linux with GWT 1.7.0 - see
   below.
   Did you find any solution?
 --~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en
 -~--~~~~--~~--~--~---



--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: OOPHM plugin for firefox problem.

2009-11-12 Thread Jeff Chimene
On Thu, Nov 12, 2009 at 9:06 AM, Rajeev Dayal rda...@google.com wrote:

 Hm, it does seem that the plugin is throwing an exception here:


FWIW, I have seen FF 3.5 crash after some time. I don't know how to
reproduce the problem. The crash reporter is enabled. If there's some info I
can glean from the crash reporter or other bread crumbs I'm happy to help.





 Error
 Sat Oct 17 13:45:41 WST 2009
 Unexpected Exception

 org.eclipse.core.internal.resources.ResourceException: Problems
 encountered while deleting resources.
 at org.eclipse.core.internal.resources.Resource.delete(Resource.java:
 724)
 at org.eclipse.core.internal.resources.Resource.delete(Resource.java:
 670)
 at com.google.gdt.eclipse.core.sdk.UpdateWebInfFolderCommand.execute
 (UpdateWebInfFolderCommand.java:65)
 at com.google.gdt.eclipse.core.sdk.UpdateProjectSdkCommand.execute
 (UpdateProjectSdkCommand.java:67)
 at
 com.google.gwt.eclipse.core.properties.ui.GWTProjectPropertyPage.addGWT
 (GWTProjectPropertyPage.java:186)
 ...

 Does this exception happen consistently when you switch SDKs? Also, is your
 war/WEB-INF/lib directory version-controlled?


 On Sat, Oct 17, 2009 at 12:57 AM, dougx douglas.lin...@gmail.com wrote:


 I can confirm absolutely that swapping the GWT settings does not alter
 the gwt-servlet.jar file on 3 computers I've tested it on (all winxp).

 For example, trying to roll back to GWT 1.7 will result in this error
 when you attempt to launch hosted mode:
 [ERROR] Invalid version number 2.0 passed to external.gwtOnLoad(),
 expected 1.6; your hosted mode bootstrap file may be out of date; if
 you are using -noserver try recompiling and redeploying your app

 This is again fixed by replacing the gwt-servlet.jar file.

 Looks like this might be the plugin eclipse failing to do something,
 but I don't see any errors in the logs.

 I'd expect something like this, which is what you'd get if you set the
 file to read only:
 eclipse.buildId=M20090211-1700
 java.version=1.6.0_13
 java.vendor=Sun Microsystems Inc.
 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
 Command-line arguments:  -os win32 -ws win32 -arch x86

 Error
 Sat Oct 17 13:45:41 WST 2009
 Unexpected Exception

 org.eclipse.core.internal.resources.ResourceException: Problems
 encountered while deleting resources.
 at org.eclipse.core.internal.resources.Resource.delete(Resource.java:
 724)
 at org.eclipse.core.internal.resources.Resource.delete(Resource.java:
 670)
 at com.google.gdt.eclipse.core.sdk.UpdateWebInfFolderCommand.execute
 (UpdateWebInfFolderCommand.java:65)
 at com.google.gdt.eclipse.core.sdk.UpdateProjectSdkCommand.execute
 (UpdateProjectSdkCommand.java:67)
 at
 com.google.gwt.eclipse.core.properties.ui.GWTProjectPropertyPage.addGWT
 (GWTProjectPropertyPage.java:186)
 at

 com.google.gwt.eclipse.core.properties.ui.GWTProjectPropertyPage.saveProjectProperties
 (GWTProjectPropertyPage.java:132)
 at com.google.gdt.eclipse.core.ui.AbstractProjectPropertyPage.performOk
 (AbstractProjectPropertyPage.java:78)
 at org.eclipse.jface.preference.PreferenceDialog$13.run
 (PreferenceDialog.java:931)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
 at org.eclipse.core.runtime.Platform.run(Platform.java:880)
 at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
 at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
 at org.eclipse.jface.preference.PreferenceDialog.okPressed
 (PreferenceDialog.java:911)
 at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed
 (FilteredPreferenceDialog.java:456)
 at org.eclipse.jface.preference.PreferenceDialog.buttonPressed
 (PreferenceDialog.java:233)
 at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
 at org.eclipse.swt.widgets.TypedListener.handleEvent
 (TypedListener.java:228)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
 3823)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
 at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
 at org.eclipse.jface.window.Window.open(Window.java:801)
 at
 com.google.gdt.eclipse.core.actions.AbstractProjectPropertiesAction.run
 (AbstractProjectPropertiesAction.java:56)
 at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:
 251)
 at
 org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
 (ActionContributionItem.java:583)
 at org.eclipse.jface.action.ActionContributionItem.access$2
 (ActionContributionItem.java:500)
 at org.eclipse.jface.action.ActionContributionItem$5.handleEvent
 (ActionContributionItem.java:411)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
 3823)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
 at 

Re: Redistributing GWT apps in a commercial software

2009-11-12 Thread Yozons Support on Gmail
I'm not an expert (or even a lawyer ;), but most of the third-party stuff
appears to be related to gwt-dev.jar.  Heck, I don't even know what that JAR
is since it's not in my WEB-INF/lib.  I only have gwt-servlet.jar and that
has no third-party stuff so it's just under the Apache 2 license you expect
of GWT.

My guess is you don't redistribute any of the other third party stuff, so it
shouldn't matter.  And even if you do, it seems that they all have
compatible licenses that will allow you to use it in commercial software.  I
didn't see any GPL code mentioned, for example.  But if you do ship that
gwt-dev.jar, you should also include references to those parts and give them
credit just like Google did with respect to those components as you can use
them, you just need to give them credit.

That's my guesstimate anyway

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




UI Layout and Alignments

2009-11-12 Thread Sudeep S
Hi

I am new to gwt. Can someone tell me wht are the best practices in UI Design
and alignments.

I am using a Flex Table and FlexCell formatter for almost everything. Are
there better ways to ahieve it.

Thanks
Sudeep

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




RE: UI Layout and Alignments

2009-11-12 Thread Hayes, Kyle
I recommend you take a look at HorizontalPanel and VerticalPanel as well
for many of the layouts. GWT UI layout stuff is a lot like Java Swing.
FlexTable creates tables and having too many tables on a page can be
very heavy for the client.

-K

 

From:
3kln8sggjejmhjsttesyvbpxa.rdbvddvat-ltq-iddazxivddvatvgdjeh@groups.b
ounces.google.com
[mailto:3kln8SggJEjMhjSTTesyVbPXa.RdbVddVaT-lTQ-iddaZXiVddVaTVgdjeh.Rdb@
groups.bounces.google.com] On Behalf Of Sudeep S
Sent: Thursday, November 12, 2009 10:53 AM
To: google-web-toolkit@googlegroups.com
Subject: UI Layout and Alignments

 

Hi 

 

I am new to gwt. Can someone tell me wht are the best practices in UI
Design and alignments.  

 

I am using a Flex Table and FlexCell formatter for almost everything.
Are there better ways to ahieve it.

 

Thanks

Sudeep

 

--

You received this message because you are subscribed to the Google
Groups Google Web Toolkit group.
To post to this group, send email to
google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: JSON - When to use JSONParser and when JavaScript object

2009-11-12 Thread Thomas Broyer

On 12 nov, 17:48, Raziel raziel...@gmail.com wrote:
 I know this depends on the details of what you're trying to achieve
 and the JSON object to be parsed (for example if it's dynamic
 orstatic, etc).

 I'm just wondering what are the principles that others follow to
 determine when to use one or the other.

I just do not ever use JSONParser, only JSOs (and with the JsonUtils
in GWT 2.0 you don't even need to do the eval() yourself). I sometimes
use the same JSO while the server sends me different JSON (with some
properties missing in some cases and not in others), I just write my
JSO to take this into account; for instance:

   public final native int getIntProp() /*-{
  return this.intProp !== null ? this.intProp : -1; // default
value; use this.intProp || 0 if the default value coerce to false
   }-*/;

And actually, now that I've switched to GWT 2.0, I use interfaces to
model my objects, with RemoteService/*Async interfaces to model my
services; and I implement them using JSOs (JSOs can implement
interfaces under certain conditions in GWT 2.0) and RequestBuilder
(everything's injected using GIN so other classes don't matter whether
they use real RPC or a RequestBuilder-based RESTful service request)

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: incubator's PagingScrollTable(pagination+Sorting)

2009-11-12 Thread Open eSignForms
What are people's impressions of these widgets in production use?  It
seems I've read a lot of negative stuff about PagingScrollTable, and
it's clear that sorting does not work, which is funny when you run
their demo since it touts sorting, yet not a single column sorts
correctly.

I've not had a chance to play with gwtlib's PagingTable, but am a bit
concerned the version release is 0.1.6, which sounds far from being
production ready, and the last update was May 2, so clearly there's no
real work effort moving it forward.  So, is it really 0.1.6, or does
it work well enough that it's really 1.0 at least?

It is surprising that such tables are not part of GWT core yet.  This
is one of the most common widgets needed for most data-centric apps.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




General question about project architecture.

2009-11-12 Thread David C. Hicks
Specifically, I'm curious about the use of GWT Modules in a project.

Each time we have a new screen to create, we have been adding a new
module to our project.  Of course, with each new module, there is an
additional build cycle to generate the Javascript for that module.  What
I'm wondering is if this is normal, or does it make more sense to try to
build up whole applications in a single module and perhaps keep the
build time down?  Each new module we add appears to increase our build
time by about 1.5 minutes.  It won't be long and this will be way beyond
painful.

Any thoughts?
Thanks,
Dave

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




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

2009-11-12 Thread Open eSignForms
We'd love to see some useful examples since it does seem like a huge
and confusing set of APIs and objects just to put data into a table.
But it sounds like you had some success, so if you get to that blog,
blog away on PagingScrollTable and help us mere non-GUI mortals make
use of it smile.  Thanks...

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Intercepting clicks and keystrokes on the whole page

2009-11-12 Thread Supercobra Thatbytes
Hello,

We released a typing race application (GWT + GAE):
 http://app.typrx.com.

In order to try to prevent cheating with copy / paste type of
approach, we'd like to intercept when a user is clicking on a page and
display a 'no no' alert.

Any advise would be appreciated.

Daniel

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Issue when using DeferredCommand.addPause

2009-11-12 Thread Thomas Broyer


On 12 nov, 14:52, Damien Picard picard.dam...@gmail.com wrote:
 Hi,

 I'm trying to understand the DeferredCommand.addPause function (with
 gwt-2-ms1).
 I wrote this sample :

         Button bouton = new Button(attente);
         bouton.addClickHandler(new ClickHandler(){
             @Override
             public void onClick(ClickEvent event) {
                 DeferredCommand.addCommand(new Command(){
                     @Override
                     public void execute() {
                         GWT.log(Deferred command 1, null);
                     }
                 });
                 DeferredCommand.addPause();
                 DeferredCommand.addCommand(new Command(){
                     @Override
                     public void execute() {
                         GWT.log(Deferred command 2, null);
                     }
                 });

                 GWT.log(Event ends, null);
             }
         });
         RootPanel.get(sendButtonContainer).add(bouton);

 In my mind, the pause added between the two deferred command would stop
 executing the queue until another event is handled. Then, a log like that
 should be :
 {First clic on button}
 [INFO] Event ends
 [INFO] Deferred command 1
 {second clic and next ones}
 [INFO] Event ends
 [INFO] Deferred command 2
 [INFO] Deferred command 1

 but I get this log :
 [INFO] Event ends
 [INFO] Deferred command 1
 [INFO] Deferred command 2

 So, I haven't understand exactly what is a pause. Could somebody explain me
 where I'm wrong ?

addPause semantics actually is let the browser do its things (such as
refreshing the display or handling events).

DeferredCommand's are batched together and executed in a single run,
until the next pause.
If a run of commands takes long enough so that you can generate
events (e.g. click), then those click events are likely to be
processed during the pause: try doing some expensive work in the
first deferred command (such as creating and appending 1000 DOM
elements to the document; you can try also with a Window.alert()) and
generate a second click event during this time (before dismissing the
alert, if you shows Window.alert) and you should see:
[INFO] Event ends
[INFO] Deferred command 1
[INFO] Event ends
[INFO] Deferred command 2
[INFO] Deferred command 1
[INFO] Deferred command 2
Similarly, if you update the display (e.g. show/hide widgets or text),
it'll only be refreshed on screen during the pause: try showing/
hiding a widget in the first command and then show an alert
(Window.alert), and show an alert in the second command, you log
should be (annotated):
[INFO] Event ends
[INFO] Deferred command 1
// alert, notice that the display hasn't changed
[INFO] Deferred command 2
// alert, and now the display has changed

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




com.google.gwt.junit.JUnitFatalLaunchException...why?

2009-11-12 Thread Grary
Hi,

Scanning Google groups and other web hits leads me no closer to
resolution of why I keep getting
com.google.gwt.junit.JUnitFatalLaunchException when I attempt to
launch newly-created tests in Eclipse. This is especially vexing
because I have successfully used the junitCreator utility in Eclipse
in the recent past. I don't understand the basis for the change. Any
thoughts?

Would the assignment of either of the following variables matter:
GWT_HOME or GWT_TOOLS?

Thanks,

Grary

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




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

2009-11-12 Thread Davis Ford
I'm putting it on my list of things to do.  I'll create a sample maven/GWT
project that can load tons of data in PagingScrollTable with sorting and
pagination by Monday.

Hope that helps.

I'll post back here when it is done.  BTW: I can't rave enough about the
performance of this thing. Goofy API aside, used with the bulk renderer this
thing flies.  I haven't really stress tested b/c my needs are fairly small
but 8K rows dynamically generated in the DOM in an HTML table with sorting
takes less than 3 seconds.  Kudos to Google.

Regards,
Davis

On Thu, Nov 12, 2009 at 5:27 PM, Open eSignForms yoz...@gmail.com wrote:

 We'd love to see some useful examples since it does seem like a huge
 and confusing set of APIs and objects just to put data into a table.
 But it sounds like you had some success, so if you get to that blog,
 blog away on PagingScrollTable and help us mere non-GUI mortals make
 use of it smile.  Thanks...

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.





-- 
Zeno Consulting, Inc.
home: http://www.zenoconsulting.biz
blog: http://zenoconsulting.wikidot.com
p: 248.894.4922
f: 313.884.2977

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: incubator's PagingScrollTable(pagination+Sorting)

2009-11-12 Thread Davis Ford
I'm going to production with PagingScrollTable from incubator.  I wrote some
unit tests around it and have had no issues with it, but more importantly,
I've had this app running live for several months in a dev/test environment,
and it has worked flawlessly across browsers (IE 6, 7, 8, Firefox 3.*,
Chrome).

I'm using it to present the results of a search page.  You search for, let's
just say a person by last name, GWT-RPC fetches the results from Oracle and
returns an ArrayList, and I shove it into the PagingScrollTable.  We've been
hammering it pretty good, and so far, it has worked great.

Regards,
Davis

On Thu, Nov 12, 2009 at 5:11 PM, Open eSignForms yoz...@gmail.com wrote:

 What are people's impressions of these widgets in production use?  It
 seems I've read a lot of negative stuff about PagingScrollTable, and
 it's clear that sorting does not work, which is funny when you run
 their demo since it touts sorting, yet not a single column sorts
 correctly.

 I've not had a chance to play with gwtlib's PagingTable, but am a bit
 concerned the version release is 0.1.6, which sounds far from being
 production ready, and the last update was May 2, so clearly there's no
 real work effort moving it forward.  So, is it really 0.1.6, or does
 it work well enough that it's really 1.0 at least?

 It is surprising that such tables are not part of GWT core yet.  This
 is one of the most common widgets needed for most data-centric apps.

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.





-- 
Zeno Consulting, Inc.
home: http://www.zenoconsulting.biz
blog: http://zenoconsulting.wikidot.com
p: 248.894.4922
f: 313.884.2977

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT Hosted Mode crashing after Snow Leopard 10.6.2 Update

2009-11-12 Thread JeanV
I can confirm that I have the same problem since upgrading to Safari
4.0.4. Help is needed on this one

On Nov 12, 10:10 am, Daniel kurka.dan...@googlemail.com wrote:
 After I installed the OSX update 10.6.2 I can start the hosted mode
 anymore. I get a Invalid memory access:

 Im suspecting the safari update from 4.0.3 to 4.0.4 to be responsible.
 Anyone any hints?

 Invalid memory access of location 0010 eip=969cf77b

 Process:         java [524]
 Path:            /System/Library/Frameworks/JavaVM.framework/Versions/
 1.6.0/Home/bin/java
 Identifier:      java
 Version:         ??? (???)
 Code Type:       X86 (Native)
 Parent Process:  idea [485]

 PlugIn Path:       /Users/danielkurka/.m2/repository/com/google/gwt/
 gwt-dev/1.7.1/libgwt-ll.jnilib
 PlugIn Identifier: libgwt-ll.jnilib
 PlugIn Version:    ??? (???)

 Date/Time:       2009-11-12 09:54:18.141 +0100
 OS Version:      Mac OS X 10.6.2 (10C540)
 Report Version:  6

 Interval Since Last Report:          5237 sec
 Crashes Since Last Report:           4
 Per-App Crashes Since Last Report:   4
 Anonymous UUID:                      6C95C9C4-48BF-48FE-B53E-
 C90E1BF89E54

 Exception Type:  EXC_BAD_ACCESS (SIGBUS)
 Exception Codes: KERN_PROTECTION_FAILURE at 0x0010
 Crashed Thread:  0  Dispatch queue: com.apple.main-thread

 Application Specific Information:

 Java information:
  Exception type: Bus Error (0xa) at pc=0x969cf77b

  Java VM: Java HotSpot(TM) Client VM (14.1-b02-90 mixed mode macosx-
 x86)

 Current thread (0x038b6000):  JavaThread Thread-0 daemon
 [_thread_in_native, id=-1610181376, stack(0xbf80,0xc000)]
 Stack: [0xbf80,0xc000]
 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
 J  com.google.gwt.dev.shell.mac.LowLevelSaf.gcUnprotect(II)V
 J  com.google.gwt.dev.shell.JsValue.mainThreadCleanup()V
 j  com.google.gwt.dev.shell.ModuleSpace.invokeNative(Ljava/lang/
 String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Lcom/
 google/gwt/dev/shell/JsValue;+0
 j  com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(Ljava/lang/
 String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/
 lang/Object;+6
 j  com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(Ljava/
 lang/String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)
 Ljava/lang/Object;+7
 j  com.google.gwt.dom.client.DOMImpl.eventGetType(Lcom/google/gwt/dom/
 client/NativeEvent;)Ljava/lang/String;+20
 j  com.google.gwt.dom.client.NativeEvent$.getType$(Lcom/google/gwt/dom/
 client/NativeEvent;)Ljava/lang/String;+4
 j  com.google.gwt.user.client.impl.DOMImpl.eventGetTypeInt(Lcom/google/
 gwt/user/client/Event;)I+2
 j  com.google.gwt.user.client.DOM.eventGetType(Lcom/google/gwt/user/
 client/Event;)I+4
 j  com.google.gwt.user.client.ui.Widget.onBrowserEvent(Lcom/google/gwt/
 user/client/Event;)V+1
 j  com.google.gwt.user.client.DOM.dispatchEventImpl(Lcom/google/gwt/
 user/client/Event;Lcom/google/gwt/user/client/Element;Lcom/google/gwt/
 user/client/EventListener;)V+31
 j  com.google.gwt.user.client.DOM.dispatchEventAndCatch(Lcom/google/
 gwt/user/client/Event;Lcom/google/gwt/user/client/Element;Lcom/google/
 gwt/user/client/EventListener;Lcom/google/gwt/core/client/GWT
 $UncaughtExceptionHandler;)V+3
 j  com.google.gwt.user.client.DOM.dispatchEvent(Lcom/google/gwt/user/
 client/Event;Lcom/google/gwt/user/client/Element;Lcom/google/gwt/user/
 client/EventListener;)V+12
 v  ~StubRoutines::call_stub
 j  sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/
 Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
 j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;
 [Ljava/lang/Object;)Ljava/lang/Object;+87
 J  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;
 [Ljava/lang/Object;)Ljava/lang/Object;
 J  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/
 Object;)Ljava/lang/Object;
 j  com.google.gwt.dev.shell.MethodAdaptor.invoke(Ljava/lang/Object;
 [Ljava/lang/Object;)Ljava/lang/Object;+13
 J  com.google.gwt.dev.shell.mac.MethodDispatch.invoke(II[I[I)I
 v  ~StubRoutines::call_stub
 j  org.eclipse.swt.internal.carbon.OS.ReceiveNextEvent(I[IDZ[I)I+0
 j  org.eclipse.swt.widgets.Display.readAndDispatch()Z+50
 j  com.google.gwt.dev.SwtHostedModeBase.processEvents()V+4
 j  com.google.gwt.dev.HostedModeBase.pumpEventLoop()V+13
 j  com.google.gwt.dev.HostedModeBase.run()V+19
 j  com.google.gwt.dev.GWTShell.main([Ljava/lang/String;)V+40
 v  ~StubRoutines::call_stub

 Java Threads: ( = current thread )
   0x038af400 JavaThread http--Processor8 daemon
 [_thread_in_Java, id=-1308504064, stack(0xb1f1d000,0xb201d000)]
   0x038aec00 JavaThread http--Processor7 daemon
 [_thread_blocked, id=-1309560832, stack(0xb1e1b000,0xb1f1b000)]
   0x038ae400 JavaThread http--Processor6 daemon
 [_thread_blocked, id=-1310617600, stack(0xb1d19000,0xb1e19000)]
   0x03ac7800 JavaThread http--Processor5 daemon
 [_thread_blocked, id=-1311674368, 

Interface HasCaption

2009-11-12 Thread luciocamilo
Why the Interface HasCaption isn't implemented by any class, if it
provides the methods like getCaption and setCaption used for example
by DialogBox?
This class shouldnt implements the hascaption???

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Flex Table - Remove rows

2009-11-12 Thread Jonas
Hello all,

i'm trying to remove the rows from a dynamic flex table, but without
success. This is my code, i have 5 columns and a variable number of
rows. The idea is to remove all the rows and put new rows in it.

Here is what i'm doing

for (int i = 0; i  __this.getRowCount(); i++) {
__this.removeRow(i);
__this.getFlexCellFormatter().setRowSpan(0, 0, i);
__this.getFlexCellFormatter().setRowSpan(0, 1, i);
__this.getFlexCellFormatter().setRowSpan(0, 2, i);
__this.getFlexCellFormatter().setRowSpan(0, 3, i);
__this.getFlexCellFormatter().setRowSpan(0, 4, i);
}

I think my problem is in the HTML manipulation, if somebody could help
i would be very gratefull

Thanks in advance

Best Regards

João Lopes

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: incubator's PagingScrollTable(pagination+Sorting)

2009-11-12 Thread Yozons Support on Gmail
Thanks.  I'll spend more time to investigate this option, then, since it
likely has improved since a lot of the earlier gripes.  More examples and
better documentation are always the answer, but I know how hard it is to
have it all :)

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Using MVP

2009-11-12 Thread Brian
One solution would be to have two different methods on the interface
such as:

HasValueString getUsernameField();
HasBlurHandlers getUsernameInput();

I'm not sure I like those names, but the point is that getting the
value and adding a blur handler can be different concerns from the
point of view of the presenter. From the view's perspective, it's a
nice convenience that TextBox has both or these features so it can
fulfill both methods of the interface with the same object. The view
also has the freedom to use different objects if that made sense to
do. Finally, there's the added bonus that not even the method name
implies that a TextBox is being used.

-Brian

On Nov 11, 11:56 am, Philip Alldredge cilco...@gmail.com wrote:
 Hi,
 That's a good question and I am curious about the proper way to handle
 it. One way I came up with for handling it is this.:

 class SpecializedObjectWrapperT extends HasValueString 
 HasBlurHandlers extends ObjectWrapperT
 {
         public SpecializedObjectWrapper(T v)
         {
                 super(v);
         }

 }

 class ObjectWrapperT
 {
         public ObjectWrapper(T value)
         {
                 this.value = value;
         }

         public T getValue() { return value; }
         private T value;

 };

 Then use:
 SpecializedObjectWrapper? getUsernameTextBox()

 for your method.

 This seems a bit bulky to me, although one can shared the
 ObjectWrapper class and create a new SpecializedObjectWrapper for each
 unique return type. I am interested if there is a more elegant
 solutions.

 On Nov 10, 12:20 pm, P.G.Taboada pgtabo...@googlemail.com wrote:



  Hi,

  I am running into Java compilation issues.
  Example:

  public class LoginPresenter {

          public interface Display {

                  T extends HasValueString  HasBlurHandlers T 
  getUsernameTextBox
  ();

                  HasValueString getPasswordTextBox();

                  HasValueString getErrorMessageBox();

                  HasClickHandlers getLoginButton();
          }

  // ...

  }

  While I can define a Display that returns a TextBox, I can't use the
  getUsernameTextBox without doing the assignment type inference against
  a concrete something implementing both interfaces in my presenter.

  How do you handle this?

  brgds,

  Papick

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT 2 mailstone 2+selenium+testng+firefox 3.5,keep asking to install plugin

2009-11-12 Thread Alex Luya
Yeah,thank you Cliff,I figured it out
---
cmdjava -jar selenium-server.jar -firefoxProfileTemplate C:
\Documents and Settings\your account name\Application Data\Mozilla
\Firefox\Profiles\xxx.default

Above command line will force selenium-server to start with specified
profile.

On 12 nov, 15:43, Cliff Zhao zha...@gmail.com wrote:
 Selenium has its customized profile for firefox and IE, I think that you
 need to let Selenium start your firefox profile that have the plugin
 installed.



 On Thu, Nov 12, 2009 at 2:57 AM, Alex Luya alexander.l...@gmail.com wrote:
  (All uitilities are latest version )
  I use following code to test my login page:
  -
  import com.thoughtworks.selenium.DefaultSelenium;
  import com.thoughtworks.selenium.Selenium;

  public class Login
  {
        �...@test
         public void Login() throws Exception
         {
                 Selenium selenium = new DefaultSelenium(localhost, ,
  *firefox,http://localhost:/;);
                 selenium.start();
                 selenium.open(/CRM.html?gwt.hosted=127.0.0.1:9997);
                 selenium.type(gwt-debug-userName, admin);
                 selenium.type(gwt-debug-password, admin);
                 selenium.click(gwt-debug-login);
                 selenium.stop();
         }
  }
  --
  after firefox opened,it keeps asking me to install gwt plugin(but the
  plugin has been installed and functioned properly),and I try to
  refresh page,no changes,then I copy the url,close firefox and reopen
  it,pasted url just copied,it works.that is strange.why is it when I
  use Selenium to open firefox,it asked me to install already installed
  plugin.

  --

  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs 
  cr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT Hosted Mode crashing after Snow Leopard 10.6.2 Update

2009-11-12 Thread Casey
Same here. Everything was fine until I installed the new Safari

On Nov 12, 8:27 pm, JeanV jve...@gmail.com wrote:
 I can confirm that I have the same problem since upgrading to Safari
 4.0.4. Help is needed on this one

 On Nov 12, 10:10 am, Daniel kurka.dan...@googlemail.com wrote:



  After I installed the OSX update 10.6.2 I can start the hosted mode
  anymore. I get a Invalid memory access:

  Im suspecting the safari update from 4.0.3 to 4.0.4 to be responsible.
  Anyone any hints?

  Invalid memory access of location 0010 eip=969cf77b

  Process:         java [524]
  Path:            /System/Library/Frameworks/JavaVM.framework/Versions/
  1.6.0/Home/bin/java
  Identifier:      java
  Version:         ??? (???)
  Code Type:       X86 (Native)
  Parent Process:  idea [485]

  PlugIn Path:       /Users/danielkurka/.m2/repository/com/google/gwt/
  gwt-dev/1.7.1/libgwt-ll.jnilib
  PlugIn Identifier: libgwt-ll.jnilib
  PlugIn Version:    ??? (???)

  Date/Time:       2009-11-12 09:54:18.141 +0100
  OS Version:      Mac OS X 10.6.2 (10C540)
  Report Version:  6

  Interval Since Last Report:          5237 sec
  Crashes Since Last Report:           4
  Per-App Crashes Since Last Report:   4
  Anonymous UUID:                      6C95C9C4-48BF-48FE-B53E-
  C90E1BF89E54

  Exception Type:  EXC_BAD_ACCESS (SIGBUS)
  Exception Codes: KERN_PROTECTION_FAILURE at 0x0010
  Crashed Thread:  0  Dispatch queue: com.apple.main-thread

  Application Specific Information:

  Java information:
   Exception type: Bus Error (0xa) at pc=0x969cf77b

   Java VM: Java HotSpot(TM) Client VM (14.1-b02-90 mixed mode macosx-
  x86)

  Current thread (0x038b6000):  JavaThread Thread-0 daemon
  [_thread_in_native, id=-1610181376, stack(0xbf80,0xc000)]
  Stack: [0xbf80,0xc000]
  Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
  J  com.google.gwt.dev.shell.mac.LowLevelSaf.gcUnprotect(II)V
  J  com.google.gwt.dev.shell.JsValue.mainThreadCleanup()V
  j  com.google.gwt.dev.shell.ModuleSpace.invokeNative(Ljava/lang/
  String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Lcom/
  google/gwt/dev/shell/JsValue;+0
  j  com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(Ljava/lang/
  String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/
  lang/Object;+6
  j  com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(Ljava/
  lang/String;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)
  Ljava/lang/Object;+7
  j  com.google.gwt.dom.client.DOMImpl.eventGetType(Lcom/google/gwt/dom/
  client/NativeEvent;)Ljava/lang/String;+20
  j  com.google.gwt.dom.client.NativeEvent$.getType$(Lcom/google/gwt/dom/
  client/NativeEvent;)Ljava/lang/String;+4
  j  com.google.gwt.user.client.impl.DOMImpl.eventGetTypeInt(Lcom/google/
  gwt/user/client/Event;)I+2
  j  com.google.gwt.user.client.DOM.eventGetType(Lcom/google/gwt/user/
  client/Event;)I+4
  j  com.google.gwt.user.client.ui.Widget.onBrowserEvent(Lcom/google/gwt/
  user/client/Event;)V+1
  j  com.google.gwt.user.client.DOM.dispatchEventImpl(Lcom/google/gwt/
  user/client/Event;Lcom/google/gwt/user/client/Element;Lcom/google/gwt/
  user/client/EventListener;)V+31
  j  com.google.gwt.user.client.DOM.dispatchEventAndCatch(Lcom/google/
  gwt/user/client/Event;Lcom/google/gwt/user/client/Element;Lcom/google/
  gwt/user/client/EventListener;Lcom/google/gwt/core/client/GWT
  $UncaughtExceptionHandler;)V+3
  j  com.google.gwt.user.client.DOM.dispatchEvent(Lcom/google/gwt/user/
  client/Event;Lcom/google/gwt/user/client/Element;Lcom/google/gwt/user/
  client/EventListener;)V+12
  v  ~StubRoutines::call_stub
  j  sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/
  Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
  j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;
  [Ljava/lang/Object;)Ljava/lang/Object;+87
  J  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;
  [Ljava/lang/Object;)Ljava/lang/Object;
  J  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/
  Object;)Ljava/lang/Object;
  j  com.google.gwt.dev.shell.MethodAdaptor.invoke(Ljava/lang/Object;
  [Ljava/lang/Object;)Ljava/lang/Object;+13
  J  com.google.gwt.dev.shell.mac.MethodDispatch.invoke(II[I[I)I
  v  ~StubRoutines::call_stub
  j  org.eclipse.swt.internal.carbon.OS.ReceiveNextEvent(I[IDZ[I)I+0
  j  org.eclipse.swt.widgets.Display.readAndDispatch()Z+50
  j  com.google.gwt.dev.SwtHostedModeBase.processEvents()V+4
  j  com.google.gwt.dev.HostedModeBase.pumpEventLoop()V+13
  j  com.google.gwt.dev.HostedModeBase.run()V+19
  j  com.google.gwt.dev.GWTShell.main([Ljava/lang/String;)V+40
  v  ~StubRoutines::call_stub

  Java Threads: ( = current thread )
    0x038af400 JavaThread http--Processor8 daemon
  [_thread_in_Java, id=-1308504064, stack(0xb1f1d000,0xb201d000)]
    0x038aec00 JavaThread http--Processor7 daemon
  [_thread_blocked, id=-1309560832, stack(0xb1e1b000,0xb1f1b000)]
    

Using GWT on a server controlled by a content management system

2009-11-12 Thread JavaMan
Hey everyone,
I am the webmaster of a website that uses the content management
system: Simple Updates. The security rules of the website are rather
stringent. I cannot upload folder structures to the site, only files.
I figured out how to get my GWT application to run all from a single
folder on my PC. Unfortunately, the GWT application won't run on the
server. I think the problem is that the javascript file is retrieving
an HTML file from the server. Because of the security rules, the
server doesn't return a nice HTML page, or no page at all.

 Is there some way to take all of the generated HTML files and package
them into a single file that I can have the javascript reference? I
know this resulting HTML file would be rather large, but I can't think
of any other way to get around the security restrictions.

Thanks for any help!
Vance

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




How do I display a TreeItem in a Tree with all its children being displayed?

2009-11-12 Thread Saj
Hi All,

I have one Tree with a TreeItem root.  root has several child
items.  The default is the children of root not being displayed.  In
other words root is closed.

How do I display root being open with its children being displayed.
I thought that if I add the line  root.setState(true); that this
would do the trick but no luck.  Any ideas.   My simple OnModuleLoad
code from the example follows below.

Thanks.
Saj


public void onModuleLoad() {
RootPanel rootPanel = RootPanel.get();
TreeItem root = new TreeItem(root);
root.setState(true);
root.addItem(item0);
root.addItem(item1);
root.addItem(item2);

// Add a CheckBox to the tree
TreeItem item = new TreeItem(new CheckBox(item3));
item.setVisible(true);

root.addItem(item);
Tree t = new Tree();
t.addItem(root);
rootPanel.add(t);

}

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




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

2009-11-12 Thread Yozons Support on Gmail
That would be awesome.  I'll keep my eyes out for your posting.  I would
love to use it, but there is a huge learning curve already with GWT (I am
not even a GUI programmer other than good old HTML+CSS generated by JSPs)
and there's nothing like an example that makes use of the various classes to
speed up our own development.

I don't have big data volumes (yet), but I expect to show lots of our
objects using tables, with the ability to click on rows to bring up editors,
etc.   I hope your examples will help me with this...  Thanks again in
advance.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: OOPHM plugin for firefox problem.

2009-11-12 Thread zuber2 ahmad
xxx

On Thu, Nov 12, 2009 at 8:06 PM, Rajeev Dayal rda...@google.com wrote:

 Hm, it does seem that the plugin is throwing an exception here:

 Error
 Sat Oct 17 13:45:41 WST 2009
 Unexpected Exception

 org.eclipse.core.internal.resources.ResourceException: Problems
 encountered while deleting resources.
 at org.eclipse.core.internal.resources.Resource.delete(Resource.java:
 724)
 at org.eclipse.core.internal.resources.Resource.delete(Resource.java:
 670)
 at com.google.gdt.eclipse.core.sdk.UpdateWebInfFolderCommand.execute
 (UpdateWebInfFolderCommand.java:65)
 at com.google.gdt.eclipse.core.sdk.UpdateProjectSdkCommand.execute
 (UpdateProjectSdkCommand.java:67)
 at
 com.google.gwt.eclipse.core.properties.ui.GWTProjectPropertyPage.addGWT
 (GWTProjectPropertyPage.java:186)
 ...

 Does this exception happen consistently when you switch SDKs? Also, is your
 war/WEB-INF/lib directory version-controlled?


 On Sat, Oct 17, 2009 at 12:57 AM, dougx douglas.lin...@gmail.com wrote:


 I can confirm absolutely that swapping the GWT settings does not alter
 the gwt-servlet.jar file on 3 computers I've tested it on (all winxp).

 For example, trying to roll back to GWT 1.7 will result in this error
 when you attempt to launch hosted mode:
 [ERROR] Invalid version number 2.0 passed to external.gwtOnLoad(),
 expected 1.6; your hosted mode bootstrap file may be out of date; if
 you are using -noserver try recompiling and redeploying your app

 This is again fixed by replacing the gwt-servlet.jar file.

 Looks like this might be the plugin eclipse failing to do something,
 but I don't see any errors in the logs.

 I'd expect something like this, which is what you'd get if you set the
 file to read only:
 eclipse.buildId=M20090211-1700
 java.version=1.6.0_13
 java.vendor=Sun Microsystems Inc.
 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
 Command-line arguments:  -os win32 -ws win32 -arch x86

 Error
 Sat Oct 17 13:45:41 WST 2009
 Unexpected Exception

 org.eclipse.core.internal.resources.ResourceException: Problems
 encountered while deleting resources.
 at org.eclipse.core.internal.resources.Resource.delete(Resource.java:
 724)
 at org.eclipse.core.internal.resources.Resource.delete(Resource.java:
 670)
 at com.google.gdt.eclipse.core.sdk.UpdateWebInfFolderCommand.execute
 (UpdateWebInfFolderCommand.java:65)
 at com.google.gdt.eclipse.core.sdk.UpdateProjectSdkCommand.execute
 (UpdateProjectSdkCommand.java:67)
 at
 com.google.gwt.eclipse.core.properties.ui.GWTProjectPropertyPage.addGWT
 (GWTProjectPropertyPage.java:186)
 at

 com.google.gwt.eclipse.core.properties.ui.GWTProjectPropertyPage.saveProjectProperties
 (GWTProjectPropertyPage.java:132)
 at com.google.gdt.eclipse.core.ui.AbstractProjectPropertyPage.performOk
 (AbstractProjectPropertyPage.java:78)
 at org.eclipse.jface.preference.PreferenceDialog$13.run
 (PreferenceDialog.java:931)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
 at org.eclipse.core.runtime.Platform.run(Platform.java:880)
 at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
 at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
 at org.eclipse.jface.preference.PreferenceDialog.okPressed
 (PreferenceDialog.java:911)
 at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed
 (FilteredPreferenceDialog.java:456)
 at org.eclipse.jface.preference.PreferenceDialog.buttonPressed
 (PreferenceDialog.java:233)
 at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
 at org.eclipse.swt.widgets.TypedListener.handleEvent
 (TypedListener.java:228)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
 3823)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
 at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
 at org.eclipse.jface.window.Window.open(Window.java:801)
 at
 com.google.gdt.eclipse.core.actions.AbstractProjectPropertiesAction.run
 (AbstractProjectPropertiesAction.java:56)
 at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:
 251)
 at
 org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
 (ActionContributionItem.java:583)
 at org.eclipse.jface.action.ActionContributionItem.access$2
 (ActionContributionItem.java:500)
 at org.eclipse.jface.action.ActionContributionItem$5.handleEvent
 (ActionContributionItem.java:411)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
 3823)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
 at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
 at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
 at 

Re: GWT Hosted Mode crashing after Snow Leopard 10.6.2 Update

2009-11-12 Thread Xavi Mensa
Thanks for the JAR Daniel, it works here.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: can't inherit gwt maps module

2009-11-12 Thread Brady
I am using the google plugin for eclipse.  The getting started page
that you referenced, itself references the GWT startup instructions
for GWT 1.5.  The projectCreator and applicationCreator utilities seem
to be no longer a part of the newer versions.  What steps should
replace the ones that reference those scripts?


On Nov 12, 7:26 am, Eric Ayers zun...@google.com wrote:
 Official getting started page:

 http://code.google.com/docreader/#p=gwt-google-apiss=gwt-google-apis...

 If you are not using the Google Plugin for eclipse, you may have to
 carefully setup your run configuration.



 On Tue, Nov 10, 2009 at 4:05 PM, Brady aguth...@gmail.com wrote:
  I've been trying to build a simple GWT app using GWT-maps.jar, like
  the one at:
 http://gwttutorials.com/2009/07/28/setting-up-google-maps-with-gwt/

  Despite following the instructions, I still get error messages like
  this one:
  No source code is available for type
  com.google.gwt.maps.client.geom.LatLng; did you forget to inherit a
  required module?

  I cannot find anything wrong with my application.gwt.xml file, which
  includes the following lines:

         inherits name='com.google.gwt.maps.GoogleMaps'/
         script src='
 http://maps.google.com/maps?gwt=1file=apiv=2'/

  I have also made sure that the gwt-maps.jar is on my build path.

  I would appreciate any guidance about where to look for problems.
  Thanks.

  --

  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.

 --
 Eric Z. Ayers
 Google Web Toolkit, Atlanta, GA USA

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Problem in AsyncCallback call, returned with success

2009-11-12 Thread Ricardo Cardoso / Gmr
Hello,

I'm getting a very strange situation. I get the following error in
log, when I do an AsyncCallback call:

  Uncaught JavaScript exception [_1 has no properties] in
http://localhost:/servoeasy/sc/modules/ISC_Core.js, line 773

But the call is returned with success (I get the user data that I
searched in server). However, the code stops running.

To be more specific, in a login window, when a user clicks in a
button, an addClickHandler calls the method:

private void loadSeUser(String email, String pw) {
System.err.println(Sending to loadSeUserByLogin:  + email + 
,  +
pw);

GetInformationService.Util.getInstance().loadSeUserByLogin(email,
pw,
new AsyncCallbackSeUser() {

@Override
public void onFailure(Throwable caught) 
{
System.err.println(Error in 
connection to loadSeUserByLogin);
SC.say(caught.getMessage());
}

@Override
public void onSuccess(SeUser result) {
setUser(result);
SeUser us = getUser();

System.err.println(loadSeUser()- Received user: 
+ 
us.getFname());
}

});
}

I got the log success message loadSeUser()- Received user: X.
But the code don't return to addClickHandler following code line.
Stops here!
I only get that error log I said, just after control log message
Sending to loadSeUserByLogin: x...@xx.com, PW.

More strange than that is the fact this happens only in first time the
user clicks. After one or two seconds, if he clicks again, everything
runs OK, the code returns to addClickHandler without problems.

Any idea?

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: can't inherit gwt maps module

2009-11-12 Thread Brady
I am using the google plugin for eclipse.  The getting started page
that you referenced, itself references the GWT startup instructions
for GWT 1.5.  The projectCreator and applicationCreator utilities seem
to be no longer a part of the newer versions.  What steps should
replace the ones that reference those scripts?


On Nov 12, 7:26 am, Eric Ayers zun...@google.com wrote:
 Official getting started page:

 http://code.google.com/docreader/#p=gwt-google-apiss=gwt-google-apis...

 If you are not using the Google Plugin for eclipse, you may have to
 carefully setup your run configuration.



 On Tue, Nov 10, 2009 at 4:05 PM, Brady aguth...@gmail.com wrote:
  I've been trying to build a simple GWT app using GWT-maps.jar, like
  the one at:
 http://gwttutorials.com/2009/07/28/setting-up-google-maps-with-gwt/

  Despite following the instructions, I still get error messages like
  this one:
  No source code is available for type
  com.google.gwt.maps.client.geom.LatLng; did you forget to inherit a
  required module?

  I cannot find anything wrong with my application.gwt.xml file, which
  includes the following lines:

         inherits name='com.google.gwt.maps.GoogleMaps'/
         script src='
 http://maps.google.com/maps?gwt=1file=apiv=2'/

  I have also made sure that the gwt-maps.jar is on my build path.

  I would appreciate any guidance about where to look for problems.
  Thanks.

  --

  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.

 --
 Eric Z. Ayers
 Google Web Toolkit, Atlanta, GA USA

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT Hosted Mode crashing after Snow Leopard 10.6.2 Update

2009-11-12 Thread hugues
On 12 nov, 13:35, Daniel Kurka kurka.dan...@googlemail.com 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, int) {}

I've built a file for GWT 1.5.3 on that same pattern if people are
insterested... but I've got nowhere to put it. It's +9MB.
- Hugues

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




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

2009-11-12 Thread Edgenius
I am very excited for code split feature on Gwt 2.0 as the HTML code
size after compiled already bloats to 850k. I give a quick try but it
looks not work like a breeze. I know I have to do more research. I
don't use lots of third party libraries, actually, only 2 libraries:
GWT-DND, GWT-LOG. My GWT client code is about 350 classes.

So, do you have any good practice to reduce code size? Does code split
give you very good result?

Or just tell us what is your compiled code size and how many your
classes...

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Local call to a service instead RPC

2009-11-12 Thread Badawi
Hi,
Every call to a Service is a Remote Call?
My all application is running in the same JVM, why I have to force
all calls to and Remote Service and the serialize/deserialize the
object?

Is there a way to create a Asyncronous call to a Local Service?
Because if I dont need to serialize the returning object, I can use
Lazy Loading approach in my data layer.

Thanks!

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Any latest document for soyc and code splitting

2009-11-12 Thread Edgenius
I try 2.0m2 soyc and code splitting.  It looks soyc doesn't need 2
steps. After add -soyc option in GWT compiler, it outputs HTML format
files. Is it true?

But after I add GWT.runSync(), the soyc doesn't make any change. My
code size grows a little bit rather than reducing.  Do I need add some
compile options? Any latest document for soyc and code splitting?

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Error Running GWT in x86_64 Linux

2009-11-12 Thread Rajeev Dayal
Unfortunately, the embedded version of Mozilla that GWT uses is a bit
fragile when it comes to different Linux distros. I'd recommend that you
give GWT Trunk or GWT 2.0 a try, as it does not use embedded Mozilla.

On Wed, Nov 11, 2009 at 1:38 PM, Jeff Levesque
jeffreysleves...@gmail.comwrote:

 Hi All,
 I just started using GWT and I'm having some problems getting my GWT
 project in Eclipse to run. I started by creating a new Web Application
 Project, clicked the project and tried to run it but I'm getting this
 error when it runs:

 The browser widget class could not be instantiated.

 [ERROR] The browser widget class could not be instantiated
 org.eclipse.swt.SWTError: XPCOM error -2147221164
at org.eclipse.swt.browser.Browser.error(Browser.java:1336)
at org.eclipse.swt.browser.Browser.init(Browser.java:236)
at com.google.gwt.dev.shell.BrowserWidget.init(BrowserWidget.java:
 257)
at com.google.gwt.dev.shell.moz.BrowserWidgetMoz.init
 (BrowserWidgetMoz.java:103)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
 (NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
 (DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.google.gwt.dev.shell.PlatformSpecific.createBrowserWidget
 (PlatformSpecific.java:107)
at com.google.gwt.dev.SwtHostedModeBase.openNewBrowserWindow
 (SwtHostedModeBase.java:179)
at com.google.gwt.dev.SwtHostedModeBase.launchStartupUrls
 (SwtHostedModeBase.java:162)
at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:402)
at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)

 I tried the same steps on WindowsXP (x86_64) and didn't encounter the
 same problem. Any help would be appreciated.

 Thanks,
 - Jeff

 Configuration:
 Linux Kernel: 2.6.29.4-167.fc11.x86_64
 Eclipse 3.5.1 M20090917-0800 (I tried 32bit and 64bit)
 Java jdk1.6.0_17 (tried 32bit and 64bit)
 GWT 1.7.1
 Google App Engine 1.2.6
 Google Plugin 1.1.2

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.




--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT eclipse plugin and moving war folder

2009-11-12 Thread Rajeev Dayal
http://code.google.com/p/googleappengine/issues/detail?id=1515

On Thu, Nov 12, 2009 at 11:17 AM, Norman Maurer 
norman.mau...@googlemail.com wrote:

 Do you have the issue id handy ? Just so I can look at it ;)

 Bye,
 Norman

 2009/11/12 Rajeev Dayal rda...@google.com:
  Unfortunately, there is no way to tell the plugin to use a different
  location for the war directory. We have a feature request open for this
  functionality.
 
  On Thu, Nov 12, 2009 at 9:56 AM, olivier nouguier
  olivier.nougu...@gmail.com wrote:
 
  Hi norman,
   Did you try the other solution which is to change the mavens outputs ?
 
  outputDirectory to war/WEB-INF/classes (build section)
  warSourceDirectory  to war (maven-war-plugin)
 
  On Thu, Nov 12, 2009 at 3:51 PM, Norman Maurer nor...@apache.org
 wrote:
 
  Hi all,
  I'm using maven2 to build a multi-module GWT project. I have an extra
  module which contains the client code. So I moved the war folder into
  this module. compiling via mAven2 works fine, the only problem seems
  to be the hosted mode. It seems like the hosted mode needs to find the
  war folder in the root folder or the project. I See no Option to
  Tell the Plugin to Look at à different Location. I worked adound this
  with greating a symbolic Link but thats more a hack.
  So, is there an Option to specify à different Location ?
 
  Thx,
  norman
 
  --
 
  You received this message because you are subscribed to the Google
 Groups
  Google Web Toolkit group.
  To post to this group, send email to
 google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=.
 
 
 
 
 
  --
  A coward is incapable of exhibiting love; it is the prerogative of the
  brave.
  --
  Mohandas Gandhi
 
  --
 
  You received this message because you are subscribed to the Google
 Groups
  Google Web Toolkit group.
  To post to this group, send email to
 google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=.
 
  --
 
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-toolkit@googlegroups.com
 .
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=.
 

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.




--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT eclipse plugin and moving war folder

2009-11-12 Thread Rajeev Dayal
Also this one:

http://code.google.com/p/google-web-toolkit/issues/detail?id=3583

On Fri, Nov 13, 2009 at 12:24 AM, Rajeev Dayal rda...@google.com wrote:

 http://code.google.com/p/googleappengine/issues/detail?id=1515


 On Thu, Nov 12, 2009 at 11:17 AM, Norman Maurer 
 norman.mau...@googlemail.com wrote:

 Do you have the issue id handy ? Just so I can look at it ;)

 Bye,
 Norman

 2009/11/12 Rajeev Dayal rda...@google.com:
  Unfortunately, there is no way to tell the plugin to use a different
  location for the war directory. We have a feature request open for this
  functionality.
 
  On Thu, Nov 12, 2009 at 9:56 AM, olivier nouguier
  olivier.nougu...@gmail.com wrote:
 
  Hi norman,
   Did you try the other solution which is to change the mavens outputs ?
 
  outputDirectory to war/WEB-INF/classes (build section)
  warSourceDirectory  to war (maven-war-plugin)
 
  On Thu, Nov 12, 2009 at 3:51 PM, Norman Maurer nor...@apache.org
 wrote:
 
  Hi all,
  I'm using maven2 to build a multi-module GWT project. I have an extra
  module which contains the client code. So I moved the war folder into
  this module. compiling via mAven2 works fine, the only problem seems
  to be the hosted mode. It seems like the hosted mode needs to find the
  war folder in the root folder or the project. I See no Option to
  Tell the Plugin to Look at à different Location. I worked adound this
  with greating a symbolic Link but thats more a hack.
  So, is there an Option to specify à different Location ?
 
  Thx,
  norman
 
  --
 
  You received this message because you are subscribed to the Google
 Groups
  Google Web Toolkit group.
  To post to this group, send email to
 google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=.
 
 
 
 
 
  --
  A coward is incapable of exhibiting love; it is the prerogative of the
  brave.
  --
  Mohandas Gandhi
 
  --
 
  You received this message because you are subscribed to the Google
 Groups
  Google Web Toolkit group.
  To post to this group, send email to
 google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=.
 
  --
 
  You received this message because you are subscribed to the Google
 Groups
  Google Web Toolkit group.
  To post to this group, send email to
 google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=.
 

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.





--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Announcing the Google Plugin for Eclipse 1.1.0

2009-11-12 Thread Rajeev Dayal
Can you verify that your project is actually using the SDK that you built?
Go to Project Properties-Google-Web Toolkit and verify that the selected
SDK is the one that you just built.

On Thu, Nov 12, 2009 at 11:29 AM, shahid shahidza...@gmail.com wrote:

 @Ranjeev. Yes I performed a rebuild of GWT after reverting the files.

 On Nov 12, 3:47 pm, Rajeev Dayal rda...@google.com wrote:
  A plugin update that fixes this issue will be released in the near
 future.
 
  On Thu, Nov 12, 2009 at 6:39 AM, shahid shahidza...@gmail.com wrote:
   hi, I have also got the same problem as misterln2. Using the latest
   gwt trunk i get this error when trying to launch
   devmode with the google plugin:
   Unknown argument:-style
 
   I have tried reverting the 2 files to previous versions but it results
   in GWT build failure
 
  Did you perform a rebuild of GWT after reverting these files?
 
 
 
 
 
   shahid
 
   On Nov 11, 10:18 am, misterln2 mister...@googlemail.com wrote:
my solution was to revert:
trunk\dev\core\src\com\google\gwt\dev\DevMode.java
trunk\dev\core\src\com\google\gwt\dev\DevModeBase.java
to earlier versions (from nov 5th)
 
but im also hoping for a fixed version of the plugin ;)
 
On 10 Nov., 13:35, minichate chrissof...@hotmail.com wrote:
 
 Is there an expected date for a new release of the Eclipse plugin?
 Dropping -style without having a workaround for eclipse is sorta'
 frustrating!- Hide quoted text -
 
- Show quoted text -
 
   --
 
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post to this group, send email to
 google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubs­cr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=.- Hide quoted
 text -
 
  - Show quoted text -

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.




--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT: JUnit Google App Engine Tutorial assumes intelligence

2009-11-12 Thread Rajeev Dayal
Can you post the contents of your appengine-web.xml file?

On Thu, Nov 12, 2009 at 1:26 PM, Angel Marquez angel.marq...@gmail.comwrote:

 Ah, fantastic. I will tackle this today and let you know if my monitors
 explode.

 I think that was the last one on my list to figure out.

 The app engine deploy problem was a fluke. I think I was just flustered
 from the JUnit mayhem and my computer freaking out on me.

 I finished the app engine toot and everything worked fine when Running as a
 web Application. Everything was really pretty painless, I was just over
 thinking the entire process. Although, a problem coccurs when deploying:
 'Deploying StockWatcher to Google' has encountered a problem.

 An internal error occured during: Deploying StockWatcher to Google.

 Details:
 An internal error occurred during: Deploying StockWatcher to Google.
 XML error validating
 C:\Users\Angel\Desktop\StockWatcher\war\WEB-INF\appengine-web.xml against
 C:\Users\Angel\Desktop\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.2.6.v200910131704\appengine-java-sdk-1.2.6\docs\appengine-web.xsd

 Thank you for the help.

 On Wed, Nov 11, 2009 at 2:22 PM, chris_l lerch...@gmx.net wrote:

 Hi,


 On Nov 11, 10:29 pm, Angel Marquez angel.marq...@gmail.com wrote:
  I am running into difficulties getting through the last 2 sections of
 the
  GWT Getting Started Tutorial:
  1. When I check the available plugins for my fresh eclipse galileo
 install
  it looks like JUnit is already installed. I have tried both on a Mac 
 PC
  (Mac OS X.5, Windows 7 release candidate) using the Mac terminal and
 cygwin
  to path to the SW directory and run the -junit commands and help and
 I
  am robbed of my satisfaction
  *http://code.google.com/webtoolkit/tutorials/1.6/JUnit.html*
  *In order to run this tutorial, you will need to have JUnit 3 installed
 on
  your system. If you are using Eclipse, check your Eclipse plugins.*

 yeah, I also did the JUnit tutorial today. You're right, this part of
 the tutorial isn't as perfect as the extremely well written first
 ones. However, I think I can answer at least this one question: You'll
 have to add the JUnit library to your project. Select StockWatcher-
 Build Path-Add Libraries-JUnit-JUnit 3

 HTH
 Chris

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.



  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.


--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT: JUnit Google App Engine Tutorial assumes intelligence

2009-11-12 Thread Rajeev Dayal
Your closing tab is misspelled. It should be /appengine-web-app.

On Fri, Nov 13, 2009 at 12:37 AM, Angel Marquez angel.marq...@gmail.comwrote:

 ?xml version=1.0 encoding=utf-8?
 appengine-web-app xmlns=http://appengine.google.com/ns/1.0;
 application1683cairo/application
 version1/version
 /appengin-web-app

 I wanted to include, I'm not complaining. The tutorials are beautifully
 written like chris pointed out. I'm stoked and like the google style.


No problem, we value feedback! If a tutorial has rough spots, we want to
know!


 On Thu, Nov 12, 2009 at 9:32 PM, Rajeev Dayal rda...@google.com wrote:

 Can you post the contents of your appengine-web.xml file?


 On Thu, Nov 12, 2009 at 1:26 PM, Angel Marquez 
 angel.marq...@gmail.comwrote:

 Ah, fantastic. I will tackle this today and let you know if my monitors
 explode.

 I think that was the last one on my list to figure out.

 The app engine deploy problem was a fluke. I think I was just flustered
 from the JUnit mayhem and my computer freaking out on me.

 I finished the app engine toot and everything worked fine when Running as
 a web Application. Everything was really pretty painless, I was just over
 thinking the entire process. Although, a problem coccurs when deploying:
 'Deploying StockWatcher to Google' has encountered a problem.

 An internal error occured during: Deploying StockWatcher to Google.

 Details:
 An internal error occurred during: Deploying StockWatcher to Google.
 XML error validating
 C:\Users\Angel\Desktop\StockWatcher\war\WEB-INF\appengine-web.xml against
 C:\Users\Angel\Desktop\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.2.6.v200910131704\appengine-java-sdk-1.2.6\docs\appengine-web.xsd

 Thank you for the help.

 On Wed, Nov 11, 2009 at 2:22 PM, chris_l lerch...@gmx.net wrote:

 Hi,


 On Nov 11, 10:29 pm, Angel Marquez angel.marq...@gmail.com wrote:
  I am running into difficulties getting through the last 2 sections of
 the
  GWT Getting Started Tutorial:
  1. When I check the available plugins for my fresh eclipse galileo
 install
  it looks like JUnit is already installed. I have tried both on a Mac 
 PC
  (Mac OS X.5, Windows 7 release candidate) using the Mac terminal and
 cygwin
  to path to the SW directory and run the -junit commands and help
 and I
  am robbed of my satisfaction
  *http://code.google.com/webtoolkit/tutorials/1.6/JUnit.html*
  *In order to run this tutorial, you will need to have JUnit 3
 installed on
  your system. If you are using Eclipse, check your Eclipse plugins.*

 yeah, I also did the JUnit tutorial today. You're right, this part of
 the tutorial isn't as perfect as the extremely well written first
 ones. However, I think I can answer at least this one question: You'll
 have to add the JUnit library to your project. Select StockWatcher-
 Build Path-Add Libraries-JUnit-JUnit 3

 HTH
 Chris

 --

 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To post to this group, send email to
 google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.



  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com
 .
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.


  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.


  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.


--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: GWT: JUnit Google App Engine Tutorial assumes intelligence

2009-11-12 Thread Angel Marquez
Awesome.

Appreciate the help.

On Thu, Nov 12, 2009 at 9:41 PM, Rajeev Dayal rda...@google.com wrote:

 Your closing tab is misspelled. It should be /appengine-web-app.

 On Fri, Nov 13, 2009 at 12:37 AM, Angel Marquez 
 angel.marq...@gmail.comwrote:

 ?xml version=1.0 encoding=utf-8?
 appengine-web-app xmlns=http://appengine.google.com/ns/1.0;
 application1683cairo/application
 version1/version
 /appengin-web-app

 I wanted to include, I'm not complaining. The tutorials are beautifully
 written like chris pointed out. I'm stoked and like the google style.


 No problem, we value feedback! If a tutorial has rough spots, we want to
 know!


 On Thu, Nov 12, 2009 at 9:32 PM, Rajeev Dayal rda...@google.com wrote:

 Can you post the contents of your appengine-web.xml file?


 On Thu, Nov 12, 2009 at 1:26 PM, Angel Marquez 
 angel.marq...@gmail.comwrote:

 Ah, fantastic. I will tackle this today and let you know if my monitors
 explode.

 I think that was the last one on my list to figure out.

 The app engine deploy problem was a fluke. I think I was just flustered
 from the JUnit mayhem and my computer freaking out on me.

 I finished the app engine toot and everything worked fine when Running
 as a web Application. Everything was really pretty painless, I was just 
 over
 thinking the entire process. Although, a problem coccurs when deploying:
 'Deploying StockWatcher to Google' has encountered a problem.

 An internal error occured during: Deploying StockWatcher to Google.

 Details:
 An internal error occurred during: Deploying StockWatcher to Google.
 XML error validating
 C:\Users\Angel\Desktop\StockWatcher\war\WEB-INF\appengine-web.xml against
 C:\Users\Angel\Desktop\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.2.6.v200910131704\appengine-java-sdk-1.2.6\docs\appengine-web.xsd

 Thank you for the help.

 On Wed, Nov 11, 2009 at 2:22 PM, chris_l lerch...@gmx.net wrote:

 Hi,


 On Nov 11, 10:29 pm, Angel Marquez angel.marq...@gmail.com wrote:
  I am running into difficulties getting through the last 2 sections of
 the
  GWT Getting Started Tutorial:
  1. When I check the available plugins for my fresh eclipse galileo
 install
  it looks like JUnit is already installed. I have tried both on a Mac
  PC
  (Mac OS X.5, Windows 7 release candidate) using the Mac terminal and
 cygwin
  to path to the SW directory and run the -junit commands and help
 and I
  am robbed of my satisfaction
  *http://code.google.com/webtoolkit/tutorials/1.6/JUnit.html*
  *In order to run this tutorial, you will need to have JUnit 3
 installed on
  your system. If you are using Eclipse, check your Eclipse plugins.*

 yeah, I also did the JUnit tutorial today. You're right, this part of
 the tutorial isn't as perfect as the extremely well written first
 ones. However, I think I can answer at least this one question: You'll
 have to add the JUnit library to your project. Select StockWatcher-
 Build Path-Add Libraries-JUnit-JUnit 3

 HTH
 Chris

 --

 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To post to this group, send email to
 google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.



  --
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To post to this group, send email to
 google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.


  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com
 .
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.


  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.


  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 

Re: OOPHM plugin for firefox problem.

2009-11-12 Thread Rajeev Dayal
I think we're talking about different plugins here :). I was referring to
the Google Plugin for Eclipse. But, if you do see any crash logs resulting
from the GWT Developer Plugin on FireFox 3.5, please do create a new thread
and post the information.

On Thu, Nov 12, 2009 at 11:20 AM, Jeff Chimene jchim...@gmail.com wrote:



 On Thu, Nov 12, 2009 at 9:06 AM, Rajeev Dayal rda...@google.com wrote:

 Hm, it does seem that the plugin is throwing an exception here:


 FWIW, I have seen FF 3.5 crash after some time. I don't know how to
 reproduce the problem. The crash reporter is enabled. If there's some info I
 can glean from the crash reporter or other bread crumbs I'm happy to help.





 Error
 Sat Oct 17 13:45:41 WST 2009
 Unexpected Exception

 org.eclipse.core.internal.resources.ResourceException: Problems
 encountered while deleting resources.
 at org.eclipse.core.internal.resources.Resource.delete(Resource.java:
 724)
 at org.eclipse.core.internal.resources.Resource.delete(Resource.java:
 670)
 at com.google.gdt.eclipse.core.sdk.UpdateWebInfFolderCommand.execute
 (UpdateWebInfFolderCommand.java:65)
 at com.google.gdt.eclipse.core.sdk.UpdateProjectSdkCommand.execute
 (UpdateProjectSdkCommand.java:67)
 at
 com.google.gwt.eclipse.core.properties.ui.GWTProjectPropertyPage.addGWT
 (GWTProjectPropertyPage.java:186)
 ...

 Does this exception happen consistently when you switch SDKs? Also, is
 your war/WEB-INF/lib directory version-controlled?


 On Sat, Oct 17, 2009 at 12:57 AM, dougx douglas.lin...@gmail.com wrote:


 I can confirm absolutely that swapping the GWT settings does not alter
 the gwt-servlet.jar file on 3 computers I've tested it on (all winxp).

 For example, trying to roll back to GWT 1.7 will result in this error
 when you attempt to launch hosted mode:
 [ERROR] Invalid version number 2.0 passed to external.gwtOnLoad(),
 expected 1.6; your hosted mode bootstrap file may be out of date; if
 you are using -noserver try recompiling and redeploying your app

 This is again fixed by replacing the gwt-servlet.jar file.

 Looks like this might be the plugin eclipse failing to do something,
 but I don't see any errors in the logs.

 I'd expect something like this, which is what you'd get if you set the
 file to read only:
 eclipse.buildId=M20090211-1700
 java.version=1.6.0_13
 java.vendor=Sun Microsystems Inc.
 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
 Command-line arguments:  -os win32 -ws win32 -arch x86

 Error
 Sat Oct 17 13:45:41 WST 2009
 Unexpected Exception

 org.eclipse.core.internal.resources.ResourceException: Problems
 encountered while deleting resources.
 at org.eclipse.core.internal.resources.Resource.delete(Resource.java:
 724)
 at org.eclipse.core.internal.resources.Resource.delete(Resource.java:
 670)
 at com.google.gdt.eclipse.core.sdk.UpdateWebInfFolderCommand.execute
 (UpdateWebInfFolderCommand.java:65)
 at com.google.gdt.eclipse.core.sdk.UpdateProjectSdkCommand.execute
 (UpdateProjectSdkCommand.java:67)
 at
 com.google.gwt.eclipse.core.properties.ui.GWTProjectPropertyPage.addGWT
 (GWTProjectPropertyPage.java:186)
 at

 com.google.gwt.eclipse.core.properties.ui.GWTProjectPropertyPage.saveProjectProperties
 (GWTProjectPropertyPage.java:132)
 at com.google.gdt.eclipse.core.ui.AbstractProjectPropertyPage.performOk
 (AbstractProjectPropertyPage.java:78)
 at org.eclipse.jface.preference.PreferenceDialog$13.run
 (PreferenceDialog.java:931)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
 at org.eclipse.core.runtime.Platform.run(Platform.java:880)
 at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
 at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
 at org.eclipse.jface.preference.PreferenceDialog.okPressed
 (PreferenceDialog.java:911)
 at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed
 (FilteredPreferenceDialog.java:456)
 at org.eclipse.jface.preference.PreferenceDialog.buttonPressed
 (PreferenceDialog.java:233)
 at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
 at org.eclipse.swt.widgets.TypedListener.handleEvent
 (TypedListener.java:228)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
 3823)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
 at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
 at org.eclipse.jface.window.Window.open(Window.java:801)
 at
 com.google.gdt.eclipse.core.actions.AbstractProjectPropertiesAction.run
 (AbstractProjectPropertiesAction.java:56)
 at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:
 251)
 at
 org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
 (ActionContributionItem.java:583)
 at org.eclipse.jface.action.ActionContributionItem.access$2
 (ActionContributionItem.java:500)
 at 

Re: GWT: JUnit Google App Engine Tutorial assumes intelligence

2009-11-12 Thread Angel Marquez
?xml version=1.0 encoding=utf-8?
appengine-web-app xmlns=http://appengine.google.com/ns/1.0;
application1683cairo/application
version1/version
/appengin-web-app

I wanted to include, I'm not complaining. The tutorials are beautifully
written like chris pointed out. I'm stoked and like the google style.

On Thu, Nov 12, 2009 at 9:32 PM, Rajeev Dayal rda...@google.com wrote:

 Can you post the contents of your appengine-web.xml file?


 On Thu, Nov 12, 2009 at 1:26 PM, Angel Marquez angel.marq...@gmail.comwrote:

 Ah, fantastic. I will tackle this today and let you know if my monitors
 explode.

 I think that was the last one on my list to figure out.

 The app engine deploy problem was a fluke. I think I was just flustered
 from the JUnit mayhem and my computer freaking out on me.

 I finished the app engine toot and everything worked fine when Running as
 a web Application. Everything was really pretty painless, I was just over
 thinking the entire process. Although, a problem coccurs when deploying:
 'Deploying StockWatcher to Google' has encountered a problem.

 An internal error occured during: Deploying StockWatcher to Google.

 Details:
 An internal error occurred during: Deploying StockWatcher to Google.
 XML error validating
 C:\Users\Angel\Desktop\StockWatcher\war\WEB-INF\appengine-web.xml against
 C:\Users\Angel\Desktop\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.2.6.v200910131704\appengine-java-sdk-1.2.6\docs\appengine-web.xsd

 Thank you for the help.

 On Wed, Nov 11, 2009 at 2:22 PM, chris_l lerch...@gmx.net wrote:

 Hi,


 On Nov 11, 10:29 pm, Angel Marquez angel.marq...@gmail.com wrote:
  I am running into difficulties getting through the last 2 sections of
 the
  GWT Getting Started Tutorial:
  1. When I check the available plugins for my fresh eclipse galileo
 install
  it looks like JUnit is already installed. I have tried both on a Mac 
 PC
  (Mac OS X.5, Windows 7 release candidate) using the Mac terminal and
 cygwin
  to path to the SW directory and run the -junit commands and help
 and I
  am robbed of my satisfaction
  *http://code.google.com/webtoolkit/tutorials/1.6/JUnit.html*
  *In order to run this tutorial, you will need to have JUnit 3 installed
 on
  your system. If you are using Eclipse, check your Eclipse plugins.*

 yeah, I also did the JUnit tutorial today. You're right, this part of
 the tutorial isn't as perfect as the extremely well written first
 ones. However, I think I can answer at least this one question: You'll
 have to add the JUnit library to your project. Select StockWatcher-
 Build Path-Add Libraries-JUnit-JUnit 3

 HTH
 Chris

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com
 .
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.



  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.


  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.


--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




GWT: Feature request Photoshop plugin.

2009-11-12 Thread Angel Marquez
I would love to be able to either:
1. Create the project architecture via GWT/eclipse and when done click a
button that generates a PSD template  that is analogous to the css and
widget classes used. Maybe have the Photoshop Group Directory be the page
name and location (home-header) and the layer the dimensions (190x70).

2 Create a PSD and export into the GWT project directory. Skinning mechanism
esque.

Click and inject or click and create a model for what needs to be injected.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: Issue when using DeferredCommand.addPause

2009-11-12 Thread Damien Picard
Thank you, I understand now.

I was thinking that the IncrementalCommand was the best way to allow
handling click, etc... during a long processing.

2009/11/13 Thomas Broyer t.bro...@gmail.com



 On 12 nov, 14:52, Damien Picard picard.dam...@gmail.com wrote:
  Hi,
 
  I'm trying to understand the DeferredCommand.addPause function (with
  gwt-2-ms1).
  I wrote this sample :
 
  Button bouton = new Button(attente);
  bouton.addClickHandler(new ClickHandler(){
  @Override
  public void onClick(ClickEvent event) {
  DeferredCommand.addCommand(new Command(){
  @Override
  public void execute() {
  GWT.log(Deferred command 1, null);
  }
  });
  DeferredCommand.addPause();
  DeferredCommand.addCommand(new Command(){
  @Override
  public void execute() {
  GWT.log(Deferred command 2, null);
  }
  });
 
  GWT.log(Event ends, null);
  }
  });
  RootPanel.get(sendButtonContainer).add(bouton);
 
  In my mind, the pause added between the two deferred command would stop
  executing the queue until another event is handled. Then, a log like that
  should be :
  {First clic on button}
  [INFO] Event ends
  [INFO] Deferred command 1
  {second clic and next ones}
  [INFO] Event ends
  [INFO] Deferred command 2
  [INFO] Deferred command 1
 
  but I get this log :
  [INFO] Event ends
  [INFO] Deferred command 1
  [INFO] Deferred command 2
 
  So, I haven't understand exactly what is a pause. Could somebody explain
 me
  where I'm wrong ?

 addPause semantics actually is let the browser do its things (such as
 refreshing the display or handling events).

 DeferredCommand's are batched together and executed in a single run,
 until the next pause.
 If a run of commands takes long enough so that you can generate
 events (e.g. click), then those click events are likely to be
 processed during the pause: try doing some expensive work in the
 first deferred command (such as creating and appending 1000 DOM
 elements to the document; you can try also with a Window.alert()) and
 generate a second click event during this time (before dismissing the
 alert, if you shows Window.alert) and you should see:
 [INFO] Event ends
 [INFO] Deferred command 1
 [INFO] Event ends
 [INFO] Deferred command 2
 [INFO] Deferred command 1
 [INFO] Deferred command 2
 Similarly, if you update the display (e.g. show/hide widgets or text),
 it'll only be refreshed on screen during the pause: try showing/
 hiding a widget in the first command and then show an alert
 (Window.alert), and show an alert in the second command, you log
 should be (annotated):
 [INFO] Event ends
 [INFO] Deferred command 1
 // alert, notice that the display hasn't changed
 [INFO] Deferred command 2
 // alert, and now the display has changed

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=.





-- 
Damien Picard
Open Source BPM : http://code.google.com/p/osbpm

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Does code split real shrink the inital download?

2009-11-12 Thread Edgenius
Finally, I chop one class from my bloat code by code splitting
function. The class is a dialog box, about 100 lines code.
Unfortunately,  the result looks funny:

Before splitting: Full code size: 868323
After splittting:  Initial download size: 871391 Full code size:
874615


It looks Gwt.runAsync() increases my code a little bit Need do
further investigate... Any comments are welcome.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Re: How do I display a TreeItem in a Tree with all its children being displayed?

2009-11-12 Thread Saj
Okay, I got it:
root.setState(true, true);


On Nov 12, 7:13 pm, Saj sajeevba...@gmail.com wrote:
 Hi All,

 I have one Tree with a TreeItem root.  root has several child
 items.  The default is the children of root not being displayed.  In
 other words root is closed.

 How do I display root being open with its children being displayed.
 I thought that if I add the line  root.setState(true); that this
 would do the trick but no luck.  Any ideas.   My simple OnModuleLoad
 code from the example follows below.

 Thanks.
 Saj

 public void onModuleLoad() {
 RootPanel rootPanel = RootPanel.get();
 TreeItem root = new TreeItem(root);
 root.setState(true);
 root.addItem(item0);
 root.addItem(item1);
 root.addItem(item2);

 // Add a CheckBox to the tree
 TreeItem item = new TreeItem(new CheckBox(item3));
 item.setVisible(true);

 root.addItem(item);
 Tree t = new Tree();
 t.addItem(root);
 rootPanel.add(t);

 }

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




[gwt-contrib] FixCompoundAssignmentNarrowing

2009-11-12 Thread cromwellian
Reviewers: Lex,

Description:
Operations like i += d where i is an int and d is a double are not
properly truncated (narrowed) to the LHS type. This patch forces i += d
to be written as i = i + d, and applies a narrowing cast as needed, e.g.
i = (int)(i + d);



Please review this at http://gwt-code-reviews.appspot.com/102811

Affected files:
   dev/core/src/com/google/gwt/dev/jjs/impl/CompoundAssignmentNormalizer.java

dev/core/src/com/google/gwt/dev/jjs/impl/PostOptimizationCompoundAssignmentNormalizer.java


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Fix handling of local classes

2009-11-12 Thread jat
Reviewers: Dan Rice,

Description:
This patch fixes a few problems when dealing with local classes (those
defined inside a method):
  - local classes inside a static method do not have a
synthetic constructor arg passing the containing
instance, as there isn't one
  - JSORestrictionsChecker fails on local classes because the
constant pool name can be null
  - we were doing work dealing with heuristics that would
not matter ultimately as we will toss local classes from
TypeOracle anyway

In addition, I cleaned up some naming, comments, and formatting.

Please review this at http://gwt-code-reviews.appspot.com/102812

Affected files:

/src/gwt-trunk/dev/core/src/com/google/gwt/dev/javac/JSORestrictionsChecker.java
   dev/core/src/com/google/gwt/dev/javac/TypeOracleMediator.java
   dev/core/src/com/google/gwt/dev/javac/asm/CollectClassData.java
   dev/core/src/com/google/gwt/dev/javac/asm/CollectMethodData.java
   dev/core/test/com/google/gwt/dev/javac/TypeOracleMediatorTest.java
   dev/core/test/com/google/gwt/dev/javac/asm/CollectClassDataTest.java


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r6869 committed - Fix line endings and MIME types....

2009-11-12 Thread codesite-noreply
Revision: 6869
Author: j...@google.com
Date: Thu Nov 12 05:54:31 2009
Log: Fix line endings and MIME types.

Patch by: jat
Review by: scottb (TBR)

http://code.google.com/p/google-web-toolkit/source/detail?r=6869

Deleted:
  /releases/2.0/dev/core/src/com/google/gwt/dev/javac/impl
Modified:
   
/releases/2.0/dev/core/src/com/google/gwt/dev/javac/CompilationStateBuilder.java
   
/releases/2.0/dev/core/src/com/google/gwt/dev/javac/CompilationUnitBuilder.java
   
/releases/2.0/dev/core/src/com/google/gwt/dev/javac/CompilationUnitImpl.java
  /releases/2.0/dev/core/src/com/google/gwt/dev/javac/ContentId.java
   
/releases/2.0/dev/core/src/com/google/gwt/dev/javac/ErrorCompilationUnit.java
  /releases/2.0/dev/core/src/com/google/gwt/dev/javac/GeneratedUnit.java
   
/releases/2.0/dev/core/src/com/google/gwt/dev/javac/InvalidCompilationUnit.java
  /releases/2.0/dev/core/src/com/google/gwt/dev/javac/JavaSourceParser.java
  /releases/2.0/dev/core/src/com/google/gwt/dev/javac/Resolver.java
   
/releases/2.0/dev/core/src/com/google/gwt/dev/javac/TypeParameterLookup.java
   
/releases/2.0/dev/core/src/com/google/gwt/dev/javac/asm/CollectAnnotationData.java
   
/releases/2.0/dev/core/src/com/google/gwt/dev/javac/asm/CollectClassData.java
   
/releases/2.0/dev/core/src/com/google/gwt/dev/javac/asm/CollectFieldData.java
   
/releases/2.0/dev/core/src/com/google/gwt/dev/javac/asm/CollectMethodData.java
   
/releases/2.0/dev/core/src/com/google/gwt/dev/javac/asm/CollectReferencesVisitor.java
   
/releases/2.0/dev/core/src/com/google/gwt/dev/javac/asm/CollectTypeParams.java
   
/releases/2.0/dev/core/src/com/google/gwt/dev/javac/asm/EmptySignatureVisitor.java
   
/releases/2.0/dev/core/src/com/google/gwt/dev/javac/asm/ResolveClassSignature.java
   
/releases/2.0/dev/core/src/com/google/gwt/dev/javac/asm/ResolveMethodSignature.java
   
/releases/2.0/dev/core/src/com/google/gwt/dev/javac/asm/ResolveTypeSignature.java
   
/releases/2.0/dev/core/test/com/google/gwt/dev/javac/CompilationStateTestBase.java
   
/releases/2.0/dev/core/test/com/google/gwt/dev/javac/JavaSourceParserTest.java
  /releases/2.0/dev/core/test/com/google/gwt/dev/javac/asm/AsmTestCase.java
   
/releases/2.0/dev/core/test/com/google/gwt/dev/javac/asm/CollectClassDataTest.java
   
/releases/2.0/dev/core/test/com/google/gwt/dev/javac/asm/CollectReferencesVisitorTest.java
   
/releases/2.0/dev/core/test/com/google/gwt/dev/javac/asm/ResolveGenericsTest.java
  /releases/2.0/dev/core/test/com/google/gwt/dev/javac/asm/TestHandler.java
  /releases/2.0/dev/core/test/com/google/gwt/dev/javac/asm/TestHandler1.java
  /releases/2.0/dev/core/test/com/google/gwt/dev/javac/asm/TestOuter0.java
  /releases/2.0/dev/core/test/com/google/gwt/dev/javac/asm/TestOuter1.java
  /releases/2.0/dev/core/test/com/google/gwt/dev/javac/asm/TestOuter2.java

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


  1   2   >