Re: Embedding a gadget into a UIObject/Panel within GWT

2009-12-09 Thread R.Domingo
Did you make any progress on this ? I would also like to know how to
embed gadgets in my app.

On Dec 4, 6:13 pm, mmedvinsky michail.medvin...@gmail.com wrote:
 Hi All,

 I am having difficulty embeddinggadgetscript tag with a UIObject in
 GWT.  Has anyone done this?  It seems obvious at first but I can not
 get it to wor for some reason.

 What I would like to do is to use GWT as a layoutcontainerfor
 gadgets and that means adding agadgetto acontainer, such as
 Panel.

 For example: thisgadget.

 script 
 src=\http://www.gmodules.com/ig/ifr?url=http://www.webblossoms.com/gge.xmlsynd=openw=300h=330tit...;/script

 Renders fine in the browser if I include it as a script tag directly
 into the page, however, it does not work from within GWT.

 I tried setting innerHTML, creating manual elements, etc.  Nothing
 works.

 Thank you for you help

--

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=en.




Re: Announcing GWT 2.0 and much, much more...

2009-12-09 Thread Olivier
Great news !

Thanks a lot for the great job.

Olivier

On 9 Dec 2009, at 04:13, Miguel Méndez wrote:

 Hi Folks!
 
 We have some very exciting announcements today.  Please check out the 
 following blog post that covers the GWT 2.0 SDK, Google Plugin for Eclipse, 
 and -- brand new in GWT 2.0 -- a performance analysis tool called Speed 
 Tracer.  I think that you will find it pretty interesting...
 
 http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-toolkit-20-now.html
 
 -- 
 Miguel on behalf of the GWT team
 
 --
 
 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=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=en.




Re: Client-Server communication

2009-12-09 Thread Flex
i got it working, this is my solution if someone has a similar problem
or can tell me a better way :)

public void javaFunc(String set) {
//do something
}

public native void createJS(Class x) /*-{
$wnd.jsFunc= function(set) { return x...@package.class::javaFunc
(Ljava/lang/String;)(set); };
}-*/;

if i call jsFunc in my browser, it calls the javaFunc void.

greetings flex

On 8 Dez., 11:58, Flex i...@felix-kalka.de wrote:
 Hello,
 here is my scenario:
 i am using FusionCharts that has a drilldown functionality. if you
 click on an element of the chart, fusioncharts calls a javascript
 function passing some (user defined) params. those params can include
 for example the id of the element just clicked.
 i need these parameters passed to the server and i dont really have an
 idea how to start.
 my first idea is, that i have to define a javascript-object in gwt and
 append some kind of valuechangelistener to it so that i receive an
 event if the object gets modified by the function called by
 fusioncharts. im not sure if you can realize something like that with
 gwt, at least i am not able to realize it atm :)
 i would be thankfull for any tips :)
 greetings flex

--

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=en.




Re: Announcing GWT 2.0 and much, much more...

2009-12-09 Thread Thomas Broyer

On Dec 9, 4:13 am, Miguel Méndez mmen...@google.com wrote:
 Hi Folks!

 We have some very exciting announcements today.  Please check out the
 following blog post that covers the GWT 2.0 SDK, Google Plugin for Eclipse,
 and -- brand new in GWT 2.0 -- a performance analysis tool called Speed
 Tracer.  I think that you will find it pretty interesting...

 http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-t...

Just the day we're about to release a new version of our app, so we
can release it on an officially stable release! ;-)

Congrats!

--

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=en.




Re: Is it possible to compile java swing application in GWT?

2009-12-09 Thread Olivier Gérardin
I also doubt it will ever exist, one of the reason being that Swing
uses multi-threading and you now that JavaScript has strong
limitations on this.

AjaxSwing looks like a much more realistic way to achieve the same
result through a completely different approach. it doesn't do any code
migration, the Swing app runs unmodified and AjaxSwing acts as a
runtime proxy. I gave it a try and it's very impressive. I don't know
how this would work on a real world Swing app, though.

Olivier

On Dec 8, 9:52 am, Vikas vikas.m.ya...@gmail.com wrote:
 Hi all,

 I know this is not possible in plain gwt, but I'm just curious to know
 that is there any add-on tools by using we can translate swing
 application to GWT compatible code?

 We feel there must be something because reason behind developing GWT
 application in java is that already there are so many swing based
 application which are now want to migrate web based.

 I've already tried AjaxSwing which is completely different framework.

 Thanks,
 Vikas

--

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=en.




Re: Anchor.wrap with GQuery

2009-12-09 Thread Thomas Broyer


On Dec 9, 7:58 am, jd jdpatter...@gmail.com wrote:
 Hi,

 I am using GQuery to return elements that I want to attach
 ClickHandlers to like this:

                 GQuery h2s = $(#header  h2  a);
                 Anchor lowestPriceAnchor = Anchor.wrap(h2s.get(0));

 But I am getting an exception:

 java.lang.AssertionError: A widget that has an existing parent widget
 may not be added to the detach list
     at com.google.gwt.user.client.ui.RootPanel.detachOnWindowClose
 (RootPanel.java:136)
     at com.google.gwt.user.client.ui.Anchor.wrap(Anchor.java:59)

 Does anyone know what I am going wrong here?

The element you're trying to wrap is a child of an element that's the
root element of a widget. A widget is supposed to control its
subtree, so wrapping a widget's child element in another widget is
prohibited, as the parent widget would be aware of 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=en.




Re: how to fire a change event on a textBox?

2009-12-09 Thread Thomas Broyer

On Dec 9, 5:56 am, Karan Sardana karansard...@gmail.com wrote:
 I'd like to manually fire a change event on a text box, and let the
 change handlers tap that event to do the needful.

 I tried using fireEvent(GwtEvent ? event) with no luck. We can't
 instantiate changeEvent, so how could I fire a change event ???

DomEvent.fireNativeEvent(Document.get().createChangeEvent(),
myTextBox);

or you could use the ValueChange event instead, which you can fire
programmatically using ValueChangeEvent.fire(...)

--

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=en.




Giving GWT another test drive

2009-12-09 Thread HB
Hey,
In the past I developed a GWT application for our client.
The application was built upon Spring Framework and Hibernate ORM.
While I love and adore GWT, I stopped using it for:
1. Building the interface in the code was a killer thing for me.
2. Difficulties marshelling Hibernate objects back to the client,
workarounds are so tedious and time consuming
GWT 2 looks refreshing to me, if Declarative User Interfaces
delivers what it says I will be definitely re-dive into GWT.
But what about integrating GWT with Spring/Hibernate? should I expect
the same awful issues or things are better now?
Thanks GWT, you rocks.

--

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=en.




Re: Announcing GWT 2.0 and much, much more...

2009-12-09 Thread Mohamed Mansour
How did you guys manage to get it work? I downloaded brand new
eclipse, and within Install New Software I added:
http://dl.google.com/eclipse/plugin/3.5

When I press next (after I apply a check to Plugins/SDK) it gives me
this error:

Cannot complete the install because one or more required items could
not be found.
  Software being installed: Google Plugin for Eclipse 3.5
1.2.0.v200912062003
(com.google.gdt.eclipse.suite.e35.feature.feature.group
1.2.0.v200912062003)
  Missing requirement: Google Plugin for Eclipse 3.5
1.2.0.v200912062003
(com.google.gdt.eclipse.suite.e35.feature.feature.group
1.2.0.v200912062003) requires 'org.eclipse.wst.validation 0.0.0' but
it could not be found

Where do I get those plugins?

On Dec 9, 4:47 am, Thomas Broyer t.bro...@gmail.com wrote:
 On Dec 9, 4:13 am, Miguel Méndez mmen...@google.com wrote:

  Hi Folks!

  We have some very exciting announcements today.  Please check out the
  following blog post that covers the GWT 2.0 SDK, Google Plugin for Eclipse,
  and -- brand new in GWT 2.0 -- a performance analysis tool called Speed
  Tracer.  I think that you will find it pretty interesting...

 http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-t...

 Just the day we're about to release a new version of our app, so we
 can release it on an officially stable release! ;-)

 Congrats!

--

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=en.




Re: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadException

2009-12-09 Thread Henry
I've these jars in the built path of the eclipse:

commons-codec-1.4.jar
commons-fileupload-1.2.1.jar
commons-io-1.4.jar

The project on the eclipse compiles without problems, but when im
trying to run it on hostmode or deploying it at Google App Engine this
classes are not found...probably i've to put this jars to another
place or configure something to allow found them running the
application, but I don't know where.

On Dec 9, 1:28 am, charlie charlie.f...@gmail.com wrote:
 Err, haven't .

 On Tue, Dec 8, 2009 at 7:28 PM, charlie charlie.f...@gmail.com wrote:
  You have mentioned that you have the commons FileUpload jar in WEB-INF/lib
  , you're positive that it's there and getting deployed ?

  On Tue, Dec 8, 2009 at 6:42 PM, Henry enricrequ...@gmail.com wrote:

  Hi Guys,

  I'm trying to upload a file to the server following the common
  examples of FileUpload and I have the following error:

  java.lang.NoClassDefFoundError: org/apache/commons/fileupload/
  FileUploadException
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
         at java.lang.Class.getConstructor0(Class.java:2671)
         at java.lang.Class.newInstance0(Class.java:321)
         at java.lang.Class.newInstance(Class.java:303)
         at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
         at org.mortbay.jetty.servlet.ServletHolder.getServlet
  (ServletHolder.java:339)
         ...

  I can put my code, but the problem is in the server side, concretely
  when I use the classes that required from the package commons-
  fileupload.jar, for example this import:

      import org.apache.commons.fileupload.FileUploadException;

  Im running the application in host mode, but ive tried to deploy it to
  Google App Engine, and i've the same error. If I dont use that package
  in my server class the calls work good, so the problem must to be king
  of configuration about classpath or something...

  Does anyone know how to configure my eclipse to fix this error?

  Thanks 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.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=en.




Re: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadException

2009-12-09 Thread bch...@gmail.com
As the previous post mentioned, these jar files should be in your war
application's WEB-INF/lib director.



On Dec 9, 6:52 pm, Henry enricrequ...@gmail.com wrote:
 I've these jars in the built path of the eclipse:

     commons-codec-1.4.jar
     commons-fileupload-1.2.1.jar
     commons-io-1.4.jar

 The project on the eclipse compiles without problems, but when im
 trying to run it on hostmode or deploying it at Google App Engine this
 classes are not found...probably i've to put this jars to another
 place or configure something to allow found them running the
 application, but I don't know where.

 On Dec 9, 1:28 am, charlie charlie.f...@gmail.com wrote:

  Err, haven't .

  On Tue, Dec 8, 2009 at 7:28 PM, charlie charlie.f...@gmail.com wrote:
   You have mentioned that you have the commons FileUpload jar in WEB-INF/lib
   , you're positive that it's there and getting deployed ?

   On Tue, Dec 8, 2009 at 6:42 PM, Henry enricrequ...@gmail.com wrote:

   Hi Guys,

   I'm trying to upload a file to the server following the common
   examples of FileUpload and I have the following error:

   java.lang.NoClassDefFoundError: org/apache/commons/fileupload/
   FileUploadException
          at java.lang.Class.getDeclaredConstructors0(Native Method)
          at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
          at java.lang.Class.getConstructor0(Class.java:2671)
          at java.lang.Class.newInstance0(Class.java:321)
          at java.lang.Class.newInstance(Class.java:303)
          at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
          at org.mortbay.jetty.servlet.ServletHolder.getServlet
   (ServletHolder.java:339)
          ...

   I can put my code, but the problem is in the server side, concretely
   when I use the classes that required from the package commons-
   fileupload.jar, for example this import:

       import org.apache.commons.fileupload.FileUploadException;

   Im running the application in host mode, but ive tried to deploy it to
   Google App Engine, and i've the same error. If I dont use that package
   in my server class the calls work good, so the problem must to be king
   of configuration about classpath or something...

   Does anyone know how to configure my eclipse to fix this error?

   Thanks 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.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=en.




Re: Announcing GWT 2.0 and much, much more...

2009-12-09 Thread gwtfanb0y
Try the Spring Source Tool Suite, works fine on my machine.

@GWT-Team
Thx for this amazing work!


On 9 Dez., 11:30, Mohamed Mansour m0.interact...@gmail.com wrote:
 How did you guys manage to get it work? I downloaded brand new
 eclipse, and within Install New Software I 
 added:http://dl.google.com/eclipse/plugin/3.5

 When I press next (after I apply a check to Plugins/SDK) it gives me
 this error:

 Cannot complete the install because one or more required items could
 not be found.
   Software being installed: Google Plugin for Eclipse 3.5
 1.2.0.v200912062003
 (com.google.gdt.eclipse.suite.e35.feature.feature.group
 1.2.0.v200912062003)
   Missing requirement: Google Plugin for Eclipse 3.5
 1.2.0.v200912062003
 (com.google.gdt.eclipse.suite.e35.feature.feature.group
 1.2.0.v200912062003) requires 'org.eclipse.wst.validation 0.0.0' but
 it could not be found

 Where do I get those plugins?

 On Dec 9, 4:47 am, Thomas Broyer t.bro...@gmail.com wrote:



  On Dec 9, 4:13 am, Miguel Méndez mmen...@google.com wrote:

   Hi Folks!

   We have some very exciting announcements today.  Please check out the
   following blog post that covers the GWT 2.0 SDK, Google Plugin for 
   Eclipse,
   and -- brand new in GWT 2.0 -- a performance analysis tool called Speed
   Tracer.  I think that you will find it pretty interesting...

  http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-t...

  Just the day we're about to release a new version of our app, so we
  can release it on an officially stable release! ;-)

  Congrats!

--

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=en.




Re: Announcing GWT 2.0 and much, much more...

2009-12-09 Thread mariyan nenchev
Hi,

very good job. Congratulations about the fast work.

And is there a maven repository that has gwt libs?

Regards.

--

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=en.




Re: Giving GWT another test drive

2009-12-09 Thread P.G.Taboada
Really, you don't want your hibernate lazy loading instances in the
UI.

But, if your only problem is coding and using a dedicated ui model, I
am really happy for you.

I am using gwt-dispatch and creating command-dedicated models for my
ui.

Never been happier.

brgds,

Papick G. Taboada

On 9 Dez., 11:25, HB hubaghd...@gmail.com wrote:
 Hey,
 In the past I developed a GWT application for our client.
 The application was built upon Spring Framework and Hibernate ORM.
 While I love and adore GWT, I stopped using it for:
 1. Building the interface in the code was a killer thing for me.
 2. Difficulties marshelling Hibernate objects back to the client,
 workarounds are so tedious and time consuming
 GWT 2 looks refreshing to me, if Declarative User Interfaces
 delivers what it says I will be definitely re-dive into GWT.
 But what about integrating GWT with Spring/Hibernate? should I expect
 the same awful issues or things are better now?
 Thanks GWT, you rocks.

--

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=en.




TabLayoutPanel css

2009-12-09 Thread P.G.Taboada
I can't believe that

 - gwt 2.0 is out,
 - we have the old themes instead of injectable client bundles,
 - TabLayoutPanel does not have a default css in the standard theme.

I know GWT is not eye candy but all about software engineering, but
would it have been too much to add a simple implementation for us to
be able to use the components out of the box?

Is it on the pipeline for 2.0.0.1 or are you serious about this? Just
wondering.

brgds,

Papick G. Taboada

--

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=en.




Intellij idea + multiple modules

2009-12-09 Thread Thomas Matthijs
Hey,

Question to everyone using gwt with intellij
Since it doesn't support selecting which modules to compile[1],
how do you deal with multiple modules, and/or development modules[2]
to keep permutations down?

Getting a bit tired of comment/uncommenting things in my gwt module xml.

If you want this feature in intellij please vote for this bug:
http://youtrack.jetbrains.net/issue/IDEA-18674
(The little box under the bug title, next to the star, hard to spot)

Thanks

[1] http://www.jetbrains.net/devnet/thread/285577
[2] 
http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideModuleXml

--

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=en.




Re: Anchor.wrap with GQuery

2009-12-09 Thread John Patterson

On 9 Dec 2009, at 16:59, Thomas Broyer wrote:

 The element you're trying to wrap is a child of an element that's the
 root element of a widget. A widget is supposed to control its
 subtree, so wrapping a widget's child element in another widget is
 prohibited, as the parent widget would be aware of it.

My question is _why_ is this element already owned and what can be  
done about 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=en.




MVP, GIN, UiBinder

2009-12-09 Thread P.G.Taboada
Hi,

as many other GWT developers I really like the above mentioned
approaches.

I am having a little bit of pain when it comes down to embedding views
into views. UiBinder and GIN don't play well together, I am struggling
with ugly locator pattern usages to create my sub/ embedded views. My
code is now full of //WORKAROUND task tags, hoping to get it solved
somehow someday.

But that is the point: at which direction should I look? MVP tells me
to have views injected into my presenter, really nice. UiBinder on the
other hand needs the views, would create them properly, but then they
would not be available to GIN (compile-time vs. runtime).

If my feeling is right, we would need some way to hook up into the
UIBinder, providing a GIN based MVP resolver, quite similar to the
variable resolvers people use in JSF to get hands on Spring beans from
JSF. But as far I can see, UiBinder does not provide such extension
point.

Any thoughts here?

brgds,

Papick G. Taboada



--

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=en.




Install Speed Tracer on the Mac?

2009-12-09 Thread Jim Douglas
I'm feeling a bit dense -- I see instructions here for installing
Speed Tracer on Windows, but no Mac instructions:

http://code.google.com/webtoolkit/speedtracer/get-started.html#downloading

But there are Mac screen shots on this page, so I'm assuming it's
supposed to work.  What am I missing here?  Specifically, what's the
Mac way to add the --enable-extension-timeline-api option to Chrome?

Jim.

--

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=en.




GWT Chat applications

2009-12-09 Thread abhiram
Hi All,

   Can someone tell me which is the best (and convenient) method to
implement a chat application for my web page using GWT?

  I believed using the comet.jar would be neat but had lot of problem
implementin it. Can you please tell me which is the best possible
approach? with any working examples / links?

~ Abhiram

--

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=en.




Re: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadException

2009-12-09 Thread Henry
Oks :-), but running gwt in host mode, do where I've to move this jar
files? Where is placed the internal tomcat shipped with GWT?
Or I've to configure something else in the eclipse or in the GWT
project to be able to run in host mode?

On 9 Dec, 11:16, bch...@gmail.com bch...@gmail.com wrote:
 As the previous post mentioned, these jar files should be in your war
 application's WEB-INF/lib director.

 On Dec 9, 6:52 pm, Henry enricrequ...@gmail.com wrote:

  I've these jars in the built path of the eclipse:

      commons-codec-1.4.jar
      commons-fileupload-1.2.1.jar
      commons-io-1.4.jar

  The project on the eclipse compiles without problems, but when im
  trying to run it on hostmode or deploying it at Google App Engine this
  classes are not found...probably i've to put this jars to another
  place or configure something to allow found them running the
  application, but I don't know where.

  On Dec 9, 1:28 am, charlie charlie.f...@gmail.com wrote:

   Err, haven't .

   On Tue, Dec 8, 2009 at 7:28 PM, charlie charlie.f...@gmail.com wrote:
You have mentioned that you have the commons FileUpload jar in 
WEB-INF/lib
, you're positive that it's there and getting deployed ?

On Tue, Dec 8, 2009 at 6:42 PM, Henry enricrequ...@gmail.com wrote:

Hi Guys,

I'm trying to upload a file to the server following the common
examples of FileUpload and I have the following error:

java.lang.NoClassDefFoundError: org/apache/commons/fileupload/
FileUploadException
       at java.lang.Class.getDeclaredConstructors0(Native Method)
       at 
java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
       at java.lang.Class.getConstructor0(Class.java:2671)
       at java.lang.Class.newInstance0(Class.java:321)
       at java.lang.Class.newInstance(Class.java:303)
       at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
       at org.mortbay.jetty.servlet.ServletHolder.getServlet
(ServletHolder.java:339)
       ...

I can put my code, but the problem is in the server side, concretely
when I use the classes that required from the package commons-
fileupload.jar, for example this import:

    import org.apache.commons.fileupload.FileUploadException;

Im running the application in host mode, but ive tried to deploy it to
Google App Engine, and i've the same error. If I dont use that package
in my server class the calls work good, so the problem must to be king
of configuration about classpath or something...

Does anyone know how to configure my eclipse to fix this error?

Thanks 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.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=en.




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

2009-12-09 Thread Luis Fernando Planella Gonzalez
Sorry for taking so long to answer, but I haven't seen your post
before.
We haven't yet done any larger performance test, but it is very
acceptable.
Yesterday, in a first no-brainer attempt of GWT.runAsync(), I've
managed to get a 650K initial download and then a separate file per
module (for now, modules varies from few K to 180K).
I'll still try to reduce both the initial download and the modules.
It does takes more time to compile now. That's an issue to me as I
can't use the built-in server: we use EJB, so there's an external
server. Whenever anything changes in RPC (params, methods, even
classes) we need to recompile :-/
I still didn't implement gzip compression, but hope things can get
much better...
Ah, about IE6: as our app is targeted to late 2010, we won't support
IE6 \o/
--
Luis Fernando Planella Gonzalez

On 16 nov, 12:19, Bakul bakul.ku...@gmail.com wrote:
 Hi,

 Our app,  50 -55 % done so far, for one browser is nearly 1.6 MB
 without gzip. And it has nearly 70 -80 RPC calls.

 Luis, Question for you:
 As you said your app is 2.1 MB of obfuscated, how is the preformance
 and does it has any issue?

 Question to all:
 What is the max size that of GWT one module that a browser can handle
 without any issue, specially IE 6, in our case :-(         ?

 Thanks,
 Bakul.

--

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=en.




Maven build error with GWT application (file not found)

2009-12-09 Thread manish panwar
I am building GWT application in Linux box, and getting following
error.
Please note my project gets build successfully in Windows.
Here AdminHome.gwt.xml is my GWT config file, and I am able to see
this file in my directory.

I am attaching my POM file and GWT config XML file.

[exec] [INFO] Copying 2 resources to
 [exec] [INFO]

 [exec] [ERROR] BUILD ERROR
 [exec] [INFO]

 [exec] [INFO] /com/ihg/apps/easymeetings/admin/gwt/
AdminHome.gwt.xml (No such file or directory)

 [exec] [INFO]

 [exec] [INFO] Trace
 [exec] org.apache.maven.lifecycle.LifecycleExecutionException: /
com/ihg/apps/easymeetings/admin/gwt/AdminHome.gwt.xml (No such
file or directory)
 [exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:584)
 [exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:500)
 [exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java:479)
 [exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:33
1)
 [exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
(DefaultLifecycleExecutor.java:292)
 [exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLifecycleExecutor.java:142)
 [exec] at org.apache.maven.DefaultMaven.doExecute
(DefaultMaven.java:336)
 [exec] at org.apache.maven.DefaultMaven.execute
(DefaultMaven.java:129)
 [exec] at org.apache.maven.cli.MavenCli.main(MavenCli.java:
301)
 [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
 [exec] at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
 [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)

--

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=en.




GWT using domain models /services from external module (jar) ?

2009-12-09 Thread ashika umanga
Greetings,

We have been using our reusable user-management module which was
written using Spring/Hibernate(using Doman-Model Pattern).We have used
that module in several project integrating with Wicket,JSP and ZK
frameworks. Now I am going to develop an application using GWT.I am
completely new to GWT and I noticed that the domain objects should go
inside xxx..client package. But I want to use our reusable
module (jar) and the domain model is in completely different package.
How can I use my domain-model object from this external library in
GWT? How about service interfaces? Do I have to write proxies for them
too?

thanks 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=en.




HtmlUnit seemly can not run JavaScript(GWT) on GoogleCodeSearch pages

2009-12-09 Thread Phan The Dai
Hi everyone,
I am trying using HtmlUnit for parsing and checking a
GoogleCodeSearch's Url, for example
Url = http://google.com/codesearch/p?hl=en#BDMVBjMQ9dM/developer/
technicalArticles/jini/javaspaces/HelloWorld.zip|0GBefwhg-XQ/
HelloWorld.javaq=HelloWorld%20lang:java

But I could not get the content as that is displaying on the Web.
In the data (page.asXml) that HtmlUnit returned, I could not find
where content of file HelloWorld.java is.

This is my code:
final WebClient webClient = new WebClient();
webClient.setJavaScriptEnabled(true);
final HtmlPage page = webClient.getPage(Url);
webClient.waitForBackgroundJavaScriptStartingBefore(1)
System.out.println(page.asXml);

I think HtmlUnit can not run some JavaScripts on the GoogleCodeSearch
Webpages which use GWT for create scripts.
It is right? Please show me some solution for this situation!
Thanks much!

Regards,
Dai Phan

--

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=en.




GWT Hosted Mode

2009-12-09 Thread brett9897
I have a strange issue.  I have no errors and no runtime errors occur
when loading but nothing but the html shows up in hosted mode.  A test
project works just fine but, in order to use my project I have to
compile it.  I am using App Engine 1.2.8 and GWT 1.7.1.  If you could
let me know of any additional information that would be helpful I will
gladly give 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=en.




MouseOver with previous MouseDown - problem in IE

2009-12-09 Thread mh
Hi,
I've created a Composite, consisting of a Panel and a FlexTable, along
with another Composite, consisting of a Panel and an Image, which was
supposed to be put in the FlexTable.

I wanted to create a simple dragging mechanism for the selection - so,
to each cell composite have mouse handlers.

The thing works fine in all the browsers, except for the IE.

When the mouse button is down, the proper cell's MouseDownHandler is
triggered. When the mouse button is still down, and the mouse is being
moved over another cell, the MouseOverHandler is triggered, however,
for the cell that had had the MouseDown.

Is it the issue of the GWT, or I am doing something wrong?

Regards,
mh

--

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=en.




Nesting layouts with gwt 2.0

2009-12-09 Thread P.G.Taboada
Hi,

I am having trouble with nesting layouts.

My nested layout is:

DockLayoutPanel (main window)
   TabLayoutPanel (tabs for modules on the main window)
   Simple Hello World Tab (nothing special, fast forward pls)
   SomeTreeBasedPanel (ok, here trouble begins)
   DockLayoutPanel
   west: tree
   center: scrollpanel


In my app I need to select a node on the tree and get some content
displayed on the center area of the dock panel.

The nested DockPanel in the scrollpanel is not rendering properly and
I can't figure it out why.

I have uploaded the compiled app to:

http://static.pgt.de/nestedlayouts/NestedLayouts.html

The zipfile with the project is here:

http://static.pgt.de/nestedlayouts/NestedLayouts.zip

A screenshot of the app is here:

http://static.pgt.de/nestedlayouts/nestedlayout.png


Hope someone can help me out here,

brgds

Papick G. Taboada



--

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=en.




Please Post ListView of Images display.

2009-12-09 Thread Pruthvi Raj
Hi,
I am seeing the listview of images in the demo program, but i strucking in
so many places, so please post some easy code, to explain the listview of
images.

thanks in advance.

-- 
Thank You,
Pruthvi Raj G.R,

--

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=en.




Re: Install Speed Tracer on the Mac?

2009-12-09 Thread P.G.Taboada
As far as I understood there is no way to install extensions on the
Mac Chrome, so we are left out of the fun stuff for now.

On 9 Dez., 13:11, Jim Douglas jdoug...@basis.com wrote:
 I'm feeling a bit dense -- I see instructions here for installing
 Speed Tracer on Windows, but no Mac instructions:

 http://code.google.com/webtoolkit/speedtracer/get-started.html#downlo...

 But there are Mac screen shots on this page, so I'm assuming it's
 supposed to work.  What am I missing here?  Specifically, what's the
 Mac way to add the --enable-extension-timeline-api option to Chrome?

 Jim.

--

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=en.




Re: GWT Chat applications

2009-12-09 Thread P.G.Taboada
I personally would not push the messages from the server, but have the
clients polling.

The rest is server-side coding. What backend are you targeting?
Don't forget that you will have to handle thread-safety issues on the
server side.

brgds,

Papick G. Taboada


On 9 Dez., 13:13, abhiram abhir...@gmail.com wrote:
 Hi All,

    Can someone tell me which is the best (and convenient) method to
 implement a chat application for my web page using GWT?

   I believed using the comet.jar would be neat but had lot of problem
 implementin it. Can you please tell me which is the best possible
 approach? with any working examples / links?

 ~ Abhiram

--

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=en.




Re: Nesting with SplitLayout and DockLayout panels

2009-12-09 Thread P.G.Taboada
I created a new thread with project, screenshot and link to a deployed
sample:


http://groups.google.com/group/google-web-toolkit/browse_thread/thread/c39b58f5d1c446f9#

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=en.




Re: GWT Chat applications

2009-12-09 Thread abhiram wuntakal
But, client side polling would make the system slow right? and how to do I
decide the frequency of polling?

Backend is pure Java with the database interaction thru hibernate.

~ Abhi

On Wed, Dec 9, 2009 at 7:18 PM, P.G.Taboada pgtabo...@googlemail.comwrote:

 I personally would not push the messages from the server, but have the
 clients polling.

 The rest is server-side coding. What backend are you targeting?
 Don't forget that you will have to handle thread-safety issues on the
 server side.

 brgds,

 Papick G. Taboada


 On 9 Dez., 13:13, abhiram abhir...@gmail.com wrote:
  Hi All,
 
 Can someone tell me which is the best (and convenient) method to
  implement a chat application for my web page using GWT?
 
I believed using the comet.jar would be neat but had lot of problem
  implementin it. Can you please tell me which is the best possible
  approach? with any working examples / links?
 
  ~ Abhiram

 --

 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=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=en.




Re: Announcing GWT 2.0 and much, much more...

2009-12-09 Thread Arthur Kalmenson
Congratulations to the whole team, awesome job!

--
Arthur Kalmenson



2009/12/8 Miguel Méndez mmen...@google.com:
 Hi Folks!
 We have some very exciting announcements today.  Please check out the
 following blog post that covers the GWT 2.0 SDK, Google Plugin for Eclipse,
 and -- brand new in GWT 2.0 -- a performance analysis tool called Speed
 Tracer.  I think that you will find it pretty interesting...
 http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-toolkit-20-now.html
 --
 Miguel on behalf of the GWT team

 --

 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=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=en.




Re: Strange scroll behaviour of ScrollPanel

2009-12-09 Thread romant
Ok I got it work, in case anyone is interested - to simulate the
common FAQ page behaviour the simplest approach seems to be setting
the scroll position of a ScrollPanel like this:

int pos = panelToShow.getAbsoluteTop() - scrollPanel.getAbsoluteTop();
scrollPanel.setScrollPosition(pos);

panelToShow is one of many panels placed in a ScrollPanel.





On 29 lis, 16:53, romant roman.te...@gmail.com wrote:
 Hi,
 I tried to implement a widget which would realize the commonly used
 FAQ page approach (which means questions as links situated at the top
 and answers below, when a link is clicked the panel scrolls at the
 correct position to show the corresponding answer).

 I expected that using ScollPanel and its ensureVisible() method will
 do the job. It does actually but in a very strange way. I would expect
 that when one of the top links is clicked thescrollpanelwill scroll
 so that the corresponding answer will be aligned right at the top of
 the visiblescrollpanel'sarea. But it is not and I have no idea why.
 It seems that the position of the element which is desired to be
 visible is rather random.

 Have a try herehttp://romant1.sweb.cz/gwt/AppFaq.html

 Did anyone experience this?
 Is even possible in GWT to implement the same functionality which the
 classic html tag a name=jump_here/ provides?
 Thnx.

 P.S. Here is the java source code.

 package my.gwt.client;

 import java.util.HashMap;

 import com.google.gwt.core.client.EntryPoint;
 import com.google.gwt.event.dom.client.ClickEvent;
 import com.google.gwt.event.dom.client.ClickHandler;
 import com.google.gwt.user.client.ui.Composite;
 import com.google.gwt.user.client.ui.FlowPanel;
 import com.google.gwt.user.client.ui.HTML;
 import com.google.gwt.user.client.ui.RootPanel;
 import com.google.gwt.user.client.ui.ScrollPanel;

 public class AppFaq implements EntryPoint {

    public void onModuleLoad() {
            RootPanel.get().add(new AppFaqInner());
    }

    private class AppFaqInner extends Composite implements ClickHandler
 {

            private final String[] answers = {Lorem ipsum dolor sit amet,
 consectetur adipiscing elit. Pellentesque non magna eros, a mollis
 lacus. Vestibulum a turpis libero, et volutpat eros. In id risus vitae
 nunc vulputate adipiscing.,
                                                                               
    Sed mollis egestas est, vel ornare augue malesuada ut.
 Aliquam vulputate eros sit amet metus ultricies pellentesque. Vivamus
 a velit purus. Nam fringilla, lorem a dignissim venenatis, nibh metus
 posuere felis, ut euismod nisi enim sit amet erat.,
                                                                               
    Morbi nulla justo, fringilla nec hendrerit a, pharetra
 at libero. Sed id eros sapien, nec sagittis enim. Quisque viverra
 justo nec urna venenatis et vestibulum metus luctus. In aliquam lacus
 ac lacus placerat venenatis. Quisque et augue ante. Mauris ac nunc
 est. Mauris ac nunc est. Mauris ac nunc est. Mauris ac nunc est.
 Mauris ac nunc est.,
                                                                               
    Cras convallis orci congue massa pharetra et consequat
 nunc faucibus. Vestibulum sit amet ligula ut sem lacinia tempor.,
                                                                               
    Quisque fermentum condimentum suscipit. Phasellus
 sollicitudin, nibh non volutpat ornare, mi dolor facilisis diam, vitae
 aliquet nulla nisi eu tellus., +
                                                                               
    Suspendisse at nisi ante, nec dapibus erat. Etiam
 tincidunt lacus ac sem ultrices aliquet nec et erat. Vestibulum
 pretium lacus vitae velit adipiscing vitae fermentum quam tincidunt.
 Suspendisse quis massa ipsum. Duis ultricies malesuada posuere.,
                                                                               
    Suspendisse ultricies neque vitae nisl tempor sed
 fermentum mauris feugiat. ,
                                                                               
    Suspendisse ultricies neque vitae nisl tempor sed
 fermentum mauris feugiat. Suspendisse ultricies neque vitae nisl
 tempor sed fermentum mauris feugiat. };

            private finalScrollPanelscrollPanel;
            // maps the top question links to the corresponding answers
            private HashMapHTML, FlowPanel linkMap;

            public AppFaqInner() {
                scrollPanel= newScrollPanel(getFaqContent());
                scrollPanel.setStyleName(ScrollPanel);

                initWidget(scrollPanel);
            }

            private FlowPanel getFaqContent() {
                linkMap = new HashMapHTML, FlowPanel();

                FlowPanel content = new FlowPanel();
                FlowPanel linkPanel = new FlowPanel();
                content.add(linkPanel);

                for (int i=1; i 8; i++) {
                        // top question link
                        HTML link = new 

Re: Install Speed Tracer on the Mac?

2009-12-09 Thread Chris Ramsdale
Jim,

Checkout the following post for information on how to enable extensions on
Mac Chrome:

http://www.techcrunch.com/2009/12/08/install-chrome-extensions-mac/

- Chris

On Wed, Dec 9, 2009 at 7:11 AM, Jim Douglas jdoug...@basis.com wrote:

 I'm feeling a bit dense -- I see instructions here for installing
 Speed Tracer on Windows, but no Mac instructions:

 http://code.google.com/webtoolkit/speedtracer/get-started.html#downloading

 But there are Mac screen shots on this page, so I'm assuming it's
 supposed to work.  What am I missing here?  Specifically, what's the
 Mac way to add the --enable-extension-timeline-api option to Chrome?

 Jim.

 --

 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=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=en.




Re: GWT Chat applications

2009-12-09 Thread P.G.Taboada
Slow on what end?

Sure, pushing from server would lead to instant message delivery, but
I don't think it scales very well.
Do you know how may connections you can keep open?
You could change the polling rate depending on the load status of the
server, just a thought.


brgds,

Papick

On 9 Dez., 14:52, abhiram wuntakal abhir...@gmail.com wrote:
 But, client side polling would make the system slow right? and how to do I
 decide the frequency of polling?

 Backend is pure Java with the database interaction thru hibernate.

 ~ Abhi

 On Wed, Dec 9, 2009 at 7:18 PM, P.G.Taboada pgtabo...@googlemail.comwrote:



  I personally would not push the messages from the server, but have the
  clients polling.

  The rest is server-side coding. What backend are you targeting?
  Don't forget that you will have to handle thread-safety issues on the
  server side.

  brgds,

  Papick G. Taboada

  On 9 Dez., 13:13, abhiram abhir...@gmail.com wrote:
   Hi All,

      Can someone tell me which is the best (and convenient) method to
   implement a chat application for my web page using GWT?

     I believed using the comet.jar would be neat but had lot of problem
   implementin it. Can you please tell me which is the best possible
   approach? with any working examples / links?

   ~ Abhiram

  --

  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=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=en.




Re: Install Speed Tracer on the Mac?

2009-12-09 Thread P.G.Taboada
Hi,
thanks for the link.
Still, I did not manage to install the plugin. I indeed managed to
turn on the install plugin button, but it fails afterwards with a
plugin install not enabled dialog.

Did anyone succeed?

brgds,

Papick

On 9 Dez., 15:09, Chris Ramsdale cramsd...@google.com wrote:
 Jim,

 Checkout the following post for information on how to enable extensions on
 Mac Chrome:

 http://www.techcrunch.com/2009/12/08/install-chrome-extensions-mac/

 - Chris



 On Wed, Dec 9, 2009 at 7:11 AM, Jim Douglas jdoug...@basis.com wrote:
  I'm feeling a bit dense -- I see instructions here for installing
  Speed Tracer on Windows, but no Mac instructions:

 http://code.google.com/webtoolkit/speedtracer/get-started.html#downlo...

  But there are Mac screen shots on this page, so I'm assuming it's
  supposed to work.  What am I missing here?  Specifically, what's the
  Mac way to add the --enable-extension-timeline-api option to Chrome?

  Jim.

  --

  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=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=en.




Re: Announcing GWT 2.0 and much, much more...

2009-12-09 Thread Thomas Broyer


On Dec 9, 11:30 am, Mohamed Mansour m0.interact...@gmail.com wrote:
 How did you guys manage to get it work? I downloaded brand new
 eclipse, and within Install New Software I 
 added:http://dl.google.com/eclipse/plugin/3.5

 When I press next (after I apply a check to Plugins/SDK) it gives me
 this error:

 Cannot complete the install because one or more required items could
 not be found.
   Software being installed: Google Plugin for Eclipse 3.5
 1.2.0.v200912062003
 (com.google.gdt.eclipse.suite.e35.feature.feature.group
 1.2.0.v200912062003)
   Missing requirement: Google Plugin for Eclipse 3.5
 1.2.0.v200912062003
 (com.google.gdt.eclipse.suite.e35.feature.feature.group
 1.2.0.v200912062003) requires 'org.eclipse.wst.validation 0.0.0' but
 it could not be found

 Where do I get those plugins?

You seem to be missing the WST. See 
http://code.google.com/eclipse/docs/faq.html#wstinstallerror

--

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=en.




Re: Inconsistency (or a bug?) in application creation for GWT 2.0

2009-12-09 Thread Chris Ramsdale

 b) How can I make the compile-button work if creating the app with
 method 1)?


Once you have imported the project you'll need to update the project to Use
Google Web Toolkit (right click on the project-Google-Web Toolkit
Settings...

--

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=en.




Re: Anchor.wrap with GQuery

2009-12-09 Thread Thomas Broyer


On Dec 9, 12:48 pm, John Patterson jdpatter...@gmail.com wrote:
 On 9 Dec 2009, at 16:59, Thomas Broyer wrote:

  The element you're trying to wrap is a child of an element that's the
  root element of a widget. A widget is supposed to control its
  subtree, so wrapping a widget's child element in another widget is
  prohibited, as the parent widget would be aware of it.

 My question is _why_ is this element already owned and what can be  
 done about it.

First find the offending element (either set a breakpoint in
RootPanel::isElementChildOfWidget in DevMode, or look for a parent
element with a __listener property using whichever tool your like in
prod mode –Firebug, Web inspector, Developer Tools, etc.–), then try
to understand why it could be a widget already; but without seeing
your code it's impossible to help you further more...

--

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=en.




Re: MVP, GIN, UiBinder

2009-12-09 Thread Thomas Broyer


On Dec 9, 12:50 pm, P.G.Taboada pgtabo...@googlemail.com wrote:
 Hi,

 as many other GWT developers I really like the above mentioned
 approaches.

 I am having a little bit of pain when it comes down to embedding views
 into views. UiBinder and GIN don't play well together, I am struggling
 with ugly locator pattern usages to create my sub/ embedded views. My
 code is now full of //WORKAROUND task tags, hoping to get it solved
 somehow someday.

 But that is the point: at which direction should I look? MVP tells me
 to have views injected into my presenter, really nice. UiBinder on the
 other hand needs the views, would create them properly, but then they
 would not be available to GIN (compile-time vs. runtime).

 If my feeling is right, we would need some way to hook up into the
 UIBinder, providing a GIN based MVP resolver, quite similar to the
 variable resolvers people use in JSF to get hands on Spring beans from
 JSF. But as far I can see, UiBinder does not provide such extension
 point.

 Any thoughts here?

How about injecting your child views (or Providers) into your view
and then use @UiField(provided=true) to tell UiBinder you're providing
those widgets?

--

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=en.




RequestBuilder

2009-12-09 Thread charlie
I have a php page
http://the-charlie.com/artwork/index.php?artist=Kanye+Westalbum=Graduation,
that when I hit it directly gives me an image URL.

I have this code in my app

RequestBuilder builder = new RequestBuilder(RequestBuilder.GET,
http://the-charlie.com/artwork/index.php?artist=Kanye+Westalbum=Graduation;
);

try {
builder.sendRequest(, new RequestCallback() {

@Override
public void onResponseReceived(Request request,
Response response) {


Window.alert(response.getText() );
Window.alert(response.getHeadersAsString());
Window.alert(response.getStatusText() );

Window.alert(Integer.toString(response.getStatusCode()));
}

@Override
public void onError(Request request, Throwable
exception) {


}
});
} catch (RequestException e) {

e.printStackTrace();
}

}

Which is always returning null , with a status code of 200.

If my app runs on port 8080, is it a problem hitting a page on port 80 ( the
php page ) ?

Why would this constantly be returning blank ?

Thanks!
Charlie

--

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=en.




Re: Announcing GWT 2.0 and much, much more...

2009-12-09 Thread Rajeev Dayal
Hi,

When you were installing the plugin, did you have the option Contact All
Update Sites During Install to Find Required Software checked?

Our plugin has some dependencies on WST, and some installations of Eclipse
do not have them by default. However, the Galileo update site (which is
included in the list of default update sites) has these dependencies, and if
you have the option that I mentioned above selected when you install the
plugin, it will automatically grab them.

Let me know if this doesn't work for you.

Rajeev

On Wed, Dec 9, 2009 at 5:30 AM, Mohamed Mansour m0.interact...@gmail.comwrote:

 How did you guys manage to get it work? I downloaded brand new
 eclipse, and within Install New Software I added:
 http://dl.google.com/eclipse/plugin/3.5

 When I press next (after I apply a check to Plugins/SDK) it gives me
 this error:

 Cannot complete the install because one or more required items could
 not be found.
  Software being installed: Google Plugin for Eclipse 3.5
 1.2.0.v200912062003
 (com.google.gdt.eclipse.suite.e35.feature.feature.group
 1.2.0.v200912062003)
  Missing requirement: Google Plugin for Eclipse 3.5
 1.2.0.v200912062003
 (com.google.gdt.eclipse.suite.e35.feature.feature.group
 1.2.0.v200912062003) requires 'org.eclipse.wst.validation 0.0.0' but
 it could not be found

 Where do I get those plugins?

 On Dec 9, 4:47 am, Thomas Broyer t.bro...@gmail.com wrote:
  On Dec 9, 4:13 am, Miguel Méndez mmen...@google.com wrote:
 
   Hi Folks!
 
   We have some very exciting announcements today.  Please check out the
   following blog post that covers the GWT 2.0 SDK, Google Plugin for
 Eclipse,
   and -- brand new in GWT 2.0 -- a performance analysis tool called Speed
   Tracer.  I think that you will find it pretty interesting...
 
  http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-t.
 ..
 
  Just the day we're about to release a new version of our app, so we
  can release it on an officially stable release! ;-)
 
  Congrats!

 --

 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=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=en.




Re: MVP, GIN, UiBinder

2009-12-09 Thread P.G.Taboada
Well, that is what I am sort of doing. And it turns out to be a kind
of service location.

There are some workarounds, and they are nothing more than just that:
a workaround.

I am letting GIN build all of my presenters, and then I let them bind
the UIs.
Not nice, but that is the way with the fewest dependency lookup calls
for me atm.





On 9 Dez., 16:13, Thomas Broyer t.bro...@gmail.com wrote:
 On Dec 9, 12:50 pm, P.G.Taboada pgtabo...@googlemail.com wrote:





  Hi,

  as many other GWT developers I really like the above mentioned
  approaches.

  I am having a little bit of pain when it comes down to embedding views
  into views. UiBinder and GIN don't play well together, I am struggling
  with ugly locator pattern usages to create my sub/ embedded views. My
  code is now full of //WORKAROUND task tags, hoping to get it solved
  somehow someday.

  But that is the point: at which direction should I look? MVP tells me
  to have views injected into my presenter, really nice. UiBinder on the
  other hand needs the views, would create them properly, but then they
  would not be available to GIN (compile-time vs. runtime).

  If my feeling is right, we would need some way to hook up into the
  UIBinder, providing a GIN based MVP resolver, quite similar to the
  variable resolvers people use in JSF to get hands on Spring beans from
  JSF. But as far I can see, UiBinder does not provide such extension
  point.

  Any thoughts here?

 How about injecting your child views (or Providers) into your view
 and then use @UiField(provided=true) to tell UiBinder you're providing
 those widgets?

--

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=en.




Re: Announcing GWT 2.0 and much, much more...

2009-12-09 Thread Rajeev Dayal
On Tue, Dec 8, 2009 at 11:35 PM, Brendan bcke...@gmail.com wrote:

 When I updated as noted above, Eclipse automatically detected I was
 updating the plugin, not installing something new, and took care of
 the uninstallation/installation for me. YMMV.


Yes, that is correct. Eclipse will automatically detect that you have an
older version installed, and automatically perform the upgrade.



 On Dec 8, 10:28 pm, Parvez Shah parvez.s...@live.com wrote:
  do we need to uninstall 1.7.1 plugin and then install eclipse 2.0 plugin
 
  From: Miguel Méndez
  Sent: Wednesday, December 09, 2009 8:43 AM
  To: Google Web Toolkit ; GWTcontrib
  Subject: Announcing GWT 2.0 and much, much more...
 
  Hi Folks!
 
  We have some very exciting announcements today.  Please check out the
 following blog post that covers the GWT 2.0 SDK, Google Plugin for Eclipse,
 and -- brand new in GWT 2.0 -- a performance analysis tool called Speed
 Tracer.  I think that you will find it pretty interesting...
 
  http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-t...
 
  --
  Miguel on behalf of the GWT team
 
  --
 
  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 athttp://
 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.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=en.




Re: Announcing GWT 2.0 and much, much more...

2009-12-09 Thread Rajeev Dayal
On Tue, Dec 8, 2009 at 11:33 PM, Brendan bcke...@gmail.com wrote:

 I had to install new software, not just update, but it found the
 latest plugin and the 2.0 sdk just fine.

 Unrelated to your question, I also had to manually switch from the 1.7
 to the 2.0 SDK in GWT settings, but that might just be my eclipse-
 plugin incompetence.


That is the default behavior - we do not automatically switch your project's
SDKs for you, even when you install a new SDK.



 On Dec 8, 10:18 pm, Mohamed Mansour m0.interact...@gmail.com wrote:
  Thanks GWT, any ETA when it will be available for eclipse plugin?
 
  Eclipse states the following:
 
   Cannot complete the install because one or more required items could
  not be found.
Software being installed: Google Plugin for Eclipse 3.5
  1.2.0.v200912062003
  (com.google.gdt.eclipse.suite.e35.feature.feature.group
  1.2.0.v200912062003)
Missing requirement: Google Plugin for Eclipse 3.5
  1.2.0.v200912062003
  (com.google.gdt.eclipse.suite.e35.feature.feature.group
  1.2.0.v200912062003) requires 'org.eclipse.wst.validation 0.0.0' but
  it could not be found
 
  On Dec 8, 10:13 pm, Miguel Méndez mmen...@google.com wrote:
 
   Hi Folks!
 
   We have some very exciting announcements today.  Please check out the
   following blog post that covers the GWT 2.0 SDK, Google Plugin for
 Eclipse,
   and -- brand new in GWT 2.0 -- a performance analysis tool called Speed
   Tracer.  I think that you will find it pretty interesting...
 
  http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-t.
 ..
 
   --
   Miguel on behalf of the GWT team
 
 

 --

 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=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=en.




Re: Announcing GWT 2.0 and much, much more...

2009-12-09 Thread Rockster
GWT2.0 ROCKS!!

Seriously I was having a feature that worked perfectly with GWT1.7
in hosted mode,
but when I start running on FF and Chrome, I got strange behavior.

Thanks to the DevMode and plugin I could test it cross browser!

Many many many thanks for that.

Keep up the Good work!

Rokesh


On Dec 9, 4:32 pm, Rajeev Dayal rda...@google.com wrote:
 On Tue, Dec 8, 2009 at 11:33 PM, Brendan bcke...@gmail.com wrote:
  I had to install new software, not just update, but it found the
  latest plugin and the 2.0 sdk just fine.

  Unrelated to your question, I also had to manually switch from the 1.7
  to the 2.0 SDK in GWT settings, but that might just be my eclipse-
  plugin incompetence.

 That is the default behavior - we do not automatically switch your project's
 SDKs for you, even when you install a new SDK.





  On Dec 8, 10:18 pm, Mohamed Mansour m0.interact...@gmail.com wrote:
   Thanks GWT, any ETA when it will be available for eclipse plugin?

   Eclipse states the following:

    Cannot complete the install because one or more required items could
   not be found.
     Software being installed: Google Plugin for Eclipse 3.5
   1.2.0.v200912062003
   (com.google.gdt.eclipse.suite.e35.feature.feature.group
   1.2.0.v200912062003)
     Missing requirement: Google Plugin for Eclipse 3.5
   1.2.0.v200912062003
   (com.google.gdt.eclipse.suite.e35.feature.feature.group
   1.2.0.v200912062003) requires 'org.eclipse.wst.validation 0.0.0' but
   it could not be found

   On Dec 8, 10:13 pm, Miguel Méndez mmen...@google.com wrote:

Hi Folks!

We have some very exciting announcements today.  Please check out the
following blog post that covers the GWT 2.0 SDK, Google Plugin for
  Eclipse,
and -- brand new in GWT 2.0 -- a performance analysis tool called Speed
Tracer.  I think that you will find it pretty interesting...

   http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-t.
  ..

--
Miguel on behalf of the GWT team

  --

  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=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=en.




Re: RequestBuilder

2009-12-09 Thread P.G.Taboada
Hi,

different ports are indeed an issue, see SOP 
http://en.wikipedia.org/wiki/Same_origin_policy...

I tried your code here and got a status code 0.

For test purposes, dump your response data into your war folder and
change the url to the new location.

If it works, it is not your code, it most probably is SOP.

brgds,

Papick

ps: I use GWT.log(Got status code  + response.getStatusCode(), null)
to log instead of Window.alert.



On 9 Dez., 16:22, charlie charlie.f...@gmail.com wrote:
 I have a php 
 pagehttp://the-charlie.com/artwork/index.php?artist=Kanye+Westalbum=Grad...,
 that when I hit it directly gives me an image URL.

 I have this code in my app

 RequestBuilder builder = new 
 RequestBuilder(RequestBuilder.GET,http://the-charlie.com/artwork/index.php?artist=Kanye+Westalbum=Grad...;
 );

                 try {
                     builder.sendRequest(, new RequestCallback() {

                         @Override
                         public void onResponseReceived(Request request,
 Response response) {

                             Window.alert(response.getText() );
                             Window.alert(response.getHeadersAsString());
                             Window.alert(response.getStatusText() );

 Window.alert(Integer.toString(response.getStatusCode()));
                         }

                         @Override
                         public void onError(Request request, Throwable
 exception) {

                         }
                     });
                 } catch (RequestException e) {

                     e.printStackTrace();
                 }

             }

 Which is always returning null , with a status code of 200.

 If my app runs on port 8080, is it a problem hitting a page on port 80 ( the
 php page ) ?

 Why would this constantly be returning blank ?

 Thanks!
 Charlie

--

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=en.




Re: Query on Google Web Toolkit (GWT)

2009-12-09 Thread elliot
GWT. Two. Point.  Ohhh!

sticky note time?

--

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=en.




Re: GWT Developer Plugin not working IE8

2009-12-09 Thread Andrey
The same problem. And it was reported a few times before.

On 9 дек, 07:50, ksachdeva ksachdev...@gmail.com wrote:
 Same issue for me also.

 Windows Vista SP2 / IE 8.

 Works fine in Firefox.

 Regards
 Kapil

 On Dec 8, 3:00 pm, Sekhar Ravinutala sek...@allurefx.com wrote:

  Thanks, see my responses below.

  On Tue, Dec 8, 2009 at 12:29 PM, Chris Ramsdale cramsd...@google.com

   wrote:
   1. Have you attempted to restart IE and test after installing theplugin?

  Yes.

   2. Can you verify that the following registry entries are available (UID
   being the unique identifier assigned to your account):

   HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\UID\Components\50E8C0062FB69AB5399BEF4DAE291BB6

  No

   HKEY_USERS\UID\Software\Classes\AppID\oophm.DLL

  Yes

   HKEY_USERS\UID\Software\Classes\CLSID\{1A2A78F4-B5A4-4208-B520-BDDA0A7EC5CB}\InprocServer32

  No

   HKEY_USERS\UID\Software\Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\InprocServer32

  No

   HKEY_USERS\UID\Software\Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\ToolboxBitmap32

  Yes

   HKEY_USERS\UID\Software\Classes\CLSID\{644FD769-8B9D-4AC4-A79E-AAAF5CD751C1}\InprocServer32

  No

   HKEY_USERS\UID\Software\Classes\TypeLib\{9259F105-BE55-4BF6-B7CE-D0AA878C1BA6}\1.0\0\win32

  Yes

   HKEY_USERS\UID_Classes\AppID\oophm.DLL

  Yes

   HKEY_USERS\UID_Classes\CLSID\{1A2A78F4-B5A4-4208-B520-BDDA0A7EC5CB}\InprocServer32

  No

   HKEY_USERS\UID_Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\InprocServer32

  No

   HKEY_USERS\UID_Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\ToolboxBitmap32

  Yes

   HKEY_USERS\UID_Classes\CLSID\{644FD769-8B9D-4AC4-A79E-AAAF5CD751C1}\InprocServer32

  No

   HKEY_USERS\UID_Classes\TypeLib\{9259F105-BE55-4BF6-B7CE-D0AA878C1BA6}\1.0\0\win32

  Yes

   On Mon, Dec 7, 2009 at 9:13 PM, Sekhar sek...@allurefx.com wrote:

   Guys, I'm not able to get the devpluginwork in IE8. I uninstalled it
   in Control Panel as suggested and re-installed it in IE8. It installs
   fine and I can see it in Control Panel, but the next time I try with
   IE8, it asks for thepluginagain. I've tried it several times now
   with no success. Could someone help?

   --

   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=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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

  --
  AllureFX LLChttp://www.allurefx.com

--

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=en.




Re: PoupPanel and scrolling with the scroll wheel

2009-12-09 Thread jdw
Scroll bars do work when a modal dialog or modal popup is visible.  I
verified this with the DialogBox example.  I don't believe that
modal behavior should mean you can't scroll.  Using setGlassEnabled
( true ) is not an option as we are using GWT 1.7

Does anyone know a way to get the scroll wheel to work when you have a
modal dialog visible?

Thanks,
- Jay

On Dec 8, 6:17 pm, Thomas Broyer t.bro...@gmail.com wrote:
 On 7 déc, 22:18, jdw jwootto...@gmail.com wrote:

  I'm extending the PopupPanel class to create my own dialog box.
  Everything works great.  When I show my dialog box I noticed that the
  scroll wheel on the mouse only scrolls the page if the mouse is over
  the dialog.  If the mouse is outside the dialog, using the scroll
  wheel does not scroll the page.  On the GWT showcase of features page,
  this same behavior can be seen with the DialogBox example.  Any ideas?

 That's because of the modal behavior of the DialogBox/PopupPanel, or
 more exactly how it is implemented in GWT. You'd rather use a non-
 modal popup/dialog with setGlassEnabled(true) (since GWT 2.0 RC2).

 (and not only wheel scroll doesn't work, but you cannot use scrollbars
 either)

--

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=en.




Re: Announcing GWT 2.0 and much, much more...

2009-12-09 Thread Ittai
Congrats and thank you to the whole GWT team!
Hope the move from 1.7 to 2.0 won't be painfull :)

On Dec 9, 5:13 am, Miguel Méndez mmen...@google.com wrote:
 Hi Folks!

 We have some very exciting announcements today.  Please check out the
 following blog post that covers the GWT 2.0 SDK, Google Plugin for Eclipse,
 and -- brand new in GWT 2.0 -- a performance analysis tool called Speed
 Tracer.  I think that you will find it pretty interesting...

 http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-t...

 --
 Miguel on behalf of the GWT team

--

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=en.




Re: GWT Chat applications

2009-12-09 Thread Jim
hi, I've implemented a gwt Chat

the link 
http://code.google.com/p/google-web-toolkit-incubator/wiki/ServerPushFAQ
helps me.

From client, i do an rpc call
-- server-side, i'm waiting for event (using a timer) for the
client :
-- if i got an event for the client, i return to the client, and i do
again the rpc call.
-- if no events after 40 sec, i return to the client and says to the
client No events!, and i do again the rpc call.


On Dec 9, 1:13 pm, abhiram abhir...@gmail.com wrote:
 Hi All,

    Can someone tell me which is the best (and convenient) method to
 implement a chat application for my web page using GWT?

   I believed using the comet.jar would be neat but had lot of problem
 implementin it. Can you please tell me which is the best possible
 approach? with any working examples / links?

 ~ Abhiram

--

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=en.




i18n with GWT 2.0

2009-12-09 Thread ericv
Was wondering if anyone had already taken a look at GWT
internationalization in 2.0, and more specifically, if there were
changes to the location of property files (which have to reside in the
same folder as the referring class in GWT 1.7.1 for the generated i18n
commands).

More generally, is there a way to group i18n data files in a resource
folder, to keep them away from the source code tree?

--

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=en.




Re: i18n with GWT 2.0

2009-12-09 Thread Thomas Broyer


On Dec 9, 6:06 pm, ericv eric.vaut...@gmail.com wrote:
 Was wondering if anyone had already taken a look at GWT
 internationalization in 2.0, and more specifically, if there were
 changes to the location of property files (which have to reside in the
 same folder as the referring class in GWT 1.7.1 for the generated i18n
 commands).

 More generally, is there a way to group i18n data files in a resource
 folder, to keep them away from the source code tree?

No changes in GWT 2.0 AFAIK, but you can put your properties file in
another folder if you want, provided you build the whole package
folder hierarchy their too; what matters is not the location on disk,
it's the classpath, so you can have (and it's been the case for a
loong time):
 - src
   - com
  - my
 - app
- client
   MyMessages.java
 - resources
   - com
  - my
 - app
- client
   MyMessages_fr.properties
   MyMessages_de.properties
   MyMessages_es.properties
   MyMessages_zh.properties
   MyMessages_jp.properties

--

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=en.




Re: PoupPanel and scrolling with the scroll wheel

2009-12-09 Thread Thomas Broyer


On Dec 9, 5:22 pm, jdw jwootto...@gmail.com wrote:
 Scroll bars do work when a modal dialog or modal popup is visible.  I
 verified this with the DialogBox example.  I don't believe that
 modal behavior should mean you can't scroll.  Using setGlassEnabled
 ( true ) is not an option as we are using GWT 1.7

Can't you switch to GWT 2.0 now that it's officially released? you
shouldn't even have to modify a single line of code (except the call
to setGlassEnabled and the associated CSS), just recompile and profit.

 Does anyone know a way to get the scroll wheel to work when you have a
 modal dialog visible?

Before we switched to GWT 2.0, we were using the GlassPanel from the
GWT-Incubator, show the glass panel and then show the dialog
(eventually, override the dialog's show() and hide() methods to
automatically show/hide the associated glass panel).

HTH

--

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=en.




Re: Announcing GWT 2.0 and much, much more...

2009-12-09 Thread John Ivens
Thank you... this is worth it for the UIBinder alone.  Looks really good.
I'll have to experiment with it.

On Wed, Dec 9, 2009 at 9:38 AM, Ittai etai...@gmail.com wrote:

 Congrats and thank you to the whole GWT team!
 Hope the move from 1.7 to 2.0 won't be painfull :)

 On Dec 9, 5:13 am, Miguel Méndez mmen...@google.com wrote:
  Hi Folks!
 
  We have some very exciting announcements today.  Please check out the
  following blog post that covers the GWT 2.0 SDK, Google Plugin for
 Eclipse,
  and -- brand new in GWT 2.0 -- a performance analysis tool called Speed
  Tracer.  I think that you will find it pretty interesting...
 
  http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-t...
 
  --
  Miguel on behalf of the GWT team

 --

 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=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=en.




Re: Announcing GWT 2.0 and much, much more...

2009-12-09 Thread Mohamed Mansour
I fixed the issue, the problem was that Eclipse 3.5 64bit had known
issues with update sites not appearing, so I removed it and installed
Eclipse 3.5.1 64bit, and it works fine. It is downloading the
dependencies automatically.

Thanks for the help everyone!

On Dec 9, 10:30 am, Rajeev Dayal rda...@google.com wrote:
 Hi,

 When you were installing the plugin, did you have the option Contact All
 Update Sites During Install to Find Required Software checked?

 Our plugin has some dependencies on WST, and some installations of Eclipse
 do not have them by default. However, the Galileo update site (which is
 included in the list of default update sites) has these dependencies, and if
 you have the option that I mentioned above selected when you install the
 plugin, it will automatically grab them.

 Let me know if this doesn't work for you.

 Rajeev

 On Wed, Dec 9, 2009 at 5:30 AM, Mohamed Mansour 
 m0.interact...@gmail.comwrote:



  How did you guys manage to get it work? I downloaded brand new
  eclipse, and within Install New Software I added:
 http://dl.google.com/eclipse/plugin/3.5

  When I press next (after I apply a check to Plugins/SDK) it gives me
  this error:

  Cannot complete the install because one or more required items could
  not be found.
   Software being installed: Google Plugin for Eclipse 3.5
  1.2.0.v200912062003
  (com.google.gdt.eclipse.suite.e35.feature.feature.group
  1.2.0.v200912062003)
   Missing requirement: Google Plugin for Eclipse 3.5
  1.2.0.v200912062003
  (com.google.gdt.eclipse.suite.e35.feature.feature.group
  1.2.0.v200912062003) requires 'org.eclipse.wst.validation 0.0.0' but
  it could not be found

  Where do I get those plugins?

  On Dec 9, 4:47 am, Thomas Broyer t.bro...@gmail.com wrote:
   On Dec 9, 4:13 am, Miguel Méndez mmen...@google.com wrote:

Hi Folks!

We have some very exciting announcements today.  Please check out the
following blog post that covers the GWT 2.0 SDK, Google Plugin for
  Eclipse,
and -- brand new in GWT 2.0 -- a performance analysis tool called Speed
Tracer.  I think that you will find it pretty interesting...

   http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-t.
  ..

   Just the day we're about to release a new version of our app, so we
   can release it on an officially stable release! ;-)

   Congrats!

  --

  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=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=en.




Re: Extending Splitter related widgets

2009-12-09 Thread lemaiol
Sorry Nathan, which discussion? Have you submitted a link?

Thanks,
Alberto

On Dec 9, 7:20 am, Nathan Wells nwwe...@gmail.com wrote:
 Well, I don't disagree with you. I just found this discussion, where Sumit
 responds to these concerns (a few months ago, even). I suppose that starring
 the issue he mentions is probably your best course of action.

 Nathan Wells

 On Tue, Dec 8, 2009 at 2:48 PM, lemaiol lema...@gmail.com wrote:
  Hi Nathan,

  That is exactly the thing. GWT is much more than widgets and the
  provided ones should be the building blocks to extend. That is the
  message that comes from the team behind GWT. The problem I see is that
  some widgets are not designed to be easily extended and therefore they
  are not good building blocks. This leads to the integration of
  heavyweight third-party widget libraries (even for simple things) or,
  in the other hand, to the development of custom widgets to avoid this
  overhead. I expected that, with the new versions, this situation would
  change integrating most of the widgets of the incubator refined to fit
  the widget framework over which to build the new widgets.

  Cheers,
  Alberto

  On Dec 8, 2:18 pm, Nathan Wells nwwe...@gmail.com wrote:
   Creating and maintaining custom widgets is discouraged

   Really? I had the opposite impression. I understand why it might be
   discouraged, but from everything I've heard the GWTers tend to assume
   that they are only providing basic building blocks in the widgets
   package. I could be wrong (and I would like to be; maintaining custom
   widgets _is_ a pain), so if you have any references indicating
   otherwise, let me know!

   On Dec 7, 2:34 pm, lemaiol lema...@gmail.com wrote:

I have recently started having a look at the GWT 2.0 RC2 version and
found me once again frustrated trying to extend the SplitLayoutPanel.
In version 1.4 we needed to do the same with the splitter panels and
we thought that some of the reasons not to build more easy to extend
Splitter panels (had to copy over a lot of code) had to do with the
implementation substitution performed by the compiler.
In this case, I miss setting the splitter position programmatically
(or associated widget size) and setting the maximum splitter size
(minimum is already possible to be set) in the SplitLayoutPanel. With
the current implementation (a really simple one) the changes are not
complicated. The only problem is, that as the widget is implemented,
it is not possible to extend it properly.

Could somebody give some input on this? Why the SplitLayoutPanel is a
basic part of the new layout system but does not allow extension
easily? Creating and maintaining custom widgets is discouraged and a
pain but the actual widgets are sometimes not designed even for
trivial extension.

Feedback really appreciated,
Alberto

  --

  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=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=en.




Re: GWT Hosted Mode

2009-12-09 Thread brett9897
Also, if you have IE you can go to http://budget-calculator.appspot.com
and see that it also doesn't work in IE.  I thought GWT was supposed
to atleast load in all browsers.

On Dec 8, 6:12 pm, brett9897 brett9...@gmail.com wrote:
 I have a strange issue.  I have no errors and no runtime errors occur
 when loading but nothing but the html shows up in hosted mode.  A test
 project works just fine but, in order to use my project I have to
 compile it.  I am using App Engine 1.2.8 and GWT 1.7.1.  If you could
 let me know of any additional information that would be helpful I will
 gladly give 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=en.




Re: i18n with GWT 2.0

2009-12-09 Thread ericv
Yes, was thinking of doing precisely that.
One probably needs to include resources in the module.gwt.xml as a
src folder as well, then?
Thanks.

On Dec 9, 6:13 pm, Thomas Broyer t.bro...@gmail.com wrote:
 No changes in GWT 2.0 AFAIK, but you can put your properties file in
 another folder if you want, provided you build the whole package
 folder hierarchy their too; what matters is not the location on disk,
 it's the classpath, so you can have (and it's been the case for a
 loong time):
  - src
    - com
       - my
          - app
             - client
                MyMessages.java
  - resources
    - com
       - my
          - app
             - client
                MyMessages_fr.properties
                MyMessages_de.properties
                MyMessages_es.properties
                MyMessages_zh.properties
                MyMessages_jp.properties

--

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=en.




Re: Warnings on starting up GWT application JSONException could not be found in the web app

2009-12-09 Thread Chris
No Ideas?

On Dec 8, 9:15 pm, Chris christopher.burr...@gmail.com wrote:
 Hi All

 When I start up my GWT application using the hosted server/browser,
 part way through the loading of things, I get the following message:

 [WARN] Server class 'com.google.gwt.json.client.JSONException' could
 not be found in the web app, but was found on the system classpath
 [WARN] Adding classpath entry 'file:/C:/eclipse/plugins/
 com.google.gwt.eclipse.sdkbundle.win32_1.7.0.v200907131030/gwt-
 windows-1.7.0/gwt-user.jar' to the web app classpath for this session
 More info: file:/C:/eclipse/plugins/
 com.google.gwt.eclipse.sdkbundle.win32_1.7.0.v200907131030/gwt-
 windows-1.7.0/doc/helpInfo/webAppClassPath.html

 So I had a look at the last HTML file. But I'm confused, cos before
 adding GXT, I wasn't getting this, but now I am (I think it's
 related). I've tried adding the following line to my .gwt.xml file:
 inherits name='com.google.gwt.json.JSON'/ but it hasn't cured the
 problem...

 Is the solution really to add the mentioned jar file to my web-inf
 directory? Shouldn't this jar be picked up when I compile/launch the
 GWT application? The jar is included in my GWT SDK section in Eclipse.

 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=en.




GWT 2.0.0 Unable to launch default browser

2009-12-09 Thread Thad
When I started Firefox 3.5.5 this morning, it updated the GWT
Developer Plugin to 1.0.7263

Downloaded and installed GWT 2.0.0 on my Linux box, and tried running
the samples.  The development mode tool will not launch the
application in my browser, requiring me to cut and past the URL each
time.  The stack trace is:

00:00:00.001 [ERROR] Unable to launch default browser
java.io.IOException: Failed to show URI:http://localhost:/
Mail.html?gwt.codesvr=127.0.0.2:9997
at sun.awt.X11.XDesktopPeer.launch(XDesktopPeer.java:75)
at sun.awt.X11.XDesktopPeer.browse(XDesktopPeer.java:64)
at java.awt.Desktop.browse(Desktop.java:368)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.util.BrowserLauncher
$ReflectiveLauncher.browse(BrowserLauncher.java:115)
at com.google.gwt.dev.util.BrowserLauncher.browse
(BrowserLauncher.java:212)
at com.google.gwt.dev.shell.ShellMainWindow
$DefaultBrowserLauncher.launchUrl(ShellMainWindow.java:92)
at com.google.gwt.dev.shell.ShellMainWindow.launch
(ShellMainWindow.java:278)
at com.google.gwt.dev.shell.ShellMainWindow$1.actionPerformed
(ShellMainWindow.java:193)
at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed
(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3255)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:
4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:
4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters
(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter
(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

--

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=en.




Re: Warnings on starting up GWT application JSONException could not be found in the web app

2009-12-09 Thread Paul Grenyer
It's almost certainly because some jars you're referencing in your eclipse 
project are no present in your WEB-INF lib directory.

--Original Message--
From: Chris
Sender: google-web-toolkit@googlegroups.com
To: Google Web Toolkit
ReplyTo: google-web-toolkit@googlegroups.com
Subject: Re: Warnings on starting up GWT application JSONException could not be 
found in the web app
Sent: 9 Dec 2009 18:49

No Ideas?

On Dec 8, 9:15 pm, Chris christopher.burr...@gmail.com wrote:
 Hi All

 When I start up my GWT application using the hosted server/browser,
 part way through the loading of things, I get the following message:

 [WARN] Server class 'com.google.gwt.json.client.JSONException' could
 not be found in the web app, but was found on the system classpath
 [WARN] Adding classpath entry 'file:/C:/eclipse/plugins/
 com.google.gwt.eclipse.sdkbundle.win32_1.7.0.v200907131030/gwt-
 windows-1.7.0/gwt-user.jar' to the web app classpath for this session
 More info: file:/C:/eclipse/plugins/
 com.google.gwt.eclipse.sdkbundle.win32_1.7.0.v200907131030/gwt-
 windows-1.7.0/doc/helpInfo/webAppClassPath.html

 So I had a look at the last HTML file. But I'm confused, cos before
 adding GXT, I wasn't getting this, but now I am (I think it's
 related). I've tried adding the following line to my .gwt.xml file:
 inherits name='com.google.gwt.json.JSON'/ but it hasn't cured the
 problem...

 Is the solution really to add the mentioned jar file to my web-inf
 directory? Shouldn't this jar be picked up when I compile/launch the
 GWT application? The jar is included in my GWT SDK section in Eclipse.

 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=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=en.




GWT 2.0.0 JPEG errors with JAI and JAI-IMAGEIO

2009-12-09 Thread Thad
I am using Sun's Java Advanced Imaging (JAI) and Java Advanced Imaging-
Image I/O (JAI-IMAGEIO) on the server side of my application for
reading and processing TIFF's and other images which are then scaled,
converted to PNG, and sent to the browser.

Today I downloaded and installed GWT 2.0.0.  In attempting to run the
sample Showcase, I receive javax.imageio.IIOException's on the JPG
images, like jimmy.jpg.  This happens only if the $JAVA_HOME I'm using
has JAI and JAI-IMAGEIO installed.  Without JAI, the JPGs open fine.
(Note:  Yesterday with GWT 2.0.0 RC2 I was able to modify the JPGs by
converting them to/from PNG but that trick is not working today).

The stack trace strikes me as screwy, since the images start with the
proper 0xff 0xd8 0xff 0xe0:

00:00:22.020 [ERROR] Unable to read image resource
javax.imageio.IIOException: Not a JPEG file: starts with 0xff 0xd9
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImageHeader
(Native Method)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readNativeHeader
(JPEGImageReader.java:517)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.checkTablesOnly
(JPEGImageReader.java:272)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.getNumImages
(JPEGImageReader.java:324)
at com.google.gwt.resources.rg.ImageBundleBuilder.addImage
(ImageBundleBuilder.java:685)
at com.google.gwt.resources.rg.ImageBundleBuilder.assimilate
(ImageBundleBuilder.java:623)
at com.google.gwt.resources.rg.ImageResourceGenerator.prepare
(ImageResourceGenerator.java:234)
at
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.initAndPrepare
(AbstractClientBundleGenerator.java:556)
at
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.initAndPrepare
(AbstractClientBundleGenerator.java:582)
at
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.generate
(AbstractClientBundleGenerator.java:204)
at com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator
(StandardGeneratorContext.java:418)
at com.google.gwt.dev.cfg.RuleGenerateWith.realize
(RuleGenerateWith.java:38)
at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind
(StandardRebindOracle.java:108)
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.ShellModuleSpaceHost.rebind
(ShellModuleSpaceHost.java:119)
at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:
531)
at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate
(ModuleSpace.java:414)
at com.google.gwt.dev.shell.GWTBridgeImpl.create
(GWTBridgeImpl.java:39)
at com.google.gwt.core.client.GWT.create(GWT.java:98)
at com.google.gwt.sample.showcase.client.Showcase.clinit
(Showcase.java:151)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName
(ModuleSpace.java:580)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
348)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule
(OophmSessionHandler.java:185)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection
(BrowserChannelServer.java:380)
at com.google.gwt.dev.shell.BrowserChannelServer.run
(BrowserChannelServer.java:222)
at java.lang.Thread.run(Thread.java:619)

--

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=en.




Re: Install Speed Tracer on the Mac?

2009-12-09 Thread Jim Douglas
Apparently it's a known issue at the moment:

https://groups.google.com/group/speedtracer/browse_thread/thread/5a42cb942f09bf7b


On Dec 9, 6:28 am, P.G.Taboada pgtabo...@googlemail.com wrote:
 Hi,
 thanks for the link.
 Still, I did not manage to install the plugin. I indeed managed to
 turn on the install plugin button, but it fails afterwards with a
 plugin install not enabled dialog.

 Did anyone succeed?

 brgds,

 Papick

 On 9 Dez., 15:09, Chris Ramsdale cramsd...@google.com wrote:

  Jim,

  Checkout the following post for information on how to enable extensions on
  Mac Chrome:

 http://www.techcrunch.com/2009/12/08/install-chrome-extensions-mac/

  - Chris

  On Wed, Dec 9, 2009 at 7:11 AM, Jim Douglas jdoug...@basis.com wrote:
   I'm feeling a bit dense -- I see instructions here for installing
   Speed Tracer on Windows, but no Mac instructions:

  http://code.google.com/webtoolkit/speedtracer/get-started.html#downlo...

   But there are Mac screen shots on this page, so I'm assuming it's
   supposed to work.  What am I missing here?  Specifically, what's the
   Mac way to add the --enable-extension-timeline-api option to Chrome?

   Jim.

   --

   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=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=en.




Re: GWT 2.0.0 Unable to launch default browser

2009-12-09 Thread Chris Ramsdale
What distro of Linux are you running? I wonder if you're running into an
issue similar to this one:

http://java-hamster.blogspot.com/2007/06/troubles-with-javaawtdesktop-browse.html


On Wed, Dec 9, 2009 at 2:02 PM, Thad thad.humphr...@gmail.com wrote:

 When I started Firefox 3.5.5 this morning, it updated the GWT
 Developer Plugin to 1.0.7263

 Downloaded and installed GWT 2.0.0 on my Linux box, and tried running
 the samples.  The development mode tool will not launch the
 application in my browser, requiring me to cut and past the URL each
 time.  The stack trace is:

 00:00:00.001 [ERROR] Unable to launch default browser
 java.io.IOException: Failed to show URI:http://localhost:/
 Mail.html?gwt.codesvr=127.0.0.2:9997
at sun.awt.X11.XDesktopPeer.launch(XDesktopPeer.java:75)
at sun.awt.X11.XDesktopPeer.browse(XDesktopPeer.java:64)
at java.awt.Desktop.browse(Desktop.java:368)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
 (NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
 (DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.util.BrowserLauncher
 $ReflectiveLauncher.browse(BrowserLauncher.java:115)
at com.google.gwt.dev.util.BrowserLauncher.browse
 (BrowserLauncher.java:212)
at com.google.gwt.dev.shell.ShellMainWindow
 $DefaultBrowserLauncher.launchUrl(ShellMainWindow.java:92)
at com.google.gwt.dev.shell.ShellMainWindow.launch
 (ShellMainWindow.java:278)
at com.google.gwt.dev.shell.ShellMainWindow$1.actionPerformed
 (ShellMainWindow.java:193)
at javax.swing.AbstractButton.fireActionPerformed
 (AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed
 (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed
 (DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed
 (DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
 (BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3255)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent
 (Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:
 4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:
 4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters
 (EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter
 (EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
 (EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents
 (EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents
 (EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

 --

 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=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=en.




Re: i18n with GWT 2.0

2009-12-09 Thread Thomas Broyer


On 9 déc, 19:44, ericv eric.vaut...@gmail.com wrote:
 Yes, was thinking of doing precisely that.
 One probably needs to include resources in the module.gwt.xml as a
 src folder as well, then?

No, though you obviously have to add the resources dir to your
classpath (within it, the packages are the same, so there's nothing
to change in the module.gwt.xml)

--

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=en.




Re: GWT 2.0.0 RC2 sample errors

2009-12-09 Thread Chris Ramsdale
While we are in the process of determining what exactly within the Mail
sample isn't playing nicely with Java 5, is your application throwing the
same error? If so, would you mind adding a code snippet to the issue that
was linked within this thread?

Thanks,
Chris

On Tue, Dec 8, 2009 at 12:03 PM, Thad thad.humphr...@gmail.com wrote:

 I'm seeing the problem on my Linux box running 1.5.0_17.  So long as
 the gold standard here is running on Macs, I don't want to develop in
 1.6 for fear of something that won't target 1.5 properly (I've been
 bitten on this before).

 On Dec 8, 11:32 am, Chris Ramsdale cramsd...@google.com wrote:
  This was only an issue on Windows for me, so I haven't had to upgrade to
  Java 6 on my Mac in order to run the Mail sample. Are you seeing it on
 Mac's
  with Java  6 installed?
 
  On Tue, Dec 8, 2009 at 10:52 AM, Thad thad.humphr...@gmail.com wrote:
   The problem with Java 6 is that I still have to support some older Mac
   servers with OS X 10.4.  They only run Java 1.5 or 1.4.2.
 
   On Dec 7, 3:01 pm, Chris Ramsdale cramsd...@google.com wrote:
Try upgrading to Java 6. More info is available here:
 
   http://code.google.com/p/google-web-toolkit/issues/detail?id=4254

 --

 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=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=en.




Upgradeing to 2.0, web.xml file problem

2009-12-09 Thread darkflame
Upgrading to 2.0, and I started getting problems with my web.xml file.
Specifically its complaining of some wrong set up with my log class in
use (which is ; http://code.google.com/p/gwt-log/downloads/list).

The complaint was;

[WARN] Server class
'com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl' could not be
found in the web app, but was found on the system classpath
   [WARN] Adding classpath entry 'file:/D:/TomsProjects/Google%20GWT/
gwt-log-3.0.0.jar' to the web app classpath for this session
   For additional info see: file:/D:/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle.2.0.0_2.0.0.v200912062003/gwt-2.0.0/
doc/helpInfo/webAppClassPath.html
Loading modules
   com.lostagain.companywebsite.Lostagainwebsite
  Validating servlet tags for module 'lostagainwebsite'
  For additional info see: file:/D:/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle.2.0.0_2.0.0.v200912062003/gwt-2.0.0/
doc/helpInfo/servletMappings.html
 [WARN] Module declares a servlet class
'com.google.gwt.libideas.logging.server.RemoteLoggingServiceImpl', but
the web.xml has no corresponding declaration; please add the following
lines to your web.xml:
servlet
  servlet-nameremoteLoggingServiceImpl/servlet-name
  servlet-
classcom.google.gwt.libideas.logging.server.RemoteLoggingServiceImpl/
servlet-class
/servlet
servlet-mapping
  servlet-nameremoteLoggingServiceImpl/servlet-name
  url-pattern/lostagainwebsite/logging/url-pattern
/servlet-mapping


---

Now I did try adding this to my web.xml file;


?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;

web-app
  !-- Servlets --
  servlet
servlet-namegreetServlet/servlet-name
servlet-
classcom.lostagain.companywebsite.server.GreetingServiceImpl/servlet-
class
  /servlet
  servlet-mapping
servlet-namegreetServlet/servlet-name
url-pattern/lostagainwebsite/greet/url-pattern
  /servlet-mapping
servlet
  servlet-nameremoteLoggerServiceImpl/servlet-name
  servlet-
classcom.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl/servlet-
class
/servlet
servlet-mapping
  servlet-nameremoteLoggerServiceImpl/servlet-name
  url-pattern/lostagainwebsite/gwt-log/url-pattern
/servlet-mapping
  !-- Default page to serve --
  welcome-file-list
welcome-fileLostagainwebsite.html/welcome-file
  /welcome-file-list
/web-app


...and got the same error.

I also tried with;

  !-- Servlets --
  servlet
servlet-namegreetServlet/servlet-name
servlet-
classcom.lostagain.companywebsite.server.GreetingServiceImpl/servlet-
class
  servlet-nameremoteLoggerServiceImpl/servlet-name
  servlet-
classcom.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl/servlet-
class
  /servlet
  servlet-mapping
servlet-namegreetServlet/servlet-name
url-pattern/lostagainwebsite/greet/url-pattern
  servlet-nameremoteLoggerServiceImpl/servlet-name
  url-pattern/lostagainwebsite/gwt-log/url-pattern
  /servlet-mapping


...same error.

Any ideas?
It was working fine in 1.7.
I'm using eclipse and have run the update. (and changed the project to
2.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=en.




Re: Install Speed Tracer on the Mac?

2009-12-09 Thread P.G.Taboada
I got it running on a Chromium build:

http://pgt.de/2009/12/09/using-speed-tracer-on-a-mac/

Now, let's just hope we get a GWT plugin or Chromium/Mac soon...

brgds,

Papick

On 9 Dez., 20:22, Jim Douglas jdoug...@basis.com wrote:
 Apparently it's a known issue at the moment:

 https://groups.google.com/group/speedtracer/browse_thread/thread/5a42...

 On Dec 9, 6:28 am, P.G.Taboada pgtabo...@googlemail.com wrote:



  Hi,
  thanks for the link.
  Still, I did not manage to install the plugin. I indeed managed to
  turn on the install plugin button, but it fails afterwards with a
  plugin install not enabled dialog.

  Did anyone succeed?

  brgds,

  Papick

  On 9 Dez., 15:09, Chris Ramsdale cramsd...@google.com wrote:

   Jim,

   Checkout the following post for information on how to enable extensions on
   Mac Chrome:

  http://www.techcrunch.com/2009/12/08/install-chrome-extensions-mac/

   - Chris

   On Wed, Dec 9, 2009 at 7:11 AM, Jim Douglas jdoug...@basis.com wrote:
I'm feeling a bit dense -- I see instructions here for installing
Speed Tracer on Windows, but no Mac instructions:

   http://code.google.com/webtoolkit/speedtracer/get-started.html#downlo...

But there are Mac screen shots on this page, so I'm assuming it's
supposed to work.  What am I missing here?  Specifically, what's the
Mac way to add the --enable-extension-timeline-api option to Chrome?

Jim.

--

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=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=en.




Re: Nesting layouts with gwt 2.0

2009-12-09 Thread P.G.Taboada
Problem solved, removed ScrollPanel, inserted LayoutPanel.

On 9 Dez., 13:55, P.G.Taboada pgtabo...@googlemail.com wrote:
 Hi,

 I am having trouble with nesting layouts.

 My nested layout is:

 DockLayoutPanel (main window)
    TabLayoutPanel (tabs for modules on the main window)
        Simple Hello World Tab (nothing special, fast forward pls)
        SomeTreeBasedPanel (ok, here trouble begins)
            DockLayoutPanel
                west: tree
                center: scrollpanel

 In my app I need to select a node on the tree and get some content
 displayed on the center area of the dock panel.

 The nested DockPanel in the scrollpanel is not rendering properly and
 I can't figure it out why.

 I have uploaded the compiled app to:

 http://static.pgt.de/nestedlayouts/NestedLayouts.html

 The zipfile with the project is here:

 http://static.pgt.de/nestedlayouts/NestedLayouts.zip

 A screenshot of the app is here:

 http://static.pgt.de/nestedlayouts/nestedlayout.png

 Hope someone can help me out here,

 brgds

 Papick G. Taboada

--

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=en.




dead link on http://code.google.com/webtoolkit/doc/latest/DevGuide.html

2009-12-09 Thread Peter Recore
The building a UI link on 
http://code.google.com/webtoolkit/doc/latest/DevGuide.html
is dead.

--

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=en.




Re: Extending Splitter related widgets

2009-12-09 Thread Nathan Wells
Sorry, the link is

http://groups.google.com/group/google-web-toolkit/browse_thread/thread/913163c9c40fc6c8/ce54ccf9c32b5e67?lnk=gstq=final+sumit#ce54ccf9c32b5e67
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/913163c9c40fc6c8/ce54ccf9c32b5e67?lnk=gstq=final+sumit#ce54ccf9c32b5e67
Nathan Wells


On Wed, Dec 9, 2009 at 10:55 AM, lemaiol lema...@gmail.com wrote:

 Sorry Nathan, which discussion? Have you submitted a link?

 Thanks,
 Alberto

 On Dec 9, 7:20 am, Nathan Wells nwwe...@gmail.com wrote:
  Well, I don't disagree with you. I just found this discussion, where
 Sumit
  responds to these concerns (a few months ago, even). I suppose that
 starring
  the issue he mentions is probably your best course of action.
 
  Nathan Wells
 
  On Tue, Dec 8, 2009 at 2:48 PM, lemaiol lema...@gmail.com wrote:
   Hi Nathan,
 
   That is exactly the thing. GWT is much more than widgets and the
   provided ones should be the building blocks to extend. That is the
   message that comes from the team behind GWT. The problem I see is that
   some widgets are not designed to be easily extended and therefore they
   are not good building blocks. This leads to the integration of
   heavyweight third-party widget libraries (even for simple things) or,
   in the other hand, to the development of custom widgets to avoid this
   overhead. I expected that, with the new versions, this situation would
   change integrating most of the widgets of the incubator refined to fit
   the widget framework over which to build the new widgets.
 
   Cheers,
   Alberto
 
   On Dec 8, 2:18 pm, Nathan Wells nwwe...@gmail.com wrote:
Creating and maintaining custom widgets is discouraged
 
Really? I had the opposite impression. I understand why it might be
discouraged, but from everything I've heard the GWTers tend to assume
that they are only providing basic building blocks in the widgets
package. I could be wrong (and I would like to be; maintaining custom
widgets _is_ a pain), so if you have any references indicating
otherwise, let me know!
 
On Dec 7, 2:34 pm, lemaiol lema...@gmail.com wrote:
 
 I have recently started having a look at the GWT 2.0 RC2 version
 and
 found me once again frustrated trying to extend the
 SplitLayoutPanel.
 In version 1.4 we needed to do the same with the splitter panels
 and
 we thought that some of the reasons not to build more easy to
 extend
 Splitter panels (had to copy over a lot of code) had to do with the
 implementation substitution performed by the compiler.
 In this case, I miss setting the splitter position programmatically
 (or associated widget size) and setting the maximum splitter size
 (minimum is already possible to be set) in the SplitLayoutPanel.
 With
 the current implementation (a really simple one) the changes are
 not
 complicated. The only problem is, that as the widget is
 implemented,
 it is not possible to extend it properly.
 
 Could somebody give some input on this? Why the SplitLayoutPanel is
 a
 basic part of the new layout system but does not allow extension
 easily? Creating and maintaining custom widgets is discouraged and
 a
 pain but the actual widgets are sometimes not designed even for
 trivial extension.
 
 Feedback really appreciated,
 Alberto
 
   --
 
   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%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@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.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=en.




Re: how to fire a change event on a textBox?

2009-12-09 Thread karan sardana
Thanks Thomas.

On Wed, Dec 9, 2009 at 9:05 PM, Thomas Broyer t.bro...@gmail.com wrote:


 On Dec 9, 5:56 am, Karan Sardana karansard...@gmail.com wrote:
  I'd like to manually fire a change event on a text box, and let the
  change handlers tap that event to do the needful.
 
  I tried using fireEvent(GwtEvent ? event) with no luck. We can't
  instantiate changeEvent, so how could I fire a change event ???

 DomEvent.fireNativeEvent(Document.get().createChangeEvent(),
 myTextBox);

 or you could use the ValueChange event instead, which you can fire
 programmatically using ValueChangeEvent.fire(...)

 --

 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=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=en.




Deprecated SerializableException

2009-12-09 Thread rjcarr
I'm attempting to upgrade to GWT 2.0 and everything is working well
enough except I am getting this warning in the compile step:

Referencing deprecated class
'com.google.gwt.user.client.rpc.SerializableException'

And the file it mentions is a gwt derived file with the suffix:
_TypeSerializer.java

The warning always happens on service classes (i.e., RemoteService),
but doesn't seem to happen on *all* service classes.

I have not defined SerializableException explicitly, but my method
signatures do throw Exception.

Any idea why this is happening and what I can do to make it go away?

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=en.




GWT 2.0 Maven repo

2009-12-09 Thread Jan Ehrhardt
Hi,

I would like to upgrade my current applications to GWT 2.0, but since they
are build with Maven, I'm waiting for GWT 2.0 final being available in Maven
repo. When will it be available?

Regards
Jan Ehrhardt

--

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=en.




Re: Deprecated SerializableException

2009-12-09 Thread Jim Douglas
I've been wondering about that too

Compiling module com.basis.bbj.web.gwt.GWTWebClient
   Scanning for additional dependencies: file:/Users/jimdouglas/
Documents/Eclipse/trunk/src/com/basis/bbj/web/gwt/client/
GWTWebClient.java
  Adding '445' new generated units
 Validating newly compiled units
[WARN] Warnings in 'generated://
06C3F30160AF1831220B54CE123ABF82/com/basis/bbj/web/gwt/client/
GWTRPCServlet_TypeSerializer.java'
   [WARN] Line 2058: Referencing deprecated class
'com.google.gwt.user.client.rpc.SerializableException'
   See snapshot: /var/folders/r7/r7M+NJ2RGY40D1IA70pkS+++
+TI/-Tmp-/GWTRPCServlet_TypeSerializer1968920803024545942.java
   Compiling 6 permutations
  Compiling permutation 0...
  Compiling permutation 1...
  Compiling permutation 2...
  Compiling permutation 3...
  Compiling permutation 4...
  Compiling permutation 5...
   Compile of permutations succeeded
Linking into /Users/jimdouglas/Documents/Eclipse/trunk/war/
gwtwebclient.
   Link succeeded
   Compilation succeeded -- 101.682s

On Dec 9, 3:13 pm, rjcarr rjc...@gmail.com wrote:
 I'm attempting to upgrade to GWT 2.0 and everything is working well
 enough except I am getting this warning in the compile step:

 Referencing deprecated class
 'com.google.gwt.user.client.rpc.SerializableException'

 And the file it mentions is a gwt derived file with the suffix:
 _TypeSerializer.java

 The warning always happens on service classes (i.e., RemoteService),
 but doesn't seem to happen on *all* service classes.

 I have not defined SerializableException explicitly, but my method
 signatures do throw Exception.

 Any idea why this is happening and what I can do to make it go away?

 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=en.




Re: Using Gilead with GWT 2.0 ms1

2009-12-09 Thread graffle...@gmail.com
Thanks!!  Great work...

but what do you mean by Once you get these files in your project just
make sure to change the package accordingly.

all I did was put these files in src/com/google/gwt/user/server/rpc

should I do anything else?

  - Bob



On Oct 18, 10:06 am, tskaife tska...@gmail.com wrote:
 Ok, well I found out that my changes to make gilead work for GWT 2.0
 didn't quite work, but I've been able to fix that. I also notice that
 I put the same two files up above, here are the 2 files to download to
 get gilead working with GWT 2.0.

 RPCCopy.javahttp://trg-commons.googlecode.com/files/RPCCopy.java

 RPCCopy_GWT20.javahttp://trg-commons.googlecode.com/files/RPCCopy_GWT20.java

 Once you get these files in your project just make sure to change the
 package accordingly.

 On Oct 9, 1:35 pm, tskaife tska...@gmail.com wrote:

  I just updated toGWT 2.0ms1 and noticed that I was getting an error
  that the constructor for RPCRequest doesn't exist (the constructor now
  inclues a int flag parameter).

  java.lang.NoSuchMethodError:
  com.google.gwt.user.server.rpc.RPCRequest.init(Ljava/lang/reflect/
  Method;[Ljava/lang/Object;Lcom/google/gwt/user/server/rpc/
  SerializationPolicy;)V

  I was able to fix the issue by creating a new RPCCopy_GWT20 that
  passes a 0 for the flag parameter when it makes the RPCRequest. I also
  had to change RPCCopy class so that it can correctly recognize when
  you are usingGWT 2.0. Below are links to the 2 java files.

  RPCCopy.javahttp://trg-commons.googlecode.com/files/RPCCopy_GWT20.java

  RPCCopy_GWT20.javahttp://trg-commons.googlecode.com/files/RPCCopy_GWT20.java

--

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=en.




GWT 2.0 Eclipse Breakpoint Not Working

2009-12-09 Thread Nick
I just updated my Eclipse plugin from GWT 1.7 to GWT 2.0. I got my
application to run in a separate browser, however, it does not ask me
to install a plugin, nor does it stop on breakpoints.

Can anyone help me convert my 1.7 Eclipse GWT/App Engine project to
GWT 2.0?

What I've done:
-Updated my Eclipse Plugin
-Changed my GWT version to 2.0
-Changed my App Engine version to 1.2.8
-Deleted by current launch configurations
-I launch by Right Click--Debug As--Web Application (the one with
the 'G' on it).
-I copy the URL give in the Development Mode tab in Eclipse and paste
that into Chrome (I've tried FF and IE 7 as well).
-My App appears and seems to work properly, but no question to install
a plugin nor does it pay attention to breakpoints.

If I can avoid creating a new project and copying it into that, I'd
prefer it.

I appreciate any help.

-Nick

--

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=en.




GWT 2.0 crash on IE7 - post-UiBinder setCellHeight with VerticalPanel

2009-12-09 Thread Stuart
Environment: MS Windows, Eclipse 3.5 with GWT 2.0 plugin.
Testing on: FF (Win/Mac), Chrome (Win/Mac), IE7(Win)

Basic widget hierarchy:
- EntryPoint loads a DockLayoutPanel via UiBinder.
- in the center of the dock, loads a VerticalPanel
- the VerticalPanel has 3 custom composite widgets in my app's
namespace, each of which have to appear exclusively in the dock's
center pane when certain events are fired

Post-binding logic:
- after the EntryPoint creates and binds the UI, we need to turn off
2 of the 3 custom widgets.
- this is accomplished by the following code:

// turn off widget 1
vPanel.setCellHeight(customWidget1, 0px);
customWidget1.setVisible(false);

// turn off widget 2
vPanel.setCellHeight(customWidget2, 0px);
customWidget2.setVisible(false);

// turn on widget 3
vPanel.setCellHeight(customWidget3, 100%);
customWidget1.setVisible(true);

Error:

In IE7, the first reload in DevMode crashes with:

com.google.gwt.core.client.JavaScriptException: (Error): Invalid
argument.
 number: -2147024809
 description: Invalid argument.
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript
(BrowserChannelServer.java:195)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke
(ModuleSpaceOOPHM.java:120)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative
(ModuleSpace.java:507)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid
(ModuleSpace.java:284)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid
(JavaScriptHost.java:107)
at com.google.gwt.dom.client.Element$.setPropertyString$
(Element.java)
at com.google.gwt.user.client.ui.CellPanel.setCellHeight
(CellPanel.java:104)
   

The next line in the stack trace is the first attempt at:
vPanel.setCellHeight(customWidget1, 0px);

FF (Win/Mac), Chrome (Win/Mac) all do this properly.
The IE7 dev plugin tells me gracefully that the server is
disconnected.
My eclipse console reports the above stack trace.

The end result is I have no application in IE.

(Now, someone is going to say: Why are you using VerticalPanels? Long
story, but I have not found a suitable replacement in the new UI
panels to handle sizing without becoming a PhD in CSS quirks.)

As I trace through the code, I am looking at this path:

- We programmatically set the cell height of the widget to 0px
(allowed by CSS) from its parent vPanel
- CellPanel.setCellHeight gets the widgetTd as an Element
- Element.setPropertyString sets the property string of 'height' to
'0px'
- this method is JSNI that sets this[name] = value in the
JavaScriptObject

I lose the code for a little while as it delegates through to
ModuleSpaceOOPHM(ModuleSpace).onLoad(TreeLogger).

When we try to exit the onModuleLoad via line 374 of
com.google.gwt.dev.shell.ModuleSpace
exit.invoke(null, true);

... we step into oblivion.

The user agent for this terrible show-stopping surprise for my
application is:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR
2.0.50727)

Help!








--

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=en.




Re: dead link on http://code.google.com/webtoolkit/doc/latest/DevGuide.html

2009-12-09 Thread Chris Ramsdale
Thanks for the heads up, we'll get this fixed asap. Glad to see that
everyone is perusing the latest doc.

- Chris

On Wed, Dec 9, 2009 at 5:04 PM, Peter Recore peterrec...@gmail.com wrote:

 The building a UI link on
 http://code.google.com/webtoolkit/doc/latest/DevGuide.html
 is dead.

 --

 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=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=en.




GWT 2.0 dead in IE7?

2009-12-09 Thread Stuart
@bruce, @jwg, @rjrjr

(and any other gwt'ers listening)

I just posted about a fairly severe show-stopper for my application
(that is, the app doesn't even finish onModuleLoad() in IE7 (see
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/952cdae8b5efa1d3)

I thought it was likely due to my code. So I built a dead simple
EntryPoint using the UiBinder wizard with a few touch ups:

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.HTMLPanel;
import com.google.gwt.user.client.ui.RootLayoutPanel;
import com.google.gwt.user.client.ui.Widget;

public class UiBinderTestForIE implements EntryPoint {

private static UiBinderTestForIEBinder uiBinder = GWT.create
(UiBinderTestForIEBinder.class);
interface UiBinderTestForIEBinder extends UiBinderWidget,
UiBinderTestForIE {}

@UiField Button button;
@UiField HTMLPanel htmlPanel;

public void onModuleLoad() {

Widget w = uiBinder.createAndBindUi(this);
RootLayoutPanel root = RootLayoutPanel.get();
root.add(w);
}

}

And here is the ui.xml

!DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent;
ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder
xmlns:g=urn:import:com.google.gwt.user.client.ui
ui:style
.important {
font-weight: bold;
}
/ui:style
g:HTMLPanel ui:field=htmlPanel
Hello,
g:Button styleName={style.important} ui:field=buttonUser/
g:Button
/g:HTMLPanel
/ui:UiBinder

When I launch this in Chrome / FF, I get what I expect. When launched
in IE7, there is nothing on the page. Yet, the console reports that
the module has been loaded.

At first I thought it was a problem with the developer plugin in IE,
so I compiled it and put it up on my App Engine sandbox:
http://uibindertestforie.latest.emcode-dev.appspot.com and tested from
two different machines. Works in FF/Chrome on both machines. Nothing
in IE7 on either machine.

What's the deal?

Again, it could be my code. But, really? GWT 2.0 is dead in IE7? I
can't actually believe it, so someone please tell me what I am doing
wrong.

Stuart

[cross-posting to gwt, gwt-contrib]

--

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=en.




UiBinder and FlexTable or Grid

2009-12-09 Thread FKereki
Hi! Is it possible to include a FlexTable or Grid with UiBinder? How
do you specify each cell? And, for FlexTables, how can you join cells
together?

--

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=en.




GWT 2.0 Using External Resources

2009-12-09 Thread fmk11
Hi,

I'm following the new Dev Guide for UiBinder, but I'm encountering a
problem with the @Resource annotation. Specifically, I'm getting
compile errors on @Resource .. anyone knows what needs to be
imported? It does not seems to be defined in ClientBundle.

I'm inheriting inherits name=com.google.gwt.resources.Resources /
 in my .gwt.xml but that does not seems to help.


Thanks in advance,

PS: This is the relevant piece of code:

public interface Resources extends ClientBundle {

@Resource(/stylesheets/colors.css)
Style colors();

public interface colors extends CssResource {
String  brickRedBg();
String  brickRedFg();
String  lightOrgangeBg();
String  lightOrgangeFg();
String  offWhiteBg();
String  offWhiteFg();
String  steelBlueBg();
String  steelBlueFg();
String  glaciarBlueBg();
String  glaciarBlueFg();
String  grayBg();
String  grayFg();
String  petrolBg();
String  petrolFg();
String  limeBg();
String  limeFg();
}
}

--

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=en.




Re: GWT 2.0 Eclipse Breakpoint Not Working

2009-12-09 Thread Craigo
I had this problem too.  It only asked for the Firefox plugin after I
deleted my projects compiled javascript under the war directory.

Also, after the FireFox plugin did get installed, I then restarted
everything, and Firefox froze and asked me if I wanted to terminate
the current script.  I said yes, and breakpoints worked, but code
updating didn't.  Restarted again, and said continue when Firefox
asked if I wanted to terminate the script.  Everything is working
great now!  :-)


On Dec 10, 10:41 am, Nick powers.n...@gmail.com wrote:
 I just updated my Eclipse plugin from GWT 1.7 to GWT 2.0. I got my
 application to run in a separate browser, however, it does not ask me
 to install a plugin, nor does it stop on breakpoints.

 Can anyone help me convert my 1.7 Eclipse GWT/App Engine project to
 GWT 2.0?

 What I've done:
 -Updated my Eclipse Plugin
 -Changed my GWT version to 2.0
 -Changed my App Engine version to 1.2.8
 -Deleted by current launch configurations
 -I launch by Right Click--Debug As--Web Application (the one with
 the 'G' on it).
 -I copy the URL give in the Development Mode tab in Eclipse and paste
 that into Chrome (I've tried FF and IE 7 as well).
 -My App appears and seems to work properly, but no question to install
 a plugin nor does it pay attention to breakpoints.

 If I can avoid creating a new project and copying it into that, I'd
 prefer it.

 I appreciate any help.

 -Nick

--

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=en.




How to disable default CSS when referenced libraries use standard theme?

2009-12-09 Thread Alex Luya
Hi,I have commented the entry inherits 
name='com.google.gwt.user.theme.standard.Standard' / in my project 
.gwt.xml ,But question is if referenced library uses inherits 
name='com.google.gwt.user.theme.standard.Standard' /,standard *css* 
will still be generated,even I have commented it in my own module(Web 
application). so Is there any way *disable default css* permanently? 
/group/google-web-toolkit/browse_thread/thread/1cb596205d469c80/afc1eda617fc09a0?lnk=gstq=how+to+disable+default+css#afc1eda617fc09a0
 

--

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=en.




Window.open to include gwt.codesvr parameter

2009-12-09 Thread Craigo
When Window.open(url, _blank, ); is called, it opens a new window
without the gwt.codesvr parameter.

Is there an option to tell it to include the gwt.codesvr parameter if
running in debug mode?

It is possible to code around it with something like this:
  String devMode = Window.Location.getParameter(gwt.codesvr);
  if (devMode != null) {
url += gwt.codesvr= + devMode;
  }

however, I would rather not have to do that.

--

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=en.




help debugging gwt apps with database

2009-12-09 Thread rjcarr
I'm an old school gwt user, and as such, so is my gwt project.  I
think it was initially created using GWT 1.3.  I have since updated
the SDK along the way and made the necessary changes (and just
completed the work for 2.0).

However, since my gwt project existed long before gwt had eclipse plug-
ins (or even ant scripts), I've never taken advantage of the gwt
debugging tools available to eclipse.

My project uses database connectivity so whenever I wanted to run
bytecode instead of javascript I needed to use the 'noserver' flag and
set up my own tomcat.

What I'd really like to do is use all the eclipse debugging features
for my project.  I've read the docs and they explain how to set up the
noserver but not how to debug (which is essentially what I already
have).

So, a couple questions:

 1) Can you use the gwt eclipse plug-in debugging tools if your server
runs a database?  If so, how?
 2) If debugging doesn't work with a database then is my only option
to set up eclipse to work with tomcat?

--

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=en.




Re: GWT 2.0.0 RC2 sample errors

2009-12-09 Thread Craigo
I got this error as soon as I tried to use the UiBinder on Java 5,
WinXP.  When I switched to Java 6, it all worked (or if I removed the
UiBinder).


On Dec 10, 6:40 am, Chris Ramsdale cramsd...@google.com wrote:
 While we are in the process of determining what exactly within the Mail
 sample isn't playing nicely with Java 5, is your application throwing the
 same error? If so, would you mind adding a code snippet to the issue that
 was linked within this thread?

 Thanks,
 Chris

 On Tue, Dec 8, 2009 at 12:03 PM, Thad thad.humphr...@gmail.com wrote:
  I'm seeing the problem on my Linux box running 1.5.0_17.  So long as
  the gold standard here is running on Macs, I don't want to develop in
  1.6 for fear of something that won't target 1.5 properly (I've been
  bitten on this before).

  On Dec 8, 11:32 am, Chris Ramsdale cramsd...@google.com wrote:
   This was only an issue on Windows for me, so I haven't had to upgrade to
   Java 6 on my Mac in order to run the Mail sample. Are you seeing it on
  Mac's
   with Java  6 installed?

   On Tue, Dec 8, 2009 at 10:52 AM, Thad thad.humphr...@gmail.com wrote:
The problem with Java 6 is that I still have to support some older Mac
servers with OS X 10.4.  They only run Java 1.5 or 1.4.2.

On Dec 7, 3:01 pm, Chris Ramsdale cramsd...@google.com wrote:
 Try upgrading to Java 6. More info is available here:

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

  --

  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=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=en.




Re: GWT 2.0.0 RC2 sample errors

2009-12-09 Thread piyush sharma
On 12/10/09, Craigo craig...@gmail.com wrote:

 I got this error as soon as I tried to use the UiBinder on Java 5,
 WinXP.  When I switched to Java 6, it all worked (or if I removed the
 UiBinder).


 On Dec 10, 6:40 am, Chris Ramsdale cramsd...@google.com wrote:
  While we are in the process of determining what exactly within the Mail
  sample isn't playing nicely with Java 5, is your application throwing the
  same error? If so, would you mind adding a code snippet to the issue that
  was linked within this thread?
 
  Thanks,
  Chris
 
  On Tue, Dec 8, 2009 at 12:03 PM, Thad thad.humphr...@gmail.com wrote:
   I'm seeing the problem on my Linux box running 1.5.0_17.  So long as
   the gold standard here is running on Macs, I don't want to develop in
   1.6 for fear of something that won't target 1.5 properly (I've been
   bitten on this before).
 
   On Dec 8, 11:32 am, Chris Ramsdale cramsd...@google.com wrote:
This was only an issue on Windows for me, so I haven't had to upgrade
 to
Java 6 on my Mac in order to run the Mail sample. Are you seeing it
 on
   Mac's
with Java  6 installed?
 
On Tue, Dec 8, 2009 at 10:52 AM, Thad thad.humphr...@gmail.com
 wrote:
 The problem with Java 6 is that I still have to support some older
 Mac
 servers with OS X 10.4.  They only run Java 1.5 or 1.4.2.
 
 On Dec 7, 3:01 pm, Chris Ramsdale cramsd...@google.com wrote:
  Try upgrading to Java 6. More info is available here:
 
 http://code.google.com/p/google-web-toolkit/issues/detail?id=4254
 
   --
 
   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%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@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.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=en.




Re: GWT 2.0.0 RC2 sample errors

2009-12-09 Thread piyush sharma
On 12/10/09, Chris Ramsdale cramsd...@google.com wrote:

 While we are in the process of determining what exactly within the Mail
 sample isn't playing nicely with Java 5, is your application throwing the
 same error? If so, would you mind adding a code snippet to the issue that
 was linked within this thread?


 Thanks,
 Chris


 On Tue, Dec 8, 2009 at 12:03 PM, Thad thad.humphr...@gmail.com wrote:

 I'm seeing the problem on my Linux box running 1.5.0_17.  So long as
 the gold standard here is running on Macs, I don't want to develop in
 1.6 for fear of something that won't target 1.5 properly (I've been
 bitten on this before).

 On Dec 8, 11:32 am, Chris Ramsdale cramsd...@google.com wrote:
  This was only an issue on Windows for me, so I haven't had to upgrade to
  Java 6 on my Mac in order to run the Mail sample. Are you seeing it on
 Mac's
  with Java  6 installed?
 

  On Tue, Dec 8, 2009 at 10:52 AM, Thad thad.humphr...@gmail.com wrote:
   The problem with Java 6 is that I still have to support some older Mac
   servers with OS X 10.4.  They only run Java 1.5 or 1.4.2.
 
   On Dec 7, 3:01 pm, Chris Ramsdale cramsd...@google.com wrote:
Try upgrading to Java 6. More info is available here:
 
   http://code.google.com/p/google-web-toolkit/issues/detail?id=4254


  --

 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=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.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=en.




Problem during upgrading to GWT 2.0

2009-12-09 Thread Simal
Hi all,

I'm sure this is related to build/run configurations but couldn't
figure it out after a long day..

I'm upgrading from GWT 1.7 to 2.0 and when I try to open up my
application in a browser, I get the
GWT module '' needs to be (re)compiled, please run a compile or
use the Compile/Browse button in hosted mode message.
I think this message is somehow from GWT 1.7 (since we no longer have
a Compile/Browse button in the hosted mode in 2.0).
I'm using Eclipse. I changed my build path and run configurations to
use the GWT 2.0 jar files. My war/WEB-INF/lib directory contains the
GWT 2.0 gwt-servlet.jar as well. I don't quite understand why it's
referring to a message from an earlier GWT version.

Can anyone think of a point I might be missing? Any other
configuration I should be looking into? Any specific ordering of the
jar files in the build path or run configurations? Any caching that
might be happening?

Thanks in advance,
Simal

--

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=en.




Re: How to disable default CSS when referenced libraries use standard theme?

2009-12-09 Thread piyush sharma
On 12/10/09, Alex Luya alexander.l...@gmail.com wrote:

 Hi,I have commented the entry inherits
 name='com.google.gwt.user.theme.standard.Standard' / in my project
 .gwt.xml ,But question is if referenced library uses inherits
 name='com.google.gwt.user.theme.standard.Standard' /,standard *css*
 will still be generated,even I have commented it in my own module(Web
 application). so Is there any way *disable default css* permanently?

 /group/google-web-toolkit/browse_thread/thread/1cb596205d469c80/afc1eda617fc09a0?lnk=gstq=how+to+disable+default+css#afc1eda617fc09a0

 --

 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=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=en.




Re: GWT 2.0 Eclipse Breakpoint Not Working

2009-12-09 Thread piyush sharma
On 12/10/09, Craigo craig...@gmail.com wrote:

 I had this problem too.  It only asked for the Firefox plugin after I
 deleted my projects compiled javascript under the war directory.

 Also, after the FireFox plugin did get installed, I then restarted
 everything, and Firefox froze and asked me if I wanted to terminate
 the current script.  I said yes, and breakpoints worked, but code
 updating didn't.  Restarted again, and said continue when Firefox
 asked if I wanted to terminate the script.  Everything is working
 great now!  :-)


 On Dec 10, 10:41 am, Nick powers.n...@gmail.com wrote:
  I just updated my Eclipse plugin from GWT 1.7 to GWT 2.0. I got my
  application to run in a separate browser, however, it does not ask me
  to install a plugin, nor does it stop on breakpoints.
 
  Can anyone help me convert my 1.7 Eclipse GWT/App Engine project to
  GWT 2.0?
 
  What I've done:
  -Updated my Eclipse Plugin
  -Changed my GWT version to 2.0
  -Changed my App Engine version to 1.2.8
  -Deleted by current launch configurations
  -I launch by Right Click--Debug As--Web Application (the one with
  the 'G' on it).
  -I copy the URL give in the Development Mode tab in Eclipse and paste
  that into Chrome (I've tried FF and IE 7 as well).
  -My App appears and seems to work properly, but no question to install
  a plugin nor does it pay attention to breakpoints.
 
  If I can avoid creating a new project and copying it into that, I'd
  prefer it.
 
  I appreciate any help.
 
  -Nick

 --

 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=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=en.




Re: GWT 2.0 Using External Resources

2009-12-09 Thread piyush sharma
On 12/10/09, fmk11 fkat...@gmail.com wrote:

 Hi,

 I'm following the new Dev Guide for UiBinder, but I'm encountering a
 problem with the @Resource annotation. Specifically, I'm getting
 compile errors on @Resource .. anyone knows what needs to be
 imported? It does not seems to be defined in ClientBundle.

 I'm inheriting inherits name=com.google.gwt.resources.Resources /
  in my .gwt.xml but that does not seems to help.


 Thanks in advance,

 PS: This is the relevant piece of code:

 public interface Resources extends ClientBundle {

@Resource(/stylesheets/colors.css)
Style colors();

public interface colors extends CssResource {
String  brickRedBg();
String  brickRedFg();
String  lightOrgangeBg();
String  lightOrgangeFg();
String  offWhiteBg();
String  offWhiteFg();
String  steelBlueBg();
String  steelBlueFg();
String  glaciarBlueBg();
String  glaciarBlueFg();
String  grayBg();
String  grayFg();
String  petrolBg();
String  petrolFg();
String  limeBg();
String  limeFg();
}
 }

 --

 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=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=en.




Re: UiBinder and FlexTable or Grid

2009-12-09 Thread piyush sharma
On 12/10/09, FKereki fker...@gmail.com wrote:

 Hi! Is it possible to include a FlexTable or Grid with UiBinder? How
 do you specify each cell? And, for FlexTables, how can you join cells
 together?

 --

 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=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=en.




Re: Problem during upgrading to GWT 2.0

2009-12-09 Thread Simal
OK.. I guess I found the reason.

The directory that gets automatically generated under war, the one
that has the module name, had to be deleted. I think the contents of
that folder were not getting updated after I compiled with GWT 2.0 and
it was kind of reading from cache.

Hope this helps someone..

- Simal

On Dec 10, 12:21 am, Simal simalhance...@gmail.com wrote:
 Hi all,

 I'm sure this is related to build/run configurations but couldn't
 figure it out after a long day..

 I'm upgrading from GWT 1.7 to 2.0 and when I try to open up my
 application in a browser, I get the
 GWT module '' needs to be (re)compiled, please run a compile or
 use the Compile/Browse button in hosted mode message.
 I think this message is somehow from GWT 1.7 (since we no longer have
 a Compile/Browse button in the hosted mode in 2.0).
 I'm using Eclipse. I changed my build path and run configurations to
 use the GWT 2.0 jar files. My war/WEB-INF/lib directory contains the
 GWT 2.0 gwt-servlet.jar as well. I don't quite understand why it's
 referring to a message from an earlier GWT version.

 Can anyone think of a point I might be missing? Any other
 configuration I should be looking into? Any specific ordering of the
 jar files in the build path or run configurations? Any caching that
 might be happening?

 Thanks in advance,
 Simal

--

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=en.




Re: GWT 2.0.0 RC2 sample errors

2009-12-09 Thread Craigo
A little more information:  I am able to compile using Java 5 (with
the UiBinder code) and run it on Tomcat running on Java 6 (Tomcat
running on Java 5 throws the error).


On Dec 10, 4:01 pm, Craigo craig...@gmail.com wrote:
 I got this error as soon as I tried to use the UiBinder on Java 5,
 WinXP.  When I switched to Java 6, it all worked (or if I removed the
 UiBinder).

 On Dec 10, 6:40 am, Chris Ramsdale cramsd...@google.com wrote:

  While we are in the process of determining what exactly within the Mail
  sample isn't playing nicely with Java 5, is your application throwing the
  same error? If so, would you mind adding a code snippet to the issue that
  was linked within this thread?

  Thanks,
  Chris

  On Tue, Dec 8, 2009 at 12:03 PM, Thad thad.humphr...@gmail.com wrote:
   I'm seeing the problem on my Linux box running 1.5.0_17.  So long as
   the gold standard here is running on Macs, I don't want to develop in
   1.6 for fear of something that won't target 1.5 properly (I've been
   bitten on this before).

   On Dec 8, 11:32 am, Chris Ramsdale cramsd...@google.com wrote:
This was only an issue on Windows for me, so I haven't had to upgrade to
Java 6 on my Mac in order to run the Mail sample. Are you seeing it on
   Mac's
with Java  6 installed?

On Tue, Dec 8, 2009 at 10:52 AM, Thad thad.humphr...@gmail.com wrote:
 The problem with Java 6 is that I still have to support some older Mac
 servers with OS X 10.4.  They only run Java 1.5 or 1.4.2.

 On Dec 7, 3:01 pm, Chris Ramsdale cramsd...@google.com wrote:
  Try upgrading to Java 6. More info is available here:

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

   --

   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=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=en.




  1   2   >