Re: GWT/GPE 2.3 unable to sign in with Google Apps account

2011-05-03 Thread Chris Ramsdale
Carl, Thibault, are you able to send me screenshots of your flow (and any
errors that you are seeing)?

-- Chris

On Tue, May 3, 2011 at 2:48 PM, David Chandler drfibona...@google.comwrote:

 Carl, Thibault, the GPE team is looking into this.

 Can you provide any more info on the custom SSO you're using?

 /dmc


 On Tue, May 3, 2011 at 11:26 AM, Thibault Pouget tpou...@gmail.comwrote:

 Hi,

 I get the same kind of error.
 We're using our own SSO solution and when trying to sign in I'm redirected
 to my SSO login page. Once logged in I get the same message.
 I guess scopes attribute has just been removed by our SSO.

 Would it possible to add feature allowing us to choose the way we want to
 connect/deploy ?
 (Either the old fashion way with password typing or the new OAuth way)

 For now, I see no other workaround than going back to previous GPE version
 (if we can call this a workaround...) which I regret since the Google APIs
 explorer is really useful.

 Thibault.

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




 --
 David Chandler
 Developer Programs Engineer, Google Web Toolkit
 w: http://code.google.com/
 b: http://googlewebtoolkit.blogspot.com/
 t: @googledevtools

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


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



[gwt-contrib] GWT SDK 2.3.0.RC1

2011-04-26 Thread Chris Ramsdale
Hey GWTC folks,

We have a GWT SDK 2.3.0.RC1 build that we would love feedback on. A big
change since M1 is the move of AutoBean and RequestFactory to a new package,
com.google.web.bindery. The old locations of AutoBean and RequestFactory
should still work, but are deprecated. Fixing the deprecation warnings for
the most part should be as simple as changing some import lines. If early
adopters could verify that assumption, we would be grateful.

The RC1 download can be found here:
http://code.google.com/p/google-web-toolkit/downloads/detail?name=gwt-2.3.0.rc1.zip


-- Chris/Ray, on behalf of the GWT team

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

Re: Error installing GWT 2.2 in eclipse 3.6

2011-02-15 Thread Chris Ramsdale
This was mentioned later in the thread, but you don't have to use the GWT
Designer that is bundled with the Google Plugin for Eclipse. The standalone
version (link below) will work just fine w/ the GWT 2.2 SDK.

http://code.google.com/webtoolkit/tools/download-gwtdesigner.html

The only requirement, for either the standalone or bundled version, is that
you remove any previous versions of GWT Designer before upgrading to 2.2.

Btw...for completeness, we did reset everything to the same version in this
release (GWT/GPE/GWTD = v2.2). Is was becoming difficult to have a sane
conversation about what recipe worked for which feature.

-- Chris

On Mon, Feb 14, 2011 at 9:44 AM, jonsm...@gmail.com jonsm...@gmail.comwrote:

 I have 2.2 running now. Initially I had a bunch of errors too. I
 uninstalled all versions WindowBuilder, GWT Plugin, GWT Designer -
 then reinstalled the GWT Plugin. You don't need to mess with the SDKs.
 In my case pieces from various releases of the GWT Designers were
 interfering with each other. You have to use the GWT designer that
 comes in the GWT Plugin.

 --
 Jon Smirl
 jonsm...@gmail.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-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



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



Re: Error installing GWT 2.2 in eclipse 3.6

2011-02-15 Thread Chris Ramsdale
Alex,

Can you tell us what components you currently have installed within Eclipse?
(Install New Software... menu option, and then click on the already
installed link)

Thanks,
Chris


On Tue, Feb 15, 2011 at 2:48 AM, alexoffspring alessales...@gmail.comwrote:

 Thanks for your reply

 We will be waiting for the update


 --alex

 On 15 Feb, 01:34, Chris Ramsdale cramsd...@google.com wrote:
  Thanks for all of the feedback. We're looking into the installation
 issues
  and will have an update asap.
 
  -- Chris
  On Feb 14, 2011 11:33 AM, alexoffspring alessales...@gmail.com
 wrote:
 
   It cannot be considered acceptable to have all these problems just for
   an upgrade.
   Somebody from Google should tell where in the release notes (http://
   code.google.com/intl/it-IT/webtoolkit/doc/latest/ReleaseNotes.html)
   it is written that GWT 2.2.0 have all these dependency problems. The
   procedure for installation linked in the releasenotes is the same as
   always, and the unique way to ask for help with installation problems
   is this forum.
 
   But still nobody from Google is giving the solution.
 
Up until now, GWT Designer was independent of GWT and GPE.
 
Now they are integrating and (kind of) uniting.
 
So I consider it acceptable that one must remove and old and
incompatible version of GWT designer before installing the new one,
which is now integrated into GPE.
 
   --
   You received this message because you are subscribed to the Google
 Groups
 
  Google Web Toolkit group. To post to this group, send email to
 google-web-toolkit@googlegroups.com.
   To unsubscribe from this group, send email to
 
  google-web-toolkit+unsubscr...@googlegroups.com. For more options,
 visit this group at
 
  http://groups.google.com/group/google-web-toolkit?hl=en.
 
 

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



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



Re: Error installing GWT 2.2 in eclipse 3.6

2011-02-14 Thread Chris Ramsdale
Thanks for all of the feedback. We're looking into the installation issues
and will have an update asap.

-- Chris
On Feb 14, 2011 11:33 AM, alexoffspring alessales...@gmail.com wrote:
 It cannot be considered acceptable to have all these problems just for
 an upgrade.
 Somebody from Google should tell where in the release notes (http://
 code.google.com/intl/it-IT/webtoolkit/doc/latest/ReleaseNotes.html)
 it is written that GWT 2.2.0 have all these dependency problems. The
 procedure for installation linked in the releasenotes is the same as
 always, and the unique way to ask for help with installation problems
 is this forum.

 But still nobody from Google is giving the solution.





  Up until now, GWT Designer was independent of GWT and GPE.

  Now they are integrating and (kind of) uniting.

  So I consider it acceptable that one must remove and old and
  incompatible version of GWT designer before installing the new one,
  which is now integrated into GPE.


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


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



Announcing GPE/GWT 2.2 RC1

2011-02-07 Thread Chris Ramsdale
   Today we're one step closer to shipping the Google Plugin for Eclipse and
   GWT SDK 2.2. The first release candidates of both of these products are
   ready for use, and can be installed and/or download via the links below.

   Google Plugin for Eclipse 2.2 RC1 (including the GWT SDK)
   Eclipse 3.6
   http://dl.google.com/eclipse/plugin/beta/e36

   Eclipse 3.5
   http://dl.google.com/eclipse/plugin/beta/e35

   Eclipse 3.4
   http://dl.google.com/eclipse/plugin/beta/e34




   GWT SDK 2.2 RC1 (standalone)

   
http://code.google.com/p/google-web-toolkit/downloads/detail?name=gwt-2.2-RC1.zip




   This release includes fixes and updates for the following items:
   - Fixed bad date formats in Swedish and others
  - Added initial version of HTML5 Audio and Video support
  - Added JRE 1.5 deprecation warning (see note below)
  - Fixed bad gwt-servlet dep in samples/expenses/pom.xml, per
  http://code.google.com/p/google-web-toolkit/issues/detail?id=5918
  - Fixed Javadoc:
  http://code.google.com/p/google-web-toolkit/issues/detail?q=5615
  - Fixed DynaTableRf paging infinite loop
  - Fixed CellBrowser hard to focus in IE
  - Bumped pom.xml version, and fix NPE in samples/expenses
  - Improved canvas for browsers (and permutations) with partial canvas
  support.
  - Updated DTRF to show the use of ServiceLocators and Locators
  - Fixed Showcase locales

   GPE 2.2 RC1
   - Fixed Widget is disposed errors that occur when editing Launch
  Configurations
  - Fixed NullPointerException that occurs when deleting a launch
  configuration that has been launched


   Version 2.2 will only have deprecated support for Java 1.5, resulting in
   warnings when building applications. While Java 1.5 will still work for at
   least the next release of GWT, developers should upgrade their version of
   Java to correct these warnings and ensure compatibility with future versions
   of GWT.




   -- Chris, on behalf of the GWT, App Engine, and Google Plugin teams

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



[gwt-contrib] Announcing GPE/GWT 2.2 RC1

2011-02-07 Thread Chris Ramsdale
   Today we're one step closer to shipping the Google Plugin for Eclipse and
   GWT SDK 2.2. The first release candidates of both of these products are
   ready for use, and can be installed and/or download via the links below.

   Google Plugin for Eclipse 2.2 RC1 (including the GWT SDK)
   Eclipse 3.6
   http://dl.google.com/eclipse/plugin/beta/e36

   Eclipse 3.5
   http://dl.google.com/eclipse/plugin/beta/e35

   Eclipse 3.4
   http://dl.google.com/eclipse/plugin/beta/e34




   GWT SDK 2.2 RC1 (standalone)

   
http://code.google.com/p/google-web-toolkit/downloads/detail?name=gwt-2.2-RC1.zip




   This release includes fixes and updates for the following items:
   - Fixed bad date formats in Swedish and others
  - Added initial version of HTML5 Audio and Video support
  - Added JRE 1.5 deprecation warning (see note below)
  - Fixed bad gwt-servlet dep in samples/expenses/pom.xml, per
  http://code.google.com/p/google-web-toolkit/issues/detail?id=5918
  - Fixed Javadoc:
  http://code.google.com/p/google-web-toolkit/issues/detail?q=5615
  - Fixed DynaTableRf paging infinite loop
  - Fixed CellBrowser hard to focus in IE
  - Bumped pom.xml version, and fix NPE in samples/expenses
  - Improved canvas for browsers (and permutations) with partial canvas
  support.
  - Updated DTRF to show the use of ServiceLocators and Locators
  - Fixed Showcase locales

   GPE 2.2 RC1
   - Fixed Widget is disposed errors that occur when editing Launch
  Configurations
  - Fixed NullPointerException that occurs when deleting a launch
  configuration that has been launched


   Version 2.2 will only have deprecated support for Java 1.5, resulting in
   warnings when building applications. While Java 1.5 will still work for at
   least the next release of GWT, developers should upgrade their version of
   Java to correct these warnings and ensure compatibility with future versions
   of GWT.




   -- Chris, on behalf of the GWT, App Engine, and Google Plugin teams

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

Re: Announcing GPE/GWT 2.2M1

2011-01-27 Thread Chris Ramsdale
We are looking at ways to have the Ext GWT and Smart GWT folks take over
this portion of the GWT Designer. For 2.2 we will have an updated stand
alone version that still has this support.

-- Chris

On Thu, Jan 27, 2011 at 2:30 PM, Dave Laycock dave.layc...@gmail.comwrote:

 Will the final release have feature parity with GWT Designer? It looks like
 Ext GWT and Smart GWT are not supported in this plugin.

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


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



Re: Upgrade to GWT 2.1.1

2011-01-04 Thread Chris Ramsdale
Those are the target dates, and it should include an updated STS.

-- Chris

On Tue, Jan 4, 2011 at 8:42 AM, Aldo Neto tumo...@gmail.com wrote:

 Tks Chris,

 I believed that this was the problem (although I disabled the Roo from my
 project). But I found that the problem is actually with the Maven GWT
 version. Once Maven is referencing a GWT 2.1 jar file, the errors I'm
 getting are due to the incompatibility with the GWT defined in my project
 (which I changed to 2.1.1). I renamed my GWT 2.1.1 jar files to be placed as
 Maven 2.1 and it worked, but I saw somewhere that ROO is about to release
 Roo 1.1.1 (Jan - 7th) and I assume the STS will be updated as well, so I'll
 keep working with the 2.1 for now until Roo is also updated.

 Thanks,
 Aldo

 On Mon, Jan 3, 2011 at 5:58 PM, Chris Ramsdale cramsd...@google.comwrote:

 Aldo,

 If this is a Roo-generated app, you'll need to wait to until Roo 1.1.1 is
 released to upgrade to GWT 2.1.1. For now Roo-generated apps are only
 compatible with GWT 2.1.

 -- Chris

 On Fri, Dec 31, 2010 at 11:28 AM, Aldo Neto tumo...@gmail.com wrote:

 Hi All,

 I'm using STS 2.5.1 (i.e. Eclipse 3.6) and tried to upgrade to GWT 2.1.1,
 but I'm not able to do so. I updated the plugin and the SDK, updated the
 project reference to use them and compile the project. It all worked fine,
 but when I tried to run the project I got the errors below.

 Does anybody has any idea of what I'm doing wrong here?

 Thanks


 [ERROR] [applicationScaffold] - Errors in
 'jar:file:/D:/springsource/sts-2.5.1.RELEASE/plugins/com.google.gwt.eclipse.sdkbundle.2.1.1_2.1.1.v201012170127/gwt-2.1.1/gwt-user.jar!/com/google/gwt/requestfactory/client/impl/AbstractClientRequestFactory.java'
  [ERROR] [applicationScaffold] - Line 29: The constructor
 DefaultRequestTransport() is undefined
 [ERROR] [applicationScaffold] - Errors in
 'jar:file:/D:/springsource/sts-2.5.1.RELEASE/plugins/com.google.gwt.eclipse.sdkbundle.2.1.1_2.1.1.v201012170127/gwt-2.1.1/gwt-user.jar!/com/google/gwt/requestfactory/shared/DefaultProxyStore.java'
  [ERROR] [applicationScaffold] - Line 37: No source code is available
 for type com.google.gwt.autobean.shared.AutoBeanT; did you forget to
 inherit a required module?
  [ERROR] [applicationScaffold] - Line 38: No source code is available
 for type com.google.gwt.autobean.shared.Splittable; did you forget to
 inherit a required module?
  [ERROR] [applicationScaffold] - Line 60: No source code is available
 for type com.google.gwt.autobean.shared.AutoBeanCodex; did you forget to
 inherit a required module?
  [ERROR] [applicationScaffold] - Errors in
 'jar:file:/D:/springsource/sts-2.5.1.RELEASE/plugins/com.google.gwt.eclipse.sdkbundle.2.1.1_2.1.1.v201012170127/gwt-2.1.1/gwt-user.jar!/com/google/gwt/requestfactory/shared/ProxyStore.java'
  [ERROR] [applicationScaffold] - Line 36: No source code is available
 for type com.google.gwt.autobean.shared.Splittable; did you forget to
 inherit a required module?
  [ERROR] [applicationScaffold] - Errors in
 'jar:file:/D:/springsource/sts-2.5.1.RELEASE/plugins/com.google.gwt.eclipse.sdkbundle.2.1.1_2.1.1.v201012170127/gwt-2.1.1/gwt-user.jar!/com/google/gwt/requestfactory/shared/impl/AbstractRequest.java'
  [ERROR] [applicationScaffold] - Line 39: Bound mismatch: The type
 BaseProxy is not a valid substitute for the bounded parameter P extends
 EntityProxy of the type InstanceRequestP,T
  [ERROR] [applicationScaffold] - Line 113: No source code is available
 for type com.google.gwt.autobean.shared.Splittable; did you forget to
 inherit a required module?
  [ERROR] [applicationScaffold] - Errors in
 'jar:file:/D:/springsource/sts-2.5.1.RELEASE/plugins/com.google.gwt.eclipse.sdkbundle.2.1.1_2.1.1.v201012170127/gwt-2.1.1/gwt-user.jar!/com/google/gwt/requestfactory/shared/impl/AbstractRequestContext.java'
  [ERROR] [applicationScaffold] - Line 19: The import
 com.google.gwt.requestfactory.shared.impl.Constants.REQUEST_CONTEXT cannot
 be resolved
 [ERROR] [applicationScaffold] - Line 63: The type AbstractRequestContext
 must implement the inherited abstract method RequestContext.create(ClassT)
  [ERROR] [applicationScaffold] - Line 63: The type
 AbstractRequestContext must implement the inherited abstract method
 RequestContext.edit(T)
 [ERROR] [applicationScaffold] - Line 374: Constants.VERSION_PROPERTY_B64
 cannot be resolved
  [ERROR] [applicationScaffold] - Line 411:
 Constants.VERSION_PROPERTY_B64 cannot be resolved
 [ERROR] [applicationScaffold] - Line 511: REQUEST_CONTEXT cannot be
 resolved
  [ERROR] [applicationScaffold] - Line 606: The type new
 RequestTransport.TransportReceiver(){} must implement the inherited abstract
 method RequestTransport.TransportReceiver.onTransportFailure(String)
  [ERROR] [applicationScaffold] - Line 616: The constructor
 ServerFailure(String, String, String, boolean) is undefined
 [ERROR] [applicationScaffold] - Line 654: The constructor
 ServerFailure(String, String, String, boolean) is undefined
  [ERROR

Re: Upgrade to GWT 2.1.1

2011-01-03 Thread Chris Ramsdale
Aldo,

If this is a Roo-generated app, you'll need to wait to until Roo 1.1.1 is
released to upgrade to GWT 2.1.1. For now Roo-generated apps are only
compatible with GWT 2.1.

-- Chris

On Fri, Dec 31, 2010 at 11:28 AM, Aldo Neto tumo...@gmail.com wrote:

 Hi All,

 I'm using STS 2.5.1 (i.e. Eclipse 3.6) and tried to upgrade to GWT 2.1.1,
 but I'm not able to do so. I updated the plugin and the SDK, updated the
 project reference to use them and compile the project. It all worked fine,
 but when I tried to run the project I got the errors below.

 Does anybody has any idea of what I'm doing wrong here?

 Thanks


 [ERROR] [applicationScaffold] - Errors in
 'jar:file:/D:/springsource/sts-2.5.1.RELEASE/plugins/com.google.gwt.eclipse.sdkbundle.2.1.1_2.1.1.v201012170127/gwt-2.1.1/gwt-user.jar!/com/google/gwt/requestfactory/client/impl/AbstractClientRequestFactory.java'
  [ERROR] [applicationScaffold] - Line 29: The constructor
 DefaultRequestTransport() is undefined
 [ERROR] [applicationScaffold] - Errors in
 'jar:file:/D:/springsource/sts-2.5.1.RELEASE/plugins/com.google.gwt.eclipse.sdkbundle.2.1.1_2.1.1.v201012170127/gwt-2.1.1/gwt-user.jar!/com/google/gwt/requestfactory/shared/DefaultProxyStore.java'
  [ERROR] [applicationScaffold] - Line 37: No source code is available for
 type com.google.gwt.autobean.shared.AutoBeanT; did you forget to inherit a
 required module?
  [ERROR] [applicationScaffold] - Line 38: No source code is available for
 type com.google.gwt.autobean.shared.Splittable; did you forget to inherit a
 required module?
  [ERROR] [applicationScaffold] - Line 60: No source code is available for
 type com.google.gwt.autobean.shared.AutoBeanCodex; did you forget to inherit
 a required module?
  [ERROR] [applicationScaffold] - Errors in
 'jar:file:/D:/springsource/sts-2.5.1.RELEASE/plugins/com.google.gwt.eclipse.sdkbundle.2.1.1_2.1.1.v201012170127/gwt-2.1.1/gwt-user.jar!/com/google/gwt/requestfactory/shared/ProxyStore.java'
  [ERROR] [applicationScaffold] - Line 36: No source code is available for
 type com.google.gwt.autobean.shared.Splittable; did you forget to inherit a
 required module?
  [ERROR] [applicationScaffold] - Errors in
 'jar:file:/D:/springsource/sts-2.5.1.RELEASE/plugins/com.google.gwt.eclipse.sdkbundle.2.1.1_2.1.1.v201012170127/gwt-2.1.1/gwt-user.jar!/com/google/gwt/requestfactory/shared/impl/AbstractRequest.java'
  [ERROR] [applicationScaffold] - Line 39: Bound mismatch: The type
 BaseProxy is not a valid substitute for the bounded parameter P extends
 EntityProxy of the type InstanceRequestP,T
  [ERROR] [applicationScaffold] - Line 113: No source code is available for
 type com.google.gwt.autobean.shared.Splittable; did you forget to inherit a
 required module?
  [ERROR] [applicationScaffold] - Errors in
 'jar:file:/D:/springsource/sts-2.5.1.RELEASE/plugins/com.google.gwt.eclipse.sdkbundle.2.1.1_2.1.1.v201012170127/gwt-2.1.1/gwt-user.jar!/com/google/gwt/requestfactory/shared/impl/AbstractRequestContext.java'
  [ERROR] [applicationScaffold] - Line 19: The import
 com.google.gwt.requestfactory.shared.impl.Constants.REQUEST_CONTEXT cannot
 be resolved
 [ERROR] [applicationScaffold] - Line 63: The type AbstractRequestContext
 must implement the inherited abstract method RequestContext.create(ClassT)
  [ERROR] [applicationScaffold] - Line 63: The type AbstractRequestContext
 must implement the inherited abstract method RequestContext.edit(T)
 [ERROR] [applicationScaffold] - Line 374: Constants.VERSION_PROPERTY_B64
 cannot be resolved
  [ERROR] [applicationScaffold] - Line 411: Constants.VERSION_PROPERTY_B64
 cannot be resolved
 [ERROR] [applicationScaffold] - Line 511: REQUEST_CONTEXT cannot be
 resolved
  [ERROR] [applicationScaffold] - Line 606: The type new
 RequestTransport.TransportReceiver(){} must implement the inherited abstract
 method RequestTransport.TransportReceiver.onTransportFailure(String)
  [ERROR] [applicationScaffold] - Line 616: The constructor
 ServerFailure(String, String, String, boolean) is undefined
 [ERROR] [applicationScaffold] - Line 654: The constructor
 ServerFailure(String, String, String, boolean) is undefined
  [ERROR] [applicationScaffold] - Line 698: REQUEST_CONTEXT cannot be
 resolved
 [ERROR] [applicationScaffold] - Line 845: REQUEST_CONTEXT cannot be
 resolved
  [ERROR] [applicationScaffold] - Errors in
 'jar:file:/D:/springsource/sts-2.5.1.RELEASE/plugins/com.google.gwt.eclipse.sdkbundle.2.1.1_2.1.1.v201012170127/gwt-2.1.1/gwt-user.jar!/com/google/gwt/requestfactory/shared/impl/AbstractRequestFactory.java'
  [ERROR] [applicationScaffold] - Line 18: The import
 com.google.gwt.requestfactory.shared.impl.Constants.STABLE_ID cannot be
 resolved
 [ERROR] [applicationScaffold] - Line 65: STABLE_ID cannot be resolved
  [ERROR] [applicationScaffold] - Line 95: The method getTypeToken(Class?
 extends BaseProxy) in the type IdFactory is not applicable for the
 arguments (Classcapture#1-of ? extends EntityProxy)
  [ERROR] [applicationScaffold] - Line 105: 

Re: [gwt-contrib] Would GWT and/or incubator be interested in Run Time UiBinding

2010-11-15 Thread Chris Ramsdale
This looks very interesting, indeed. Quick question though, how would one go
about hooking up event handlers to the views that are bound on the fly? Say
I wanted to do something trivial like validating user input in a cell?

-- Chris

On Fri, Nov 12, 2010 at 8:09 AM, TedM ted.malask...@gmail.com wrote:

 Hi,

 I made a run time UiBinding prototype.  This allows for the creation
 of forms or screens without having to recompile.  Let me know if GWT
 or the incubator is interested.  If so I will release the code as an
 open source project on google source.

 Here is the prototype hosted on Google App Engine

 http://gwt-binding-fly.appspot.com/

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


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

Re: 2.1 Documentation

2010-10-06 Thread Chris Ramsdale
Aldo, we're still on track for a release in the Oct. timeframe. Is there
some other aspect that makes it a poor choice?

On Wed, Sep 29, 2010 at 3:11 PM, Aldo tumo...@gmail.com wrote:

 My only question is: when will GWT 2.1 M4 be available? And when will
 it be released (the GA)? It seems like the due dates are always being
 updated and we all we can do is wait until we get it. I'm about to
 start an enterprise project and I chose GWT 2.1 because of the
 promises, but apparently it was a poor choice. I knew I'd start it
 around  October but now until when I'll have to wait to get the final
 release?

 Thanks

 On Aug 18, 10:08 am, David Chandler drfibona...@google.com wrote:
  The design waves Thomas referenced (thank you, Thomas) are shared with
  members of the google-web-toolkit-contributors group, which is the
  best place to participate in ongoing development of the MVP features
  in2.1.
 
  Expect documentation on2.1MVP to begin appearing with2.1M4and full
  docs to be available with the2.1release.
 
  /dmc
  David Chandler
  Google Web Toolkit Team
 
  On Aug 17, 11:40 am, Thomas Broyer t.bro...@gmail.com wrote:
 
 
 
   On 16 août, 03:58, Bayard Randel k...@bestpractice.org.nz wrote:
 
Hi there,
 
Is there any preliminary documentation around the new features in2.1,
particularly the MVP implementation? I'm going to be starting a large
GWT project shortly, but am somewhat hesitant to get started knowing
that official support for MVP is forthcoming.
 
   Seehttps://wave.google.com/wave/waveref/googlewave.com/w+eva-sERfA
 
   There are other waves that could interest you, about Cell widgets,
   Validation, RequestFactory, etc.
   Seehttps://wave.google.com/wave/waveref/googlewave.com/w+A-PZdxsLNas
   a starting point
   And the JavaDoc is here:
 http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/index.html

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: New GWT 2.0 Book

2010-10-05 Thread Chris Ramsdale
Just to clarify, I donated my time to submit a few chapters and to
review some of the other content that is going into the book. And yes,
you read that right...I donated my time. We don't accept royalties at
Google. I can't comment on the amount of 2.1 content in the book, but
I can say definitively that the GWT team is in the process of wrapping
up documentation on:

- Cell-based widgets
- RequestFactory
- Activities and Places

-- Chris

On Oct 1, 1:38 pm, Tommy Lui tlui1...@gmail.com wrote:
 Hi,

 Please help me understand why Chris Ramsdale (Google's Developer
 Relations team to develop and advocate GWT best practices.) is
 writting a book about GWT 2.1 when he works at Google on the GWT team
 and there's no official documentation, except for a few waves
 available to the developer community.

 Is this some way for him to force developers to buy his book?

 http://www.manning.com/bambury/

 The book is due to be release in 2011, so I'm sure it's GWT 2.1 not
 GWT 2.0 content.

 I'm hoping that I'm not the only person really pissed off about this.

 I'd really like other peoples opinions on this topic

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post 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: New GWT 2.0 Book

2010-10-05 Thread Chris Ramsdale
Thanks, it's not my book though. The vast majority of the book is
being written by Robert Hanson and Adam Tracy (the original authors of
GWT In Action).

On Oct 5, 2:06 pm, Y2i yur...@gmail.com wrote:
 Chris,

 Nice to hear from you.  Really appreciate your articles on MVP.
 Please elaborate more on GWT 2.1 MVP support in your book.

 Thanks,
 Yuri

 On Oct 5, 10:19 am, Chris Ramsdale cramsd...@google.com wrote:







  Just to clarify, I donated my time to submit a few chapters and to
  review some of the other content that is going into the book. And yes,
  you read that right...I donated my time. We don't accept royalties at
  Google. I can't comment on the amount of 2.1 content in the book, but
  I can say definitively that the GWT team is in the process of wrapping
  up documentation on:

  - Cell-based widgets
  - RequestFactory
  - Activities and Places

  -- Chris

  On Oct 1, 1:38 pm, Tommy Lui tlui1...@gmail.com wrote:

   Hi,

   Please help me understand why Chris Ramsdale (Google's Developer
   Relations team to develop and advocate GWT best practices.) is
   writting a book about GWT 2.1 when he works at Google on the GWT team
   and there's no official documentation, except for a few waves
   available to the developer community.

   Is this some way for him to force developers to buy his book?

  http://www.manning.com/bambury/

   The book is due to be release in 2011, so I'm sure it's GWT 2.1 not
   GWT 2.0 content.

   I'm hoping that I'm not the only person really pissed off about this.

   I'd really like other peoples opinions on this topic

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post 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: Can not download gwt developer plugin

2010-09-02 Thread Chris Ramsdale
There was an update on our side yesterday and the Developer Plugin page has
been restored. Please let us know if you still experience problems.

-- Chris

On Fri, Aug 27, 2010 at 5:47 PM, Chris Ramsdale cramsd...@google.comwrote:

 You can also use this link in the interim:

  http://gwt.google.com/samples/MissingPlugin


 On Fri, Aug 27, 2010 at 10:45 AM, David Chandler (Google) 
 drfibona...@google.com wrote:

 Oops, there is a broken URL mapping. This will be fixed shortly.

 /dmc
 David Chandler
 Developer Programs Engineer, Google Web Toolkit

 On Aug 26, 9:39 am, Guillaume Lasnier guillaume.ph.lasn...@gmail.com
 wrote:
  Hi,
  I have the same problem not being able to install the GWT
 developerpluginon any browser because the link is broken. Google please
 help,
  this is critical!!!
 
  Please find below the install url for eachpluginI got using the
  cached page on Google:
 
  firefox-old :
{
  caption : Sorry, the GWT DeveloperPluginonly supports
  Firefox 3.0 and 3.5 at present,
  url : http://www.getfirefox.com;,
  supported : false
},
 
opera :
{
  caption : Sorry, there is currently no GWT
 DeveloperPluginfor Opera,
  // TODO(you): If you are reading this, maybe you would be
  interested in contributing an Opera version?
  url : http://code.google.com/webtoolkit/
  makinggwtbetter.html#contributingcode,
  supported : false
},
 
safari-iphone :
{
  caption : Sorry, there is currently no GWT
 DeveloperPluginfor mobile Safari,
  url : troubleshootingUrl,
  supported : false
},
 
webkit-android :
{
  caption : Sorry, there is currently no GWT
 DeveloperPluginfor mobile WebKit,
  url : troubleshootingUrl,
  supported : false
},
 
chrome-lin :
{
  caption : Sorry, there is currently no GWT
 DeveloperPluginfor Chrome on Linux,
  url : troubleshootingUrl,
  supported : false
},
 
chrome-mac :
{
  caption : Sorry, there is currently no GWT
 DeveloperPluginfor Chrome on OS X,
  url : troubleshootingUrl,
  supported : false
},
 
chrome-win :
{
  caption : The GWT DeveloperPluginrequires Chrome 4 or
  later,brso click here to learn about switching to the Chrome
  DevChannel to get early access,
  url : http://dev.chromium.org/getting-involved/dev-
  channel,
  supported : false
},
 
safari-win :
{
  caption : Sorry, there is currently no GWT
 DeveloperPluginfor Safari on Windows,
  url : troubleshootingUrl,
  supported : false
},
 
firefox :
{
  caption : Download the GWT DeveloperPluginbrFor
  Firefox,
  url : https://dl-ssl.google.com/gwt/plugins/firefox/gwt-
  dev-plugin.xpi,
  platforms : Win x86, Linux x86/x86_64, Mac x86/PPC,
  supported : true
},
 
ie :
{
  caption : Download the GWT DeveloperPluginbrFor
  Internet Explorer,
  url : https://dl-ssl.google.com/tag/s/appguid%3D
  %7B9a5e649a-ec63-4c7d-99bf-75adb345e7e5%7D%26lang%3Den%26appname%3DGWT
  %2520Developer%2520Plugin%2520for%2520IE%26needsadmin%3Dfalse/gwt/
  plugins/ie/GwtDevPluginSetup.exe,
  platforms : Win x86,
  supported : true
},
 
chrome4-win :
{
  caption : Download the GWT DeveloperPluginbrFor
  Chrome,
  url : https://dl-ssl.google.com/gwt/plugins/chrome/gwt-
  dev-plugin.crx,
  platforms : Win x86,
  supported : true
},
 
safari-mac :
{
  caption : Download the GWT DeveloperPluginbrFor
  Safari,
  url : https://dl-ssl.google.com/gwt/plugins/safari/gwt-
  dev-plugin.dmg,
  platforms : Mac x86/x86_64/PPC,
  supported : true
}

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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

Re: GWT eat your own dogfood ? Future of GWT ?

2010-08-27 Thread Chris Ramsdale
This is true, you shouldn't be moderated on each post. Is this not the case?

-- Chris

On Fri, Aug 27, 2010 at 3:39 AM, Shawn Brown big.coffee.lo...@gmail.comwrote:

  Unfortunately, we have to manually approve posts from new members to
 . We typically review postings from new members several
  times a day. After that, your posts should appear immediately.
 

  Please, consider removing this manual control spam. It is slowing
  down the community. We have to wait for official Google presence in
  the groups for us to keep talking about how to solve our problems. I
  do not post most of the times because I know it will take around a day
  to see my post here and get reply for anyone.

 The only way I see it taking Google moderation every time is if you
 are using a new member name for each message.  As I am sure you are
 not, it seems you don't understand the manual control spam system
 they have.  I don't see a problem here.

 Shawn

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Difficulty with GWT Developer Plugin Chrome Firefox

2010-08-27 Thread Chris Ramsdale
Here's a temporary link while we wait for update to propagate. Let me know
if it still doesn't work.

 http://gwt.google.com/samples/MissingPlugin

-- Chris

On Wed, Aug 25, 2010 at 2:25 PM, Chris Rowland 
chris.robert.rowl...@gmail.com wrote:

 I'm doing some work with the most recent version of GWT (have been
 working using the old hosted mode for quite a while) and I'm having
 issues getting the developer addin installed in Chrome and Firefox.
 When pasting the URL provided by the eclipse plugin, IE prompted to
 install the addin and it worked ok.

 However, when doing the same thing in Chrome and Firefox, it failed.

 In Chrome, it simply said the addin was missing.  With Firefox it said
 it was missing, but couldn't find it.

 I wasn't able to find anywhere to download the installer manually,
 either.

 Any advice?

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Can not download gwt developer plugin

2010-08-27 Thread Chris Ramsdale
You can also use this link in the interim:

 http://gwt.google.com/samples/MissingPlugin

On Fri, Aug 27, 2010 at 10:45 AM, David Chandler (Google) 
drfibona...@google.com wrote:

 Oops, there is a broken URL mapping. This will be fixed shortly.

 /dmc
 David Chandler
 Developer Programs Engineer, Google Web Toolkit

 On Aug 26, 9:39 am, Guillaume Lasnier guillaume.ph.lasn...@gmail.com
 wrote:
  Hi,
  I have the same problem not being able to install the GWT
 developerpluginon any browser because the link is broken. Google please
 help,
  this is critical!!!
 
  Please find below the install url for eachpluginI got using the
  cached page on Google:
 
  firefox-old :
{
  caption : Sorry, the GWT DeveloperPluginonly supports
  Firefox 3.0 and 3.5 at present,
  url : http://www.getfirefox.com;,
  supported : false
},
 
opera :
{
  caption : Sorry, there is currently no GWT
 DeveloperPluginfor Opera,
  // TODO(you): If you are reading this, maybe you would be
  interested in contributing an Opera version?
  url : http://code.google.com/webtoolkit/
  makinggwtbetter.html#contributingcode,
  supported : false
},
 
safari-iphone :
{
  caption : Sorry, there is currently no GWT
 DeveloperPluginfor mobile Safari,
  url : troubleshootingUrl,
  supported : false
},
 
webkit-android :
{
  caption : Sorry, there is currently no GWT
 DeveloperPluginfor mobile WebKit,
  url : troubleshootingUrl,
  supported : false
},
 
chrome-lin :
{
  caption : Sorry, there is currently no GWT
 DeveloperPluginfor Chrome on Linux,
  url : troubleshootingUrl,
  supported : false
},
 
chrome-mac :
{
  caption : Sorry, there is currently no GWT
 DeveloperPluginfor Chrome on OS X,
  url : troubleshootingUrl,
  supported : false
},
 
chrome-win :
{
  caption : The GWT DeveloperPluginrequires Chrome 4 or
  later,brso click here to learn about switching to the Chrome
  DevChannel to get early access,
  url : http://dev.chromium.org/getting-involved/dev-
  channel,
  supported : false
},
 
safari-win :
{
  caption : Sorry, there is currently no GWT
 DeveloperPluginfor Safari on Windows,
  url : troubleshootingUrl,
  supported : false
},
 
firefox :
{
  caption : Download the GWT DeveloperPluginbrFor
  Firefox,
  url : https://dl-ssl.google.com/gwt/plugins/firefox/gwt-
  dev-plugin.xpi,
  platforms : Win x86, Linux x86/x86_64, Mac x86/PPC,
  supported : true
},
 
ie :
{
  caption : Download the GWT DeveloperPluginbrFor
  Internet Explorer,
  url : https://dl-ssl.google.com/tag/s/appguid%3D
  %7B9a5e649a-ec63-4c7d-99bf-75adb345e7e5%7D%26lang%3Den%26appname%3DGWT
  %2520Developer%2520Plugin%2520for%2520IE%26needsadmin%3Dfalse/gwt/
  plugins/ie/GwtDevPluginSetup.exe,
  platforms : Win x86,
  supported : true
},
 
chrome4-win :
{
  caption : Download the GWT DeveloperPluginbrFor
  Chrome,
  url : https://dl-ssl.google.com/gwt/plugins/chrome/gwt-
  dev-plugin.crx,
  platforms : Win x86,
  supported : true
},
 
safari-mac :
{
  caption : Download the GWT DeveloperPluginbrFor
  Safari,
  url : https://dl-ssl.google.com/gwt/plugins/safari/gwt-
  dev-plugin.dmg,
  platforms : Mac x86/x86_64/PPC,
  supported : true
}

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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.1 M3 is now available

2010-08-25 Thread Chris Ramsdale
That's a great point, and we'll be there with M4. There's a Google snapshot
repository that we'll be using for the next milestone and subsequent RCs.
It's a single repo where we'll upload 2.1-BUILD-SNAPSHOT jars. Once we get
to GA, we'll be in Maven central.

-- Chris

On Wed, Aug 25, 2010 at 8:21 AM, jie...@gmail.com jie...@gmail.com wrote:

   Will milestone releases be put into the maven repo? This wasn't
   discussed AFAIK so far. I, for one, would really like to see it.
 
  You meanhttp://google-web-toolkit.googlecode.com/svn/2.1.0.M3/gwt/maven/
  ? ;-)

 That maven layout doesn't actually include the 2.1.0M3 artifacts.
 Also, It's generally less useful to have a separate maven repository
 for every tag.. It would be nicer to users to provide one Maven
 repository format and put all artifacts into it - that way I wouldn't
 have to add a new repository every release of GWT.

 -Jesse

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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.1 M3 is now available

2010-08-24 Thread Chris Ramsdale
Back in May, at Google IO, we announced an integration between
VMware’s popular Spring framework for server-side development and GWT
for the client-side. Since then we have been excited by the feedback
and comments from customers building real world apps with this
technology. In response to their feedback, and pushing towards
delivering on our our promises form IO, we are very happy to announce
release M3. Looking forward we expect our production quality, GA
(general availability), drop to land in a few months.

Some key features included in this release are built-in history
support in Activities and Places, relationship management within
RequestFactory, and the ability to call instance methods on entities
themselves. The overarching goal was to nail down the API and deliver
on features and functionality that are vital to creating industry-
grade business apps.

For the Spring Roo community, we're continuing to build-out the
integrated stacks that we announced back at Google I/O. GWT 2.1 M3
includes a parallel Roo 1.1 M3 that will allow you to take advantage
of all the features mentioned above. Also, in the spirit of co-
operative and transparent development, you can find a full list of
features and functionality over at Roo's issue tracker.

https://jira.springsource.org/secure/IssueNavigator.jspa?mode=hiderequestId=12001

GWT 2.1 M3 is available on our Google Code download site. We’d love to
hear your feedback and thoughts on the release, and this forum would
be the best place to post this information.

http://google-web-toolkit.googlecode.com/files/gwt-2.1.0.m3.zip

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post 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-contrib] GWT 2.1 M3 is now available

2010-08-24 Thread Chris Ramsdale
Back in May, at Google IO, we announced an integration between
VMware’s popular Spring framework for server-side development and GWT
for the client-side. Since then we have been excited by the feedback
and comments from customers building real world apps with this
technology. In response to their feedback, and pushing towards
delivering on our our promises form IO, we are very happy to announce
release M3. Looking forward we expect our production quality, GA
(general availability), drop to land in a few months.

Some key features included in this release are built-in history
support in Activities and Places, relationship management within
RequestFactory, and the ability to call instance methods on entities
themselves. The overarching goal was to nail down the API and deliver
on features and functionality that are vital to creating industry-
grade business apps.

For the Spring Roo community, we're continuing to build-out the
integrated stacks that we announced back at Google I/O. GWT 2.1 M3
includes a parallel Roo 1.1 M3 that will allow you to take advantage
of all the features mentioned above. Also, in the spirit of co-
operative and transparent development, you can find a full list of
features and functionality over at Roo's issue tracker.

https://jira.springsource.org/secure/IssueNavigator.jspa?mode=hiderequestId=12001

GWT 2.1 M3 is available on our Google Code download site. We’d love to
hear your feedback and thoughts on the release, and this forum would
be the best place to post this information.

http://google-web-toolkit.googlecode.com/files/gwt-2.1.0.m3.zip

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


Re: [gwt-contrib] Re: Fix memory leaks in DevMode (issue766803)

2010-08-20 Thread Chris Ramsdale
We're really trying to reduce the number of moving parts in order to get M3
out the door, so this might not get cherry picked in. Is there a specific
reason you wouldn't want to build from the revision (or subsequent
revisions) that includes this fix?

On Fri, Aug 20, 2010 at 9:39 PM, Stephen Haberman
step...@exigencecorp.comwrote:


  LGTM, though your format settings still seem to be off.

 I noticed that M3 was branched and this hasn't made it into svn yet--is
 there any chance it will get merged into M3 before its released?

 Thanks,
 Stephen

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


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

Re: Problem in Large scale application development and MVP

2010-08-09 Thread Chris Ramsdale
Thanks, Will. I'll update the tutorial and sample code.

On Aug 6, 3:07 pm, WillSpecht willspe...@gmail.com wrote:
 Can the moderators pass this on to Chris Ramsdale so he can update the
 tutorial?

 On Aug 6, 2:59 pm, WillSpecht willspe...@gmail.com wrote:



  When a new contact is added it's id is never set. Because the id field
  is a string it is stored as . That is how the first contact is
  added. Now every time you create a new contact you overwrite the
  contact with key . To fix this you need to set the value of the id.
  I did this by changing the doSave method in EditContactsPresenter.

  private void doSave() {
  contact.setFirstName(display.getFirstName().getValue());
  contact.setLastName(display.getLastName().getValue());
  contact.setEmailAddress(display.getEmailAddress().getValue());
  if(History.getToken.equals(add)
      rpcService.updateContact(contact, new AsyncCallbackContact()
  {
          public void onSuccess(Contact result) {
              eventBus.fireEvent(new
  ContactUpdatedEvent(result));
          }
          public void onFailure(Throwable caught) {
              Window.alert(Error updating contact);
          }
      });
  else
      rpcService.updateContact(contact, new AsyncCallbackContact()
  {
          public void onSuccess(Contact result) {
              eventBus.fireEvent(new
  ContactUpdatedEvent(result));
          }
          public void onFailure(Throwable caught) {
              Window.alert(Error updating contact);
          }
      });

  }

  On Aug 3, 1:38 pm, WillSpecht willspe...@gmail.com wrote:

   I recently tried to follow the Large scale application development and
   MVP tutorial.  The tutorial was great but I am having a hard time with
   a few things.

   If you try and add a contact to the list, the contact is created.  If
   you try and add another contact, you are taken to the edit screen of
   the last contact you created.  No more contacts can be added once you
   add your first contact.  What needs to be changed so you can add more
   than one contact.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post 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: Making GWT look good...

2010-08-09 Thread Chris Ramsdale
Thanks for all of the great feedback (and please, keep it coming). With
these suggestions and some internal guidance, we're going to move on to
fleshing out mocks. Once I have something tangible, I'll share it here.

-- Chris

On Fri, Aug 6, 2010 at 8:01 PM, martino martino.piccin...@gmail.com wrote:

 While I appreciate the richness of widgets and behaviours offered by
 framework like SmartGWT or GXT, I don't particularly like their
 windowish look and feel, also I don't think it's a particularly good
 idea promoting GWT powerfulness or web application in general by
 mimicking desktop application widgets aspect (how many useless web
 desktops simulating a windows desktop inside your browser have you
 seen?).

 I think GWT/Roo should support at least two basic skin: a light theme
 with few/no images/resources (http://gwt-bikeshed.appspot.com/
 Scaffold.html  isn't a bad start to me!) and maybe an heavier more
 appealing one but I think some effort should be done to distinguish
 GWT/web applications from desktop app. I would use more/nicer effects
 (slide, fade ecc.) to have smoother transitions and/or communicate to
 the user that something is happening/has happened (think of mobile
 apps also...).

 Just my 2 cents

 Martino Piccinato



 On Aug 6, 2:44 pm, Chris Ramsdale cramsd...@google.com wrote:
  Hey GWT(ers),
 
  I've heard from many of you that GWT apps simply don't look that good out
 of
  the box, and styling the default app would go a long way. We couldn't
 agree
  more. As some of you know, GWT 2.1 (with the help of Spring Roo 1.1) will
  generate a full-fledged scaffolding app that users can then go customize,
  and build on top of. The current incarnation looks like this:
 
  http://gwt-bikeshed.appspot.com/Scaffold.html
 
  And while it's a start, it's long from being...well...good looking. I'm
  working with some UI/UX people back at Google, but in the spirit of
 openness
  I wanted to get feedback from the real users -- you. Specifically we're
  looking for business apps that are a good example of UI and/or UX. Apps
  that allow you to track tasks, expenses, travel, projects, etc.
 
  If you have ideas, simply post a link in a follow-up to this thread.
 
  Cheers,
  -- Chris

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



Making GWT look good...

2010-08-06 Thread Chris Ramsdale
Hey GWT(ers),

I've heard from many of you that GWT apps simply don't look that good out of
the box, and styling the default app would go a long way. We couldn't agree
more. As some of you know, GWT 2.1 (with the help of Spring Roo 1.1) will
generate a full-fledged scaffolding app that users can then go customize,
and build on top of. The current incarnation looks like this:

http://gwt-bikeshed.appspot.com/Scaffold.html

And while it's a start, it's long from being...well...good looking. I'm
working with some UI/UX people back at Google, but in the spirit of openness
I wanted to get feedback from the real users -- you. Specifically we're
looking for business apps that are a good example of UI and/or UX. Apps
that allow you to track tasks, expenses, travel, projects, etc.

If you have ideas, simply post a link in a follow-up to this thread.

Cheers,
-- 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-contrib] Making GWT look good...

2010-08-06 Thread Chris Ramsdale
Hey GWT(ers),

I've heard from many of you that GWT apps simply don't look that good out of
the box, and styling the default app would go a long way. We couldn't agree
more. As some of you know, GWT 2.1 (with the help of Spring Roo 1.1) will
generate a full-fledged scaffolding app that users can then go customize,
and build on top of. The current incarnation looks like this:

http://gwt-bikeshed.appspot.com/Scaffold.html

And while it's a start, it's long from being...well...good looking. I'm
working with some UI/UX people back at Google, but in the spirit of openness
I wanted to get feedback from the real users -- you. Specifically we're
looking for business apps that are a good example of UI and/or UX. Apps
that allow you to track tasks, expenses, travel, projects, etc.

If you have ideas, simply post a link in a follow-up to this thread.

Cheers,
-- Chris

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

Re: Wave Demise.........sad day for GWT

2010-08-05 Thread Chris Ramsdale
Thanks for all of the responses, even the criticism is highly
beneficial. In regard to the Wave announcement, we're certainly sad,
but do realize that many features (Code Splitting, SOYC, another spin
on MVP+GWT) were born out of the experiment. Where possible, we're
definitely interested in pulling in some of the Wave functionality
into GWT (widgets obviously being top of mind).

Re: Instantiations, we're extremely excited to have the team joining.
Right now, we're heads down integrating the team and the products, but
we'll keep the GWT community posted when we have more information.

-- Chris

On Aug 5, 12:04 am, Steve Wart st...@wart.ca wrote:
 Holy smokes, first SpringSource acquires GemStone, now this.

 Did someone in Silicon Valley suddenly figure out that Smalltalk is cool? :)

 FWIW, I've had far more success getting JSON to work with Smalltalk
 and GWT than we ever had with 13 years of Java and XML. Coincidence?



 On Wed, Aug 4, 2010 at 6:21 PM, Shawn Brown big.coffee.lo...@gmail.com 
 wrote:
  I just worry about GWT itself.  Google may kill GWT some day. Our
  project heavy uses it:(.

  Not anytime soon I imagine.

  Look Google just acquired instantiations which makes the gwtdesigner.

 http://www.instantiations.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 
  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.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT 2.0.4 is now available

2010-06-30 Thread Chris Ramsdale
Recently Apple released Safari 5, which included a a href=https://
bugs.webkit.org/show_bug.cgi?id=40367bug/a where non-integral
right-shifts were not being evaluated properly. There were several
reports, both internally and a href=http://code.google.com/p/google-
web-toolkit/issues/detail?id=5056externally/a, of GWT-based
applications unexpectedly crashing when running in Safari 5 (including
Google Wave). Upon further inspection of the crash, we determined that
the bug is triggered when calling several of GWT's array sorting
methods, which in turn perform non-integral right-shifts as part of
the compiled code.

That's the bad news. The good news is that we have a fix for this
issue, plus several other a href=http://code.google.com/p/google-web-
toolkit/issues/list?can=2q=milestone%3D2_0_4house keeping items/a
that we've rolled into a 2.0.4 release, which can be downloaded from
GWT’s main a href=http://code.google.com/p/google-web-toolkit/
downloads/detail?name=gwt-2.0.4.zipdownload site/a.

If you’re experiencing the Safari crash, you’ll need to recompile and
deploy your GWT app. The changes in 2.0.4 are completely compatible
with your existing 2.0 app, and should have no negative impact. To
that extent we’ve already dogfooded 2.0.4, verifying that it fixes the
Wave crash that was originally reported.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post 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.4 is now available

2010-06-30 Thread Chris Ramsdale
This time without the mangled HTML.

Recently Apple released Safari 5, which included a bug where non-
integral right-shifts were not being evaluated properly. There were
several reports, both internally and externally, of GWT-based
applications unexpectedly crashing when running in Safari 5 (including
Google Wave). Upon further inspection of the crash, we determined that
the bug is triggered when calling several of GWT's array sorting
methods, which in turn perform non-integral right-shifts as part of
the compiled code.

That's the bad news. The good news is that we have a fix for this
issue, plus several other house keeping items/a that we've rolled
into a 2.0.4 release, which can be downloaded from GWT’s main download
site.

If you’re experiencing the Safari crash, you’ll need to recompile and
deploy your GWT app. The changes in 2.0.4 are completely compatible
with your existing 2.0 app, and should have no negative impact. To
that extent we’ve already dogfooded 2.0.4, verifying that it fixes the
Wave crash that was originally reported.



On Jun 30, 5:20 pm, Chris Ramsdale cramsdale+perso...@google.com
wrote:
 Recently Apple released Safari 5, which included a a href=https://
 bugs.webkit.org/show_bug.cgi?id=40367bug/a where non-integral
 right-shifts were not being evaluated properly. There were several
 reports, both internally and a href=http://code.google.com/p/google-
 web-toolkit/issues/detail?id=5056externally/a, of GWT-based
 applications unexpectedly crashing when running in Safari 5 (including
 Google Wave). Upon further inspection of the crash, we determined that
 the bug is triggered when calling several of GWT's array sorting
 methods, which in turn perform non-integral right-shifts as part of
 the compiled code.

 That's the bad news. The good news is that we have a fix for this
 issue, plus several other a href=http://code.google.com/p/google-web-
 toolkit/issues/list?can=2q=milestone%3D2_0_4house keeping items/a
 that we've rolled into a 2.0.4 release, which can be downloaded from
 GWT’s main a href=http://code.google.com/p/google-web-toolkit/
 downloads/detail?name=gwt-2.0.4.zipdownload site/a.

 If you’re experiencing the Safari crash, you’ll need to recompile and
 deploy your GWT app. The changes in 2.0.4 are completely compatible
 with your existing 2.0 app, and should have no negative impact. To
 that extent we’ve already dogfooded 2.0.4, verifying that it fixes the
 Wave crash that was originally reported.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post 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-contrib] GWT 2.0.4 is now available

2010-06-30 Thread Chris Ramsdale
Recently Apple released Safari 5, which included a bug where non-
integral right-shifts were not being evaluated properly. There were
several reports, both internally and externally, of GWT-based
applications unexpectedly crashing when running in Safari 5 (including
Google Wave). Upon further inspection of the crash, we determined that
the bug is triggered when calling several of GWT's array sorting
methods, which in turn perform non-integral right-shifts as part of
the compiled code.

That's the bad news. The good news is that we have a fix for this
issue, plus several other house keeping items/a that we've rolled
into a 2.0.4 release, which can be downloaded from GWT’s main download
site.

If you’re experiencing the Safari crash, you’ll need to recompile and
deploy your GWT app. The changes in 2.0.4 are completely compatible
with your existing 2.0 app, and should have no negative impact. To
that extent we’ve already dogfooded 2.0.4, verifying that it fixes the
Wave crash that was originally reported.

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


Re: Safari 5 - (RangeError): Maximum call stack size exceeded

2010-06-23 Thread Chris Ramsdale
On Wed, Jun 23, 2010 at 6:50 AM, Thomas Broyer t.bro...@gmail.com wrote:



 On 23 juin, 03:52, Pascal zig...@gmail.com wrote:
  Hi,
  Has the workaround been included in the codebase somewhere? Is there a
  chance that there will be a point release soon?

 There's been a change at the compiler-level instead:
 http://code.google.com/p/google-web-toolkit/source/detail?r=8300

 I don't think we'll see a 2.0.4 though, I guess the plan is to just
 ship it with 2.1 when it'll be ready.
 (remember last year when IE8 finally went out? –there was a workaround
 though– or Safari 4 and its expression too deep errors? or Firefox
 3.5 and its regression re. mouse events on scrollbars?)
 See http://code.google.com/p/google-web-toolkit/issues/detail?id=3455,
 http://code.google.com/p/google-web-toolkit/source/detail?r=5641
 This was all fixed in the next release, but it took some time between
 the report, the fix, and then the release.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Safari 5 - (RangeError): Maximum call stack size exceeded

2010-06-23 Thread Chris Ramsdale
Just trying to get some scope around this issue. How many developers are
still on 1.7.x (or prior) and experiencing this problem? Basically, would a
2.0.4 fix a majority (if not all) of the current issues? If not, how
feasible would it be to have you upgrade to 2.0.4 from a 1.x release to fix
this?

Thanks for the feedback...

-- Chris

On Wed, Jun 23, 2010 at 12:42 PM, Chris Ramsdale cramsd...@google.comwrote:



 On Wed, Jun 23, 2010 at 6:50 AM, Thomas Broyer t.bro...@gmail.com wrote:



 On 23 juin, 03:52, Pascal zig...@gmail.com wrote:
  Hi,
  Has the workaround been included in the codebase somewhere? Is there a
  chance that there will be a point release soon?

 There's been a change at the compiler-level instead:
 http://code.google.com/p/google-web-toolkit/source/detail?r=8300

 I don't think we'll see a 2.0.4 though, I guess the plan is to just
 ship it with 2.1 when it'll be ready.
 (remember last year when IE8 finally went out? –there was a workaround
 though– or Safari 4 and its expression too deep errors? or Firefox
 3.5 and its regression re. mouse events on scrollbars?)
 See http://code.google.com/p/google-web-toolkit/issues/detail?id=3455,
 http://code.google.com/p/google-web-toolkit/source/detail?r=5641
 This was all fixed in the next release, but it took some time between
 the report, the fix, and then the release.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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-contrib] Any ETA for 2.1?

2010-06-21 Thread Chris Ramsdale
While this shouldn't be taken as a binding set of dates, we are looking to
wrap up a 2.1 RC in late Q3, with GA release in early Q4.

On Mon, Jun 21, 2010 at 12:30 PM, Thomas Broyer t.bro...@gmail.com wrote:

 Hi Googlers^H^H G-men!

 Do you have any ETA for 2.1 M2 (or RC1?), and/or 2.1 GA?

 We're looking at RequestFactory, ActivityManager and data presentation
 widgets for a new project, but they're far from complete now
 (particularly RequestFactory, and ActivityManager isn't plugged with
 the History). So we'd like to know when do you think they'll be
 usable enough so we can start use them, or if we should rather plan
 on using something else (GWT-RPC, our already-existing-though-not-
 perfect PlaceManager, etc.)

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


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

Re: [gwt-contrib] STS RPC failures

2010-05-26 Thread Chris Ramsdale
One initial problem is that it's failing to find the right DataNucleus
libraries:

ERROR DataNucleus.Plugin - Bundle org.datanucleus.store.appengine requires
org.datanucleus version [1.0.4, 1.1.5.final) but the resolved bundle has
version 1.0.7.final which is outside the expected range.

What version of the DataNucleus libraries to you have installed?

Also, Alan from Spring Roo has some comments over here:
http://forum.springsource.org/showthread.php?p=301102

On Mon, May 24, 2010 at 4:50 PM, Aaron Steele eightyste...@gmail.comwrote:

 It's definitely working. On the other hand, after creating a test
 project configured with GAE persistence (using this Roo script:
 http://goo.gl/fQX9), I'm able to launch and run it in developer mode
 but the console displays a bunch of errors: http://goo.gl/QHmn

 Then, if I try logging into the app (via
 http://127.0.0.1:/_ah/login) it fails with a
 javax.servlet.UnavailableException in the console: http://goo.gl/QEh1

 I wonder if this has something to do with all the URL rewrite stuff
 going on in web.xml and urlrewrite.xml? I discovered this while trying
 to add Appstats since it requires an admin login.

 Thoughts?

 On Mon, May 24, 2010 at 10:56 AM, Rajeev Dayal rda...@google.com wrote:
  Great, I think the problem was the AspectJ weaving being disabled. Glad
 that
  it is all working.
 
  On Sat, May 22, 2010 at 6:16 PM, Aaron Steele eightyste...@gmail.com
  wrote:
 
  I reinstalled STS and enabled AspectJ weaving. All systems are go! I
  can launch and run the app from within STS or from the Maven command
  line. Sweet.
 
  Thanks,
  Aaron
 
  On Fri, May 21, 2010 at 4:30 PM, Aaron Steele eightyste...@gmail.com
  wrote:
   Oh, also, did you enable AspectJ weaving (when STS asked you about
   this)?
  
   No. Should I?
  
   [by the way, the second link you posted is broken]
  
   Oops! Here it is again: http://goo.gl/SD8s
  
   Hm, this is odd. What actions are you taking (in the UI) when the RPC
   exceptions happen?
  
   I'm actually just launching the app. After it loads, I see the errors,
   before any UI interaction.
  
   The dialog that pops up for you to select your WAR directory is
   expected;
   the default value is what you should choose. Can you send a text
   listing of
   the files that are in that directory (plus subdirectories) during the
   launch?
  
   After the launch, the recursive directory listing looks like this:
   http://goo.gl/DAZu
  
   Before the launch (immediately after the 'script expenses.roo' command
   finishes) it looks like this: http://goo.gl/D2Wu
  
   In STS I'm doing the following:
  
   1) Import - Existing Maven Project
   2) Run as - Web Application
   3) Select ApplicationScaffold.html
   4) Select extrack-0.1.0-SNAPSHOT as WAR directory
  
   (At this point, here's what I see in the STS console:
   http://goo.gl/8unK)
  
   5) Open Safari and load
  
  
 http://127.0.0.1:/ApplicationScaffold.html?gwt.codesvr=127.0.0.1:9997
  
   In Safari I see the loading widget. Then it loads, but not completely
   (screenshot attached). Then in the console, I see these errors:
   http://goo.gl/M0J0
  
   On Fri, May 21, 2010 at 3:37 PM, Aaron Steele 
 eightyste...@gmail.com
   wrote:
  
   Similar results using Roo 1.1.0.M1 to generate the app (as opposed
 to
   Roo 1.0.2):
  
   http://goo.gl/SD8sx
  
   $ springsource/roo-1.1.0.M1/bin/roo.sh
   roo script --file expenses.roo
  
   What am I missing?
  
   FWIW, when launching from STS (Run as-Web Application), it launches
 a
   Finder window and prompts me to select a WAR directory, which
 defaults
   to target/extrack-0.1.0-SNAPSHOT.
  
   On Fri, May 21, 2010 at 11:24 AM, Rajeev Dayal rda...@google.com
   wrote:
The roo directory should be roo-1.1.0.M1; so you should be using
Roo
1.1.0.M1 to generate the app, as opposed to Roo 1.0.2.
   
On Fri, May 21, 2010 at 2:22 PM, Rajeev Dayal rda...@google.com
wrote:
   
I wonder about the version of Roo that you're using. If you
navigate
down
into your STS folder, do you see a roo-related directory there?
What is
the
name of that directory? I think you need to be using the
 milestone
version
of roo, which is located at sts dir/roo dir/bin/roo.{sh,
 bat}.
   
On Fri, May 21, 2010 at 2:02 PM, Aaron Steele
eightyste...@gmail.com
wrote:
   
I'm seeing a strange issue with STS where launching a web
application
from within STS succeeds, but then RPCs fail with the following
errors:
   
http://goo.gl/hAkP
   
The project I'm running is from /samples/expenses.roo and was
created
using the Roo shell (script expenses.roo). If I try running the
same
project via 'mvn gwt:run', it works.
   
Here's my setup:
   
OS X
SpringSource Tool Suite (2.3.3.M1)
- DataNucleus Eclipse Plugins (2.0.2)
- Google App Engine Java SDK (1.3.4.v201005191217)
- Google Plugin for Eclipse 3.5 (1.4.0.m1-201005192034)
- Google Web 

Re: [gwt-contrib] Re: 1.3.1 gwt-maven-plugin in 2.1.0 M1 ??

2010-05-20 Thread Chris Ramsdale
To add a bit of color here, we patched the existing plugin so that gwt:run
would work with Roo generated code. We decided to host it in our repo simply
because we were short on time leading up to I/O. With that (almost) behind
us, our plan is to work with the codehaus-mojo team/project to formerly
submit our changes to their source base.

Regarding Maven support: Our announced integration with VMware, and more
specifically the SpringSource community, will inevitably lead to a tighter
integration between GWT and Maven. While we don't have Maven features
spec(ed) out as this point, we anticipate that as we move from from 2.1 M1
to 2.1 GA there may be changes within the SDK and/or GPE that are necessary.

-- Chris

On Thu, May 20, 2010 at 4:25 AM, Nathan Wells nwwe...@gmail.com wrote:

 I understand that adding the maven artifact to the svn repo might not
 have been to help users. It would be nice to know what the GWTers are
 thinking about this... Is Maven integration on a roadmap? is it just
 being proposed/tested? It's okay if there's no promises, and if we
 shouldn't rely on maven artifacts in the repo; it'd just be nice to
 know what's going on.

 On May 20, 4:51 am, nicolas.deloof nicolas.del...@gmail.com wrote:
  Not the best way to help Maven users :-/
  install-file goal is designed to setup a local repository, not to
  create a public shared one.
 
  Please consider writing pom.xml files with complete metadatas.
 
  NB: providing maven metadata and artifact deployment does NOT require
  the project itself to be built using Maven
 
  On 18 mai, 15:21, Thomas Broyer t.bro...@gmail.com wrote:
 
   On 18 mai, 14:14, nicolas de loof nicolas.del...@gmail.com wrote:
 
I also notice the POM used to publish GWT artifacts is limited to
 required
data, but does not include what is expected for a valid artifact to
 be
deployed on maven central (license, SCM url, mailing lists...) and
 can be
used by various tools (including m2eclipse) to help developers.
 
Maybe they have just been generated using a mvn deploy:deploy-file ?
 
   I don't know Maven, but I'd say they've been generated using mvn
   install:install-file from this script:
 http://code.google.com/p/google-web-toolkit/source/browse/branches/2
 
   --http://groups.google.com/group/Google-Web-Toolkit-Contributors
 
  --http://groups.google.com/group/Google-Web-Toolkit-Contributors

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


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

Re: GWT article 'Large scale ...' license of source code

2010-05-16 Thread Chris Ramsdale
Agreed. We'll get around to adding those soon. Thanks to everyone that
followed-up on this.

-- Chris

On Fri, May 14, 2010 at 4:10 PM, Jan Ehrhardt
jan.ehrha...@googlemail.comwrote:

 Thanks, so it's under Apache 2.0, but it would be much easier to notice, if
 the source files had license headers.

 Regards
 Jan Ehrhardt

 2010/5/14 Olivier Monaco olivier.mon...@free.fr

 Jan,

 Please read the terms of use from the gwt web site. All is there.

 Olivier

 On 14 mai, 07:36, Jan Ehrhardt jan.ehrha...@googlemail.com wrote:
  Hello,
 
  I would like to reuse the source code of the GWT article 'Large scale
  application development and MVP' for my own samples and articles, but
 there
  is no license information provided with it. It would be great, if it
 would
  be provided under an open source license, e. g. Apache License 2.0 or
 even
  GPL v3 or AGPL.
 
  It would be great, if it were available in a Mercurial repository on
 Google
  Code, so it could be cloned by me.
 
  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.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.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: Application Doesn't Appear in GWT Gallery

2010-05-04 Thread Chris Ramsdale
Just a heads up, these apps go through a moderation queue that we try to
check as frequently as possible. That said, there will be some delay between
the time you submit a project, and the time you get a response.

-- Chris

On Tue, May 4, 2010 at 8:36 AM, burnayev burna...@gmail.com wrote:

 A few days ago I added my application to GWT Gallery. The application
 is accessible via its direct URL

 http://gwtgallery.appspot.com/about_app?app_id=188001

 but does not appear either in search results or in recently added apps
 section.

 The issue seems to be similar to the one reported here:

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

 Your attention to the matter is greatly appreciated.

 Kind regards,
 Borys Burnayev
 actioncomplete.com
 GTD for Android and Web

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: new GWT MVP article (part 2)

2010-04-24 Thread Chris Ramsdale
On Thu, Apr 22, 2010 at 3:27 AM, interdev jason.ved...@gmail.com wrote:

 Hello everyone,
 have you seen the new MVP Architecture article from google ?
 http://code.google.com/webtoolkit/articles/mvp-architecture-2.html

 they have changed the structure slightly, instead of having a View and
 a Presenter which has an inner Interface (Display), aside from the
 UiBinder part, they now have a View interface which has an inner
 Presenter interface !

 1- what do you all think ? are these yet another level of abstraction/
 indirection necessary ?


It's not necessary, but it's something we've learned from the Wave team, and
internally find more flexible and easy to test. There are many ways to wire
up your views and presenters, and the technique that you use is largely
driven by the application that you are developing. For example, while Ad
Words and Wave extensively use the MVP pattern, the Ad Words architecture is
more inline with the techniques discussed in part I, and Wave with part II.
That said, the one characteristic that they both share is the need to test
as much as they possible can with vanilla JRE tests. Nothing against
GwtTestCase, but we all know it's slow.


 2- when google wants to address problem of Nested/Layered presenters ?
 header/body/footer, and body having its own dockpanellayout structure.


We use the technique described in part II. Composite views are responsible
for instantiating their own children, and making them available for the
parallel composite presenters.



 3- what do you think of presenter.go(container) ? and navigation/
 history token inside multiple IF statements ?

 i think these are more serious to address than introducing an
 additional view interface which has an inner interface !


 4- what do you think of DTO solution presented in the article, is it
 scalable ? do you follow it or stick with your twig, gilead
 framework ?


If you're referring to the ColumnDefinitions, we know they'll scale. One, it
requires minimal widget overhead and is fast. No more embedding hundreds of
widgets within a table. Two, it's extensible, and testable. As your model
grows, your ColumnDefinitions grow, not your views.  ColumnDefinitions are
quite trivial, the bulk of the code dedicated to generating HTML, and don't
require a GwtTestCase.



 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: new GWT MVP article (part 2)

2010-04-23 Thread Chris Ramsdale
@Bryan,

We'll get around to refactoring the EditContact View/Presenter, but the goal
was to get the new View/Presenter relationship out there as soon as we
could. We think it's a pattern that has worked for internal teams, and we
hope that it works for the larger community as well.

Regarding the nested layer presenters, thanks for the feedback and I'll look
into our codebase for examples that we can share publicly.

-- Chris

On Fri, Apr 23, 2010 at 3:48 PM, BryanPoit bryanp...@gmail.com wrote:

 I was a bit disappointing.  The example project wasn't even fully re
 factored.  The edit contacts view and presenter still reflect the old
 architecture.

 I think that though these tutorials are helpful its been almost a
 whole year since part I of the article was posted.  Also for trying to
 make large application development easier the size of this example
 application is quite small.  As interdev mentioned there are some more
 complex issues like Nested Layered presenters that most developers
 have to struggle with.

 On Apr 22, 3:27 am, interdev jason.ved...@gmail.com wrote:
  Hello everyone,
  have you seen the new MVP Architecture article from google ?
 http://code.google.com/webtoolkit/articles/mvp-architecture-2.html
 
  they have changed the structure slightly, instead of having a View and
  a Presenter which has an inner Interface (Display), aside from the
  UiBinder part, they now have a View interface which has an inner
  Presenter interface !
 
  1- what do you all think ? are these yet another level of abstraction/
  indirection necessary ?
 
  2- when google wants to address problem of Nested/Layered presenters ?
  header/body/footer, and body having its own dockpanellayout structure.
 
  3- what do you think of presenter.go(container) ? and navigation/
  history token inside multiple IF statements ?
 
  i think these are more serious to address than introducing an
  additional view interface which has an inner interface !
 
  4- what do you think of DTO solution presented in the article, is it
  scalable ? do you follow it or stick with your twig, gilead
  framework ?
 
  --
  You received 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: ***Exciting Java Opportunity in Hampshire***

2010-04-08 Thread Chris Ramsdale
No, it hasn't been decided. To that extent we're filtering any recruiter
posts that have nothing to do with GWT. This post happened to slip past the
moderation queue (Groups isn't perfect). That said, we block on average 3-4
recruiters per day, so let's not jump to conclusions when one makes it
through.

Job posts that are GWT related are decided on a case by case basis. For the
most part though, we block these as well.

-- Chris

On Thu, Apr 8, 2010 at 10:03 AM, Ian Bambury ianbamb...@gmail.com wrote:

 So has it been decided that people can advertise on this group, then?

 Ian

 http://examples.roughian.com



 On 7 April 2010 14:09, Benny Tech Recruiter 
 ben.j.cul...@googlemail.comwrote:

 I am currently looking for a Java Developer for the Leader in Sports
 and Entertainment Integration.

 My client are looking to expand the development team with a new Java/
 Web Developer. They are a quickly expanding company providing cutting
 edge applications and integrations to Live sporting events around the
 globe.

 The position will involve becoming and active member of the software
 development team and taking responsibility for the implementation of
 key software modules. The system is a large multithreaded, multi
 server web system written mainly in Java. Web clients are written
 using GWT (Google Web Toolkit) and data is provided to them through
 the Spring framework. Data storage is handled by MySQL.

 Successful candidates will have a proven history of developing Java
 software and working in a fast paced and cutting edge development
 environment.

 Necessary skills/experience:
 -   Java development, J2SE and some J2EE.
 -   Database development understanding.
 -   Development of web applications including related technologies
 such
 as CSS, javascript and JSP.
 -   Working knowledge of Windows as a development environment and
 Linux
 as a production environment

 Useful skills/experience:
 -   Hibernate and database optimisation
 -   Linux sysadmin
 -   Google Web Toolkit

 If you have the relevant experience for this opportunity and are
 looking for new opportunities please email me with your Cv to either
 ben.j.cul...@googlemail.com or ben.cul...@esynergy-solutions.co.uk

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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.



Re: ***Exciting Java Opportunity in Hampshire***

2010-04-08 Thread Chris Ramsdale
Is there someone out there that can moderate this group?

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


On Thu, Apr 8, 2010 at 1:50 PM, Jeff Chimene jchim...@gmail.com wrote:

 On 04/08/2010 10:11 AM, charlie wrote:
  Seconded.  GWT  Google _need_ a job listing site if GWT is going to
  earn some market share.
 
I'd love to find a job where I could use GWT, sadly I cannot find any.

 Funny, I was searching archives for another reason.

 On 06/24/2009 Hugo Garcia wrote:
  Hi
 
  I created a Google Group just for employment for everyone with
  knowledge and expertise with GWT. It is free for all to use. Hope it
  helps.
 
  http://groups.google.com/group/Google-Web-Toolkit-Employment
 
  cheers
 
  -H
 

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Debugging GWT 2.0 is pain

2010-03-11 Thread Chris Ramsdale
Comments in line below:

On Thu, Mar 11, 2010 at 11:40 AM, JazzyJava ole...@gmail.com wrote:

 Helllo,
 I am testing an upgrade of our appliation fro GWT 1.7 to 2.0.  All is
 fine, except I find that debugging now is a much bigger pain than it
 was in 1.7.  I have a feeling I am missing something, since it's hard
 for me to believe that it is so much more inconvinient now.

 In GWT 1.7 Hosted Mode browser, I could happily click on my links (GWT
 or non non-GWT modules), and when I clicked on the GWT module that had
 a breakpoint, the Eclipse debugger would kick in.


Correct. The downside of this was that the GWT hosted mode browser was
wrapping IE on Windows, Safari on Mac, and Firefox on linux, which meant
that you had to bounce around to separate operating systems in order to
debug your application in a different browser.


 Our URL's are for the most part dynamic, i.e. they pass a bunch of
 dynamic URL query parameters to the GWT module.  In GWT 2.0 debugging,
 I now have to copy-paste the dynamic URL into a browser window that
 has the address bar enabled, and manually add gwt.codesvr=xxx URL
 query parameter at the end.


Since they're dynamic, you might be able to incorporate some of the
techniques discussed here:
https://groups.google.com/group/google-web-toolkit/msg/e6d2814e79bc3a45


 This is major pain and I am not sure how I can justify an upgrade to
 2.0 until I understand how to let my development team conveniently
 debug.


If the above suggestion doesn't work out for a you, a repost with an
explanation and code snippets (regarding how you generate your URLs) would
be helpful.





 If anyone can shed some light on this pain, it will be very much
 appreciated.


 Oleg

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Inconsistant Debug-mode URL Causing Considerable Grief

2010-03-10 Thread Chris Ramsdale
Comments in line below:


 For various reasons, my application has to generate URLs for pages/
 servlets/etc. in the same webapp (for things like images held in my
 database and served by a servlet). It's incredibly annoying that, when
 I'm debugging, I need to use a URL that looks like this:

 http://127.0.0.1:/Report.html?gwt.codesvr=127.0.0.1:9997#1

 and when I've deployed the application, the URL looks completely
 different:

 http://www.mysite.com/report/Report.html#1

 This difference makes it very difficult to debug my application
 without do a full deployment to the real server, and I *hate* to be
 forced to deploy code that cannot be tested locally, first.


You don't have to do that.


 I actually
 don't mind that the server name/port is different, though even that is
 annoying.


1. Build and deploy your app to a local app server (Tomcat works for me)

2. Edit your /etc/hosts file: 127.0.0.1 www.mysite.com

3. Port forward from 80 to 8080. This can be done with Apache or the
following ipfw rule:
sudo ipfw add 1000 fwd 127.0.0.1,8080 tcp from any to 127.0.0.1 80

4. Uncheck the Run built-in server under your Debug Configurations within
Eclipse. While you're there add the following Program arguments, under the
Arguments tab:
-startupUrl http://www.mysite.com/report/Report.html under the Arguments

You should now be able to debug with a URL that resembles:
http://www.mysite.com/report/Report.html?gwt.codesvr=127.0.0.1:9997


 The real problems are the ?gwt.conesvr argument and the

lack of the the servlet-context name (/report in the above example)
 in the debug-mode URL.


See my previous post below for information on how to detect and preserve the
codesvr param:
http://groups.google.com/group/google-web-toolkit/msg/e6d2814e79bc3a45
 http://groups.google.com/group/google-web-toolkit/msg/e6d2814e79bc3a45

 Because of these differences, generating URLs is an annoying, fragile,
 and error-prone process. First, I have to detect that I'm running
 under GWT (which isn't too bad --- I can just look for localhost or
 equivalent) and then create special URLs for that situation (which is
 hideously bad, since that code runs only when I'm testing, and
 different code entirely runs when I'm deployed, and that code can't be
 tested properly).


You're generating relative URLs right?


 The fragility comes from the fact that I had to
 change all my if-in-hosted-mode-do-X code when GWT 2 came out, because
 the URL structure had changed.

 Ideally, I'd like:

 1) a way to add a servlet-context (e.g., http:/127.0.0.1:/
 myServletContext)  to a URL used in debug mode so that I can generate
 a structurally-similar URL for both debugging and deployment. This
 servlet-context part of the URL could simply be ignored by the debug-
 mode web server. I'd be perfectly happy for reasonable restrictions to
 be in place (e.g., you could use /context but not /context/
 subcontext), or I could specify the context name in the module file
 or some other reasonable place.

 2) no extra garbage (such as ?gwt.codesvr... added to the URLS.
 Surly, this information can be passed to the debug-mode web server in
 some other way.


We've talked about using cookies, but that presents it's own set of issues
for developers. Mainly detecting when you're running in development mode vs.
web mode becomes tricky (and error prone).



 If there's some sort of workaround for these problems, I'd love to
 know about it. If there is no workaround, I consider this
 inconsistency to be a serious bug in GWT.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Can't add to GWT Appspot Gallery

2010-03-05 Thread Chris Ramsdale
Check again, it should be up now.

On Mar 5, 2010 5:12 AM, RPB robbol...@gmail.com wrote:

Hello,

My colleague tried to add our site to the appspot gallery a couple of
days ago, and was given the following link to the submission:
http://gwtgallery.appspot.com/about_app?app_id=101004

However, when I go to that link, it just takes me to the homepage -
i'm unable to see the submission. Is there an approval process this
has to go through, or should we just try re-submitting?

Thanks,
RPB
www.bookwhack.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.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: unresolved issues

2010-02-20 Thread Chris Ramsdale
On Fri, Feb 19, 2010 at 4:01 PM, mwaschkowski mwaschkow...@gmail.comwrote:

 Hi,

 This is a general question regarding outstanding issues in the issue
 tracker - how does this thing work? I know there was an effort to
 clean things up a few months ago, but I haven't seen the results of
 that, if any.


The effort to get the triage process under control is still a work in
progress. To give you an idea what we're looking at, there were over 180
issues submitted post 2.0. Many of them without a sufficient repro case, or
simply support related questions. On top of that, we have a backlog of
roughly 600 internal issues that have been reported by Googlers that we are
trying to address. We've managed to triage 380 of those issues, and should
have the internal issue tracker cleaned up shortly. Once we have that out of
the way we're moving to the external issue tracker. We talked the internal
issue tracker first because, for most issues, we know more of the history
and therefore it's easy to triage. Net, net -- there's a large amount of
information that we need to clean up and organize. It's going to take some
time. The effort a few months ago was a broad swipe at removing items that
are no longer an issue.

I still have starred issues from 2006 like:

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

 which is still in accepted status and has even been commented that it
 was still present in 2.0.0-m2, but still no resolution.


Accepted is admittedly a bit vague. Really, John has accepted because he
knows it fails within an area of the SDK that he's normally hanging out in.
What you want to watch for is Started.

Or


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

 which is from 2007, and was last updated with:

 Comment 9 by jlaba...@google.com, Jan 05, 2009
 The close button is such a common use case, I agree we should add it.
 Status: Accepted
 Labels: Milestone-Planned

 What does this mean?


Planned for inclusion in an unspecified upcoming release. We know that we
need to get to it, but we don't have a timeframe yet. Also vague, and not
useful when the issue has been planned for a year.

I don't want this space to become like Adobe's tracking where issues
 are opened and never resolved. I don't see this as being an issue
 about actually fixing the issues, just updating/clarifying the status
 of current issues.

 This is an urgent issue that requires immediate attention - what can I
 do to help?


Triaging issues, by identifying those that are reproducible or providing a
repro case, where one doesn't exist, would be extremely beneficial. Right
now, there's quite a bit of noise in the issue tracker, and legit items are
being overlooked. We, much like you, want to fix this.



 Thank you,

 Mark

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: setting or refreshing the parent URL from within an iframe

2010-02-18 Thread Chris Ramsdale

 Chris, do you know if there is anyway I can set a similar continue type
 process for what happens when users click on the email link after CREATING a
 google account? At the moment they are just taken to a thank you for
 confirming your account screen, which is all very well, but we would much
 prefer for the user to be able to then click through to our application


Right now there is no way to force the Account Creation Confirmation
screen to follow the continue param. To make things more complicated, the
user will have to verify their account, which is completely decoupled from
your app. I would suggest adding some text which lets users know that
they'll need to either a) refresh your app once they have verified their
account creation, or b) click the sign-out link and sign back in with their
newly verified account.

You could also set a timer that inspects the contents of the iframe, and
auto-refresh in an attempt to catch the account verification that may occur
in a separate tab. To do this though, you'll need to catch the response,
otherwise you'll end up with an iframe that appears to be refreshing the
same content.

Net, net: there is some room for improvement within the Google Account
creation process.


 Cheers,
 John

 On 17 February 2010 20:51, Chris Ramsdale cramsd...@google.com wrote:

 This thread might help out:


 https://groups.google.com/group/google-web-toolkit/browse_thread/thread/e0b7683069497bcf/e6d2814e79bc3a45?#e6d2814e79bc3a45

 -- Chris

 On Sun, Feb 14, 2010 at 6:39 PM, John V Denley 
 johnvden...@googlemail.com wrote:

 I forgot the line from where I am getting the URL:

 loginInfo.getLoginUrl()


 On Feb 14, 11:16 pm, John V Denley johnvden...@googlemail.com wrote:
  OK, I think I might have figured out what the problem is... when Im
  creating the frame Im trying to set it using the following line:
 
  The resulting URL is /_ah/login?continue=http%3A%2F%2Flocalhost
  %3A%2F so the problem is that it is stripping out the /
  myappname.html?gwt.codesvr=127.0.0.1:9997 part which then results in
  me running the last version of the application that I deployed to the
  web.
 
  Does anyone know why the version at localhost: is not the same
  version that exists at localhost:888/IDeBanet.html?
  gwt.codesvr=127.0.0.1:9997 or how I can force it to be the same
  without having to deploy each time?
 
  Oh and Im running eclipse ganymede by the way.
 
  Thanks,
  John
 
  On Feb 14, 4:06 pm, John V Denley johnvden...@googlemail.com wrote:
 
   My application requires a login to a google account.
 
   I have been looking at trying to do this login step within a GWT
 frame
   which works fine.
 
   The problem is that once that login has been completed my application
   then loads INSIDE the frame, I really want it to reload in the parent
   window. I have tried both the following:
 
   Window.Location.reload();
   Window.open(http://www.google.co.uk;, _top,);
 
   but neither of them have the desired effect, If I press F5 it does
   exactlywhat I want it to do, even if the focus is on a text box
 within
   the frame.
 
   Anyone got any ideas, am I doing something wrong, is there a better
   way to do this?
 
   Thanks,
   John

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


  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.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.



Re: setting or refreshing the parent URL from within an iframe

2010-02-17 Thread Chris Ramsdale
This thread might help out:

https://groups.google.com/group/google-web-toolkit/browse_thread/thread/e0b7683069497bcf/e6d2814e79bc3a45?#e6d2814e79bc3a45

-- Chris

On Sun, Feb 14, 2010 at 6:39 PM, John V Denley
johnvden...@googlemail.comwrote:

 I forgot the line from where I am getting the URL:

 loginInfo.getLoginUrl()


 On Feb 14, 11:16 pm, John V Denley johnvden...@googlemail.com wrote:
  OK, I think I might have figured out what the problem is... when Im
  creating the frame Im trying to set it using the following line:
 
  The resulting URL is /_ah/login?continue=http%3A%2F%2Flocalhost
  %3A%2F so the problem is that it is stripping out the /
  myappname.html?gwt.codesvr=127.0.0.1:9997 part which then results in
  me running the last version of the application that I deployed to the
  web.
 
  Does anyone know why the version at localhost: is not the same
  version that exists at localhost:888/IDeBanet.html?
  gwt.codesvr=127.0.0.1:9997 or how I can force it to be the same
  without having to deploy each time?
 
  Oh and Im running eclipse ganymede by the way.
 
  Thanks,
  John
 
  On Feb 14, 4:06 pm, John V Denley johnvden...@googlemail.com wrote:
 
   My application requires a login to a google account.
 
   I have been looking at trying to do this login step within a GWT frame
   which works fine.
 
   The problem is that once that login has been completed my application
   then loads INSIDE the frame, I really want it to reload in the parent
   window. I have tried both the following:
 
   Window.Location.reload();
   Window.open(http://www.google.co.uk;, _top,);
 
   but neither of them have the desired effect, If I press F5 it does
   exactlywhat I want it to do, even if the focus is on a text box within
   the frame.
 
   Anyone got any ideas, am I doing something wrong, is there a better
   way to do this?
 
   Thanks,
   John

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Is GWT supported by Google anymore?

2010-02-16 Thread Chris Ramsdale
GWT is by no means at the end of its life. If anything we feel that
the 2.0 release was a new beginning, and we look forward to adding
even more features this year (checkout the design docs here:
http://code.google.com/p/google-web-toolkit/w/list).

Regarding the issue tracker, I'm not sure what your link was supposed
to show (other than there are 4622 issues within the issue tracker
itself). There are a fair amount of open/new issues, and right now
we're experimenting with some internal syncing processes that will
make the entire triage effort more efficient. As a first step, you'll
notice (as of a few days ago) automated status updates that are being
sourced from our internal bug tracking system. There will be more to
come, and we'll keep everyone updated throughout.

-- Chris

On Feb 15, 4:10 pm, DenNukem alt...@gmail.com wrote:
 I see that overwhelming majority of reported bugs do not get looked
 at:

 http://code.google.com/p/google-web-toolkit/issues/list?can=1q=sort...

 Is GWT at end of life?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post 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 external styles with UiBinder error

2010-02-12 Thread Chris Ramsdale
Why not reference your styles from a CssResource that itself is wrapped in a
ClientBundle? Something like:

*Resources.java*
public interface Resources extends ClientBundle {
  public static final Resources INSTANCE =  GWT.create(Resources.class);

  @Source(UiStyles.css)
  public MyUiStyles uiStylesCss();

  @Source(calendar.png)
  public ImageResource calendar();
}

*MyUiStyles.java*
*
public interface ImagesDialogCss extends CssResource {
   public String datebox();
}
*
*
*
*MyDialog.ui.xml*
ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
  xmlns:g='urn:import:com.google.gwt.user.client.ui'

  ui:with field='resources' type='com.google.gwt.sample.client.Resources'/

  g:VerticalPanel
g:Image addStyleNames='{resources.uiStylesCss.datebox}'
ui:field='someFieldId' /
  /g:VerticalPanel
/ui:UiBinder

I might be overlooking some details, but you should be able to use the above
to share your UiStyles.css w/o having to declare an associated ui:image
element all over the place.

-- Chris

On Fri, Feb 12, 2010 at 3:59 AM, shahid shahidza...@gmail.com wrote:

 I started using the UiBinder for various forms in my application. I
 have created a UiStyles.css (with a CssResource interface called Css)
 under the main client package and would like to use that in all
 packages across the application. The problem is I am using a sprite in
 the stylesheet for a background image as:

 @sprite .datebox { gwt-image:calendar; width : 150px !important;
 height : 24px !important; padding : 2px; background-position : right
 center !important; }

 and I refer to the stylesheet in the ui.xml as:

 ui:style src='../UiStyles.css' /

 and for the sprite I have the following line in the ui.xml :

 ui:image field=calendar src='../StaticResources/images/
 calendar.png' /

 Now I thought I should only need this in the ui.xml file that is using
 the .datebox style. But I see that if I refer to the UiStyles.css in
 any ui.xml (even if it does use the above sprite), it requires the
 ui:image field=calendar src='../StaticResources/images/
 calendar.png' /

 otherwise it fails to compile

 [ERROR] Unable to find ImageResource method calendar in ...
 packagename 

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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 Release Announcements

2010-02-09 Thread Chris Ramsdale
Given the traffic on the GWT group, I completely agree that you would have
to do a fair amount of filtering in order to the catch the release
announcements. Typically we pin the announcements to the top of the
discussion list, but this is only useful if you use Group's web interface
(which I suspect very few use). Along with the announcements, the product
itself will periodically check for updates and prompt you when one is
found. You won't have seen this notification yet because we're waiting to
push 2.0.2 out the door before we update the source file that triggers the
notification.

All that said, how about using the GWT Blog to post new release
announcements? Subscriptions to the rss feed would then trigger
notifications that a new release has been pushed. We're already posting
major releases (e.g. 1.7, 2.0), and quite frankly it makes since to do the
same for point releases.

-- Chris

On Mon, Feb 8, 2010 at 7:43 PM, Erik Uzureau euz...@gmail.com wrote:

 I did a bit of searching and can't seem to find if there is an email
 list or google-group somewhere that posts only release announcements
 and/or other pertinent information for users[1].

 It seems to me (though maybe I'm wrong) that this list hosts the
 information I'm looking for but also user questions, problems, etc.
 With an average of 88 mails/day (according to google-groups) it seems
 like maybe a list with just release announcements might be helpful?

 Erik

 ps. Obviously, feel free to just tell me just subscribe to the email
 list and deal with it.

 [1] people using gwt as a tool (vs those working on its development)

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Is this bug fixed?

2010-02-03 Thread Chris Ramsdale
This doesn't appear to be fixed (at least based on the status). If it's
still an issue for (which it sounds like it is), please star the issue and
add any relevant details that are specific to your application.

On Wed, Feb 3, 2010 at 11:32 AM, mariyan nenchev
nenchev.mari...@gmail.comwrote:

 Well when i show my popup i call center() and after that show(). The first
 time the popup is not centered, but after that it is.


 On Wed, Feb 3, 2010 at 5:23 PM, Christian Goudreau 
 goudreau.christ...@gmail.com wrote:

 I'm using Popup panel and I don't see any bug, so I asume that Yes It Is !

 On Wed, Feb 3, 2010 at 9:49 AM, mariyan nenchev 
 nenchev.mari...@gmail.com wrote:


 http://209.85.135.132/search?q=cache:L7fwrBkWHdAJ:code.google.com/p/google-web-toolkit/issues/detail%3Fid%3D4221+gwt+popup+center+not+workingcd=7hl=bgct=clnkgl=bgclient=firefox-a

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


  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.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.



Re: GWT 2.0 Upgrade Problem

2010-01-26 Thread Chris Ramsdale
On Tue, Jan 26, 2010 at 6:21 AM, m.mil...@newelements.de 
m.mil...@newelements.de wrote:

 No, i definetly mean not the XYZ.nochache.js.

 Here is a line from my firebug:
 http://localhost:8080/application/64CE9F3B21EDFDB2ADBA49308C361972.cache.js

 this is what gwt tries to load, but the file is definetly reachable
 under this path:

 http://localhost:8080/application/application/64CE9F3B21EDFDB2ADBA49308C361972.cache.js


Are you trying to run this under an external app server (e.g. Tomcat), or
have you simply changed the port that the embedded server uses? If you're
deploying your app to an external app server, I can see how you might end up
with an application/application path (although I don't know how correct it
would be).

Let's take a step back, can you describe the directory structure that you
see after you run the GWT compiler?


 i think the gwt compiler has a problem with it´s pathes and the
 folders within the war file.
 i have a new problem, when i compile the application and start it at
 the application server all pathes to the images folder are wrong, but
 this time the name of the application instance is missing in the image
 pathes.

 i´m absolutely sure both problems had nothing to do with the upgrade
 but are compiler errors. i had similar problems before when ich made
 an if statement on an Tree.

 my original code was something like:
 if ( tree != null )

 that caused compiler error that have not been displayed but the
 XYZ.cache.js couldn´t been found

 wehn ich changed the line to:
 if ( tree.getRoot() != null )

 the compiled code worked.


I was able to successfully run the following code in both Development and
Web mode:

public class Test implements EntryPoint {

  public void onModuleLoad() {
Tree t = new Tree();
TreeItem ti = null;

if (ti != null) {

}
else {
  ti = new TreeItem(hello there);
}

t.addItem(ti);
RootPanel.get().add(t);
  }
}

Is there something different between your app and the above snippet?


So i guess, you google folks have to do a coulpe of fixes to your
 compiler :-)


I think several, mutually exclusive issues are being confused here. Would
you mind sending me your project, or a sample project that reproduces the
issues you mention above?


 On 11 Jan., 20:37, Chris Ramsdale cramsd...@google.com wrote:
  I second Rajeev's comments, there are a couple of oddities that you may
  experience when upgrading.
 
  That said, I'm wondering about the following (@m.militz):
 
  1. I'm assuming you meant XYZ.nocache.js and not XYZ.cache.js. Is this
  correct?
  2. While GWT does produce a .html when you create a new project, it does
 not
  create this file every time, and it does not alter it once created. Put
  another way, I don't believe that GWT is mucking with your Project.html
 file
  (not even during upgarde). Is your script tag, within Project.html,
  incorrect for some reason? What happens if you simply change it to
 reference
  module/module.nocache.js?
 
  - Chris
 
  On Mon, Jan 11, 2010 at 12:33 PM, Rajeev Dayal rda...@google.com
 wrote:
   Hi,
 
   Have you seen an instance where GWT tries to load the nocache.js file
   directly from the root of your war folder? What does the HTTP GET
 request
   look like?
 
   There is definitely a bug in GWT when switching between SDKs. The
 problem
   is twofold:
 
   1) The hosted.html file does not get regenerated. The workaround for
 this
   is to blow away the generated subdirectories of the war directory after
   switching SDKs.
   2) Because of the caching rules that GWT's embedded Jetty uses,
 hosted.html
   is not re-requested by the browser whenever it is requested. The
 workaround
   for this is to clear your browser's cache.
 
   Rajeev
 
   On Mon, Jan 11, 2010 at 11:16 AM, m.mil...@newelements.de 
   m.mil...@newelements.de wrote:
 
   Thanks for the hints, but all of this issues i could handle by myself.
   the problem is gwt produces erroneus code. it tries loading
   XYZ.cache.js files from the war folder, but into the war fiolder are
   subdirectories where the js files lies.
   It looks like this only happens on special occasions but i still can´t
   fire out what is responsible for that.
 
   On 9 Jan., 23:15, Sorinel C scristescu...@hotmail.com wrote:
Hi all,
 
There small tricks related with the environment, which aren't
documented, in the GWT tutorial.
 
Here you can find what helped me to solve the migration issues:
 
   
 http://ui-programming.blogspot.com/2009/12/update-your-application-to.
   ..
 
Cheers!
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post 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

Re: submitting a form using RPC

2010-01-14 Thread Chris Ramsdale
You shouldn't have to do the following:

ServiceDefTarget target = (ServiceDefTarget) prenotaService;
target.setServiceEntryPoint(GWT.getModuleBaseURL() +
/provatesina/prenota);

Your RPC-URL mapping is defined within your war/WEB-INF/web.xml and the
RemoteServiceRelativePath annotations within your client side code.

On Thu, Jan 14, 2010 at 6:24 AM, loucat lou...@gmail.com wrote:

 Hi all !

 I'm having some problems with the communication client-server, i just
 have to submit a form but I read it's better to use RPC so I've
 deleted all the reference of FormPanel and trying to do it calling a
 server, but it doesn't work :(

 Am I supposed to pass all the fields of the form through the method of
 the ServiceInterfaceAsync?
 Up to now I'm trying to pass tha name field as a String parameter in
 that method, but I always get back the onFailure result.

 I think I configured everything properly but obviously I'm not sure
 about it.
 what url shoud I put here? -  target.setServiceEntryPoint
 (GWT.getModuleBaseURL() + /provatesina/prenota);


 This is the code I have in the main GWT class, it's inside the method
 onModuleLoad:


final PrenotaServiceAsync prenotaService = (PrenotaServiceAsync)
 GWT.create(PrenotaService.class);
ServiceDefTarget target = (ServiceDefTarget) prenotaService;

target.setServiceEntryPoint(GWT.getModuleBaseURL() + /
 provatesina/prenota);



submit.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {

Window.alert(submitting the form);

prenotaService.prenota(nome.getText(), new
 AsyncCallback String() {
 public void onFailure(Throwable caught) {
   Window.alert(RPC to prenota() failed.);
 }
 public void onSuccess(String result) {
   lab.setText(result);
 }

});
};

});


 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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 Group spam this morning

2010-01-13 Thread Chris Ramsdale
Most of you probably noticed a flood of emails from postoffice this
morning (actually Yahoo's mail hosting service). The root cause of
this were email digests that were failing to a specific account. After
being queued up for a fair amount of time, the sends fail out for good
and a response (in this cases responses...quite a few of them) are
sent back to the user, i.e. google-web-toolkit
+dig...@googlegroups.com.

For now we've turned off email digests for this user, in an effort to
prevent this from happening again.

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




Re: GWT 2.0 Dev Mode in Eclipse when using external server - CLIENT-CERT

2010-01-13 Thread Chris Ramsdale
On Wed, Jan 13, 2010 at 11:48 AM, Yaakov yaakov.chai...@gmail.com wrote:

 Hi,

 Just started using GWT 2.0, etc...

 I was successful in deploying the same web app to an external server
 and just added:
 ?gwt.codesvr=localhost:9997

 Eclipse in its Development Mode tab showed that FF connected and
 everything is great.

 Now, my real app uses CLIENT-CERT as its authentication method and
 obviously works over SSL. I didn't think there would be any difference
 as the code server is not going through any of that authentication
 while trying to connect back to Eclipse. But no such luck...

 First, Eclipse suspiciously outputs 2 URLs for me to copy:
 http://locahost:/MyApp.html?gwt.codesvr=my-local-ip:9997
 http://locahost:/authenticationError.jsp?gwt.codesvr=my-local-ip:9997


Not entirely sure what's going on with your auth mechanisms, but if you want
to avoid launching 2 code servers (e.g. MyApp.html and
authenticationError.jsp), you can specify the following in your program
args:

-startupUrl http://localhost:/MyApp.html


 Even so, I open up FF and navigate to the real URL, appending the
 gwt.codesvr parameter Eclipse told me about:
 https://locahost/MyApp/MyApp.html?gwt.codesvr=my-local-ip:9997


Did you mean to leave off the port?


 The app loads just fine in the browser and everything works... Except
 that Eclipse doesn't show that anyone connected to its code server.
 Making simple string changes to the code doesn't make it show up in
 the running FF (after a refresh).

 Something tells me that somehow the CLIENT-CERT authentication gets in
 the way.

 Does anyone know what to do about this situation? I can't develop
 without the mode that connects me back to the client java code and I
 can't get rid of the CLIENT-CERT as my server-side code depends on
 being able to pull some info from the certificate to function.

 Please help!

 Thanks,
 Yaakov.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: deRPC issues

2010-01-13 Thread Chris Ramsdale
@Mike (either one), do you have a small test project that reproduces these
issues? If so, would you mind sending it to me?

Thanks,
Chris

On Tue, Jan 5, 2010 at 2:12 PM, MikeN m...@normi.net wrote:

 Hi,

 I think I've found two issues in the new deRPC code, but I would like
 some confirmation before spamming the issuetracker. I'm using the GWT
 2.0 release codebase, on various platforms.

 The first issue is in RpcServlet. By default the code can't find the
 *.gwt.rpc files (in production mode) if the webapp is not deployed at
 the root of the server. When determining the path to the ModuleBase,
 in getRequestModuleBasePath(), the code simply gets a client-side
 header and strips the host and port part (isn't this a security issue
 anyway?). Problem is, webapps/servlets don't have to be deployed to
 the root of the server. When deployed at an other path, for instance /
 webapps/myWebapp/, the client will send this in de ModuleBase header,
 but it shouldn't be included in the getServletContext
 ().getResourceAsStream(resourcePath) call as the resourcePath. I
 'fixed' this by overriding findClientOracleDate(), but that shouldn't
 be necessary...

 The next issue took me somewhat longer to debug. When using a custom
 object, containing a bool, and sending that to the client and then
 back to the server, deserialization at the serverside fails with a
 ClassCastException (can't cast from Double to Boolean) (only in
 production mode). This is because the bool gets send over as a double
 (I see D1 in the request, instead of Z1). I'm not quite sure where the
 problem is, probably somewhere in
 CommandClientSerializationStreamWriter. I fixed it by using a Boolean
 instead of a bool in my object.

 Has anyone seen these bugs before, or is anyone able to reproduce
 them?

 Regards,

 --Mike

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Simple UiBinder question about ui:image resource=....

2010-01-12 Thread Chris Ramsdale
Do you have the following in your ui.xml file:

ui:with field='res' type='com.google.gwt.sandbox.client.Resources'/

...where 'com.google.gwt.sandbox.client.Resources' is replaced with your
resources class.


On Thu, Jan 7, 2010 at 5:24 AM, emerix rafa...@gmail.com wrote:

 Hello,

 I tried using relative paths for the resource property :
 ui:image field='logo' resource='../resources/my_logo.png'/ui:image

 but I got the error : No com.google.gwt.resources.client.ClientBundle
 $Source annotation and no resources found with default extensions

 if I use the src property, everything is ok :
 ui:image field='logo' src='../resources/my_logo.png'/ui:image

 hope someone find this useful :)


 However what I really wanted is using your 2nd solution :
 ui:image field='logo' resource='{res.logo}'/ui:image
 but when I load the page I also get the error : No
 com.google.gwt.resources.client.ClientBundle$Source annotation and no
 resources found with default extensions

 am I missing something ?

 thanks a lot :)

 ++emerix

 On Jan 4, 11:15 pm, Chris Ramsdale cramsd...@google.com wrote:
  One option would be to use relative paths within the ui:image element.
 For
  example:
 
  ui:image field='logo' resource='../resources/my_logo.png'/ui:image
 
  Another option would be to use ui:with, get a hold of the ClientBundle,
  and reference an image within it.
 
  public interface Resources extends ClientBundle {
@Source(com/google/gwt/sandbox/resources/my_logo.png)
ImageResource logo();
 
  }
 
  ui:UiBinder
...
ui:with field='res' type='com.google.gwt.sandbox.client.Resources'/
ui:image field='logo' resource='{res.logo}'/ui:image
...
  /ui:UiBinder
 
  Underscores within the filename are completely valid (the above examples
  compile and run w/o issue).
 
 
 
  On Thu, Dec 31, 2009 at 3:30 AM, Daniel doubleagen...@gmail.com wrote:
   Here's a valid ui.xml file:
 
   ?xml version=1.0 encoding=UTF-8?
   !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 field=IekyStyle
  .anchorWrapper a {
  display: block;
  }
 
  @sprite .left {
  gwt-image: 'left';
  }
 
  @sprite .logo {
  gwt-image: 'logo';
  background-position: 0 -197px;
  height: 197px;
  }
 
  div.logo:hover {
  background-position: 0 0;
  }
 
  @sprite .slogans {
  gwt-image: 'animatedSloganArea';
  }
 
  @sprite .menuTop {
  gwt-image: 'menuTop';
  }
 
  @sprite .right {
  gwt-image: 'right';
  }
 
  @sprite .home {
  gwt-image: 'home';
  height: 25px;
  }
 
  div.home:hover {
  background-position: 0 -25px;
  }
 
  @sprite .services {
  gwt-image: 'services';
  height: 25px;
  }
 
  div.services:hover {
  background-position: 0 -25px;
  }
 
  @sprite .about {
  gwt-image: 'about';
  height: 25px;
  }
 
  div.about:hover {
  background-position: 0 -25px;
  }
 
  @sprite .contact {
  gwt-image: 'contact';
  height: 25px;
  }
 
  div.contact:hover {
  background-position: 0 -25px;
  }
 
  @sprite .menuBottom {
  gwt-image: 'menuBottom';
  }
 
  @sprite .floatingBar {
  gwt-image: 'floatingBarArea';
  }
 
  @sprite .bottom {
  gwt-image: 'bottom';
  }
/ui:style
 
ui:image field=about resource=about.png/ui:image
ui:image field=animatedSloganArea
   resource=animatedSloganArea.png/ui:image
ui:image field=bottom resource=bottom.png/ui:image
ui:image field=contact resource=contact.png/ui:image
ui:image field=floatingBarArea resource=floatingBarArea.png/
   ui:image
ui:image field=home resource=home.png/ui:image
ui:image field=left resource=left.png/ui:image
ui:image field=logo resource=logo.png/ui:image
ui:image field=menuBottom resource=menuBottom.png/ui:image
ui:image field=menuTop resource=menuTop.png/ui:image
ui:image field=right resource=right.png/ui:image
ui:image field=services resource=services.png/ui:image
 
g:HTMLPanel
  div class={IekyStyle.anchorWrapper}
table border=0 cellspacing=0.0 cellpadding=0
  tr
td rowspan=6div class={IekyStyle.left} //td
td rowspan=6a href=#homediv
   class={IekyStyle.logo} //a/td
td colspan=5div class={IekyStyle.slogans}/div/td
  /tr
  tr
td colspan=4div class={IekyStyle.menuTop}/div/td
td rowspan=5div class={IekyStyle.right}/div/td
  /tr
  tr
tda href=#homediv class={IekyStyle.home} //a/
   td
tda href=#business_servicesdiv
   class={IekyStyle.services} //a/td
tda href=#aboutdiv class={IekyStyle.about} //a/
   td
tda href

Re: DockLayoutPanel sample code

2010-01-12 Thread Chris Ramsdale
On Tue, Jan 5, 2010 at 9:18 AM, N G nistar...@gmail.com wrote:

 Hi,

 I tried the DockLayoutCode which is presented in
 http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html:
 DockLayoutPanel p = new DockLayoutPanel(Unit.EM);
 p.addNorth(new HTML(header), 2);
 p.addSouth(new HTML(footer), 2);
 p.addWest(new HTML(navigation), 10);
 p.add(new HTML(some content));

 // I added this:
 RootLayoutPanel.get().add(p);

 All this code was obviously placed inside the onModuleLoad
 substituting the sample Eclipse startup code when you create a new
 GWT app. The output looked nothing like what was presented on that
 page.

I also tried the SplitLayoutPanel code right below that one. Likewise,
 the result was nothing that I expected. For one, there were no grab
 area to drag. I inspected the generated page in Firebug and I can
 certainly see the grab area there, but I don't see anything to drag.
 Moving the mouse around that area doesn't change the mouse into a hand
 and doesn't let me grab the separation, etc...

 What am I doing wrong here?


The new layout system does not include default styles, and the example
within the Dev Guide is using CSS that wasn't included. When we get a
chance, we'll add it to examples (as a download, or within the doc itself).
In the meantime, there is already an issue for this, and you can tracks its
progress here:
http://code.google.com/p/google-web-toolkit/issues/detail?id=4429

On a similar note... I was surprise to see the Eclipse autogenerate
 HTML page say that it is in quirks mode and changing to standards mode
 could have layout consequences (etc.) when the goals of GWT 2.0
 clearly state that they only aim to support standards mode.

 Could someone guide me on this one?


I've entered the following issue for this:
http://code.google.com/p/google-web-toolkit/issues/detail?id=4480


 Thanks,
 NG.

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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 upgrading to GWT 2.0

2010-01-12 Thread Chris Ramsdale
Before deploying the updated 2.0 code to your server, did you try deleting
your war/module directory and recompiling? Also, is there anything
significant about the objects you are passing over the wire?

- Chris

On Sun, Jan 10, 2010 at 10:07 PM, Cliff Newton cliff.new...@gmail.comwrote:

 A couple of days ago I was reading about the numerous improvements to
 GWT in 2.0. I set off to upgrade from 1.5.2 and I managed to get my
 project running in 1.6.4 and from there I moved on to 2.0. The problem
 I'm having is that my project runs fine in hosted mode, but when I try
 to deploy my code to my server I get the following exception stack
 upon making an RPC call to the server.

 I did some searching and there are a few people reporting this problem
 for various versions of GWT yet none of them have received a response
 with a solution. I upgraded all of the gwt jar files on my server and
 I still get this error. I'm at a loss, please help.

 Jan 10, 2010 7:40:44 PM org.apache.catalina.core.ApplicationContext
 log
 SEVERE: Exception while dispatching incoming RPC call
 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:546)
at java.util.ArrayList.get(ArrayList.java:321)
at
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.extract
 (ServerSerializati$
at
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.readInt
 (ServerSerializati$
at

 com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.prepareToRead
 (AbstractS$
at

 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead
 (ServerSeria$
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:
 234)
at
 com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall
 (RemoteServiceServlet.java:163)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost
 (RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
 637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
 717)
at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
 (ApplicationFilterChain.java:$
at org.apache.catalina.core.ApplicationFilterChain.doFilter
 (ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke
 (StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke
 (StandardContextValve.java:183)
at org.apache.catalina.core.StandardHostValve.invoke
 (StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke
 (ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke
 (StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service
 (CoyoteAdapter.java:325)
at org.apache.coyote.http11.Http11Processor.process
 (Http11Processor.java:828)
at org.apache.coyote.http11.Http11Protocol
 $Http11ConnectionHandler.process(Http11Protocol.java:6$
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run
 (JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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 Architecture source code?

2010-01-12 Thread Chris Ramsdale
http://code.google.com/webtoolkit/doc/latest/tutorial/projects/Contacts.zip

On Mon, Jan 11, 2010 at 11:42 PM, Ralph fed...@gmail.com wrote:

 Hi,

 Can someone post the link to the MVP/DI/Event Bus/Best Practices
 Contacts source example.  I've looked around and don't see it.

 Thanks,
 Ralph

 On Jan 4, 10:31 am, Walter waltervanderl...@gmail.com wrote:
  @Chris: Thanks for the source code!
 
  The Contacts example is clear and well written and I finally start to
  understand the best practices mentioned on Google I/O.
 
  Thanks!
 
  - Walter
 
  On 28 dec 2009, 04:18, Chris Ramsdale cramsd...@google.com wrote:
 
 
 
   I'll be adding the source for this tutorial asap, and will update
 everyone
   when it's available.
 
   - Chris
 
   On Tue, Dec 22, 2009 at 4:11 PM, Dalla dalla_man...@hotmail.com
 wrote:
Don´t know if it´s been there for some time now, but I noticed that a
section named MVP Architecture has been added to the GWT Tutorial
section.
It looks a lot like the best practice example that Ray Ryan used in
hos GWT Best practice session on Google I/O 2009.
It there any chance of the community seeing the entire source code of
this example?
 
--
 
You received this message because you are subscribed to the Google
 Groups
Google Web Toolkit group.
To post 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.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.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: OOPHM is slow

2010-01-12 Thread Chris Ramsdale
Although this smells of a network configuration issue, one suggestion you
could try is to set the log level to Debug or lower.

Debug-Debug Configurations-GWT-Log level.

Try that, and let us know if anything suspect is output.

- Chris

On Mon, Jan 11, 2010 at 11:56 AM, timmattison timmatti...@gmail.com wrote:

 I just started using OOPHM on my Mac (10.6.2) and it is very, very
 slow.  I've tried all of the recommendations about changing the URL to
 include only localhost or 127.0.0.1 but I still have to wait
 nearly three minutes for my application to start.

 The program I'm writing is currently very small and only consists of
 less than 200 lines of code.  It does import a JAR that contains
 definitions of a lot of objects and has some dependencies (Gilead,
 Hibernate, GXT) for the server side components but right now I'm just
 using basic GWT components.  Does the size of the dependencies and
 included JARs matter?

 I ask because I notice that as soon as I start the application the
 traffic on port 9997 to and from my loopback interface is pegged at
 1.5MB/sec in each direction for the entire three minutes the
 application is starting up.  I stepped through my code with a debugger
 and the client side code gets set up, runs, then there's a three
 minute pause where all of this data goes back and forth, and then the
 server-side code runs.  The client and server side code takes less
 than 1 second to finish so I don't think it's a bug in my code.

 I tried to capture the traffic in Wireshark to figure out what is
 getting sent but it looks like all of the packets are very small (~56
 bytes) and trying to capture the whole session causes Wireshark to
 crash.

 Is anyone else seeing this loopback traffic problem?  I assumed maybe
 the debugger is communicating my dependencies to the OOPHM plugin but
 my dependencies are nowhere near this large.

 What other information can I provide to help this get debugged?

 Thanks,
 Tim Mattison

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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 RPC not picking up custom generated Serializable classes

2010-01-12 Thread Chris Ramsdale
My comments/questions inline:


 The generated class extends this AbstractRpcObserver (and is thereby
 Serializable) and implements the TestMessageListener interface. An
 instance of the generated class is used as argument in the
 addMessageListener method invoction in the RPC service.


If I understand this correctly, your custom generator is generating
the TestMessageListenerImpl
class you reference above. Correct?


 This is part of a framework for asynchronous invocations of observers
 in the client from the server. The idea is to have the framework
 generate the plumbing code so that any interface can be used as a
 listener to be added to the server.

 Everything works like a charm in GWT 1.7.1, but as you say, that could
 be just a happy coincidence.


Yes. Either happy coincidence, or the order in which we ran the generators
was different in 1.7.1. Not necessarily my area of expertise, but I'm asking
around back here.

Would you mind emailing me your gwt.rpc file? I would like to see what
classes have been whitelisted.



/Martin

 On 11 Jan, 23:03, Chris Ramsdale cramsd...@google.com wrote:
  Martin,
 
  The RPC serialization generator is most likely being run before your
 custom
  generator. As a result serialization code, whitelisting, etc... are not
  being created. Unfortunately there is no way of guaranteeing that your
  generator is run before the RPC serialization generator.
 
  That said, I did have a couple of thought:
 
  1. Within your RPCs, what class is your server expecting?
  2. Rather than generate classes that you send across the wire, would it
 be
  possible to send an interface, and generate client-side classes that
  understand how to instantiate themselves based on said interface?
 
  2010/1/11 Martin Söderström martin.k.soderst...@gmail.com
 
 
 
   Hi,
 
   I have a custom Generator (subclassing
   com.google.gwt.core.ext.Generator) class that generates a class to be
   used as argument in an RPC method. The generated class implements
   Serializable and the interface that the RPC method expects. This used
   to work in GWT 1.7, but with GWT 2.0 I get a
   com.google.gwt.user.client.rpc.SerializationException. Using
   IsSerializable instead of Serializable does not make any difference.
 
   It feels like, in GWT 2.0, the scanning for RPC serializable classes
   does not take into consideration the custom generated classes. Does
   anyone know anything about this? A possible workaround?
 
   /Martin
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post 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.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.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 running application GWT 2.0 with external server and DevMode, unable to find module file

2010-01-12 Thread Chris Ramsdale
Can you post your entire launch configuration? Are you able to debug it
using a Web App launch config?

- Chris

On Mon, Jan 11, 2010 at 8:09 AM, mlopez marcoslopezbarbe...@gmail.comwrote:

 After migrate my application from GWT 1.7 to 2.0, when I try to run my
 web application in dev mode from Eclipse IDE, using an external Tomcat
 web server, through a java application run configuration for
 com.google.gwt.dev.DevMode main class, with the next program
 parameters:

 -noserver
 -war C:\workspace\.metadata\.plugins\org.eclipse.wst.server.core
 \tmp0\wtpwebapps\myapp\gwt
 -startupUrl
 http://localhost:8080/MyAppWeb/gwt/com.xxx.web.MyApp/MyApp.html
 com.xxx.web.client.MyApp

 after the GWT Development Mode window starts I get the next error:

 Unable to find com.xxx.web.client.MyApp.gwt.xml on your classpath;
 could be a typo, or maybe you forgot to include a classpath entry for
 source?

 I don't know the reason for this error, when I have MyApp.gwt.xml at
 the same level of the client folder in the source code, can anyone
 help me?
 Thanks.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-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 opportunity in Denver area with Fortune 10 client

2010-01-11 Thread Chris Ramsdale
Just to add some color to this discussion; the group does in fact get quite
a bit of spam regarding jobs that have nothing to do with GWT (usually 2-3
postings per day). We simply moderate them, mark them as spam, etc...

When posts come through that are actually looking for good GWT
developers, much like this one, we'll make a conscious decision to post it.
After all, pairing companies looking for GWT developers with, wella
community of good developersbenefits everyone.

- Chris

On Mon, Jan 11, 2010 at 1:20 PM, Ivan Ooi olibr...@gmail.com wrote:

 Actually this is very interesting. How nice if GWT can create a groups for
 GWT job posting and a summary post over to this group
 daily. A great statistic to me!

 and... I dont find this as a spam as well. to me is a good statistic

 On Tue, Jan 12, 2010 at 1:50 AM, barnaclehead ba6...@gmail.com wrote:

 I like the original posting as it validates (flame bait) our use of
 GWT as being accepted in the marketplace.

 On Jan 11, 9:04 am, Jim Douglas jdoug...@basis.com wrote:
  I didn't see this as spam.  To be honest, I didn't notice it at all
  until Peter's response drew attention to it.
 
  I don't have a problem with an occasional posting looking for a GWT
  developer.  I would have a problem if an employment agency spammed the
  list daily with job postings.
 
  On Jan 11, 7:23 am, Peter Ondruska peter.ondru...@gmail.com wrote:
 
   Dear poster, not sure if this is off-topic for others but for me it
   definitely is (and I will leave it for others to mark your post as
   spam). Please seehttp://
 groups.google.com/group/google-web-toolkit/web/gwt-discussion-
   As the number of similar postings is growing I would suggest you start
   your own group where those who are interested will seek for and offer
   GWT related jobs. Thank you for understanding and please, let's not
   follow this discussion publicly (there is reply to author available).
   Peter
 
   On Jan 8, 10:31 pm, Carolyn Gioia - TEKsystems cdgi...@gmail.com
   wrote:
 
Hello all!
 
I have an opportunity in the Denver metro area with a Fortune 10
client. It is a 6 month rolling contract.
 
Our client's team is building a key tool for their application
release. Our developer will be focused on re-writing an existing
application to make it compliant with government standards. They
 will
be replacing a senior java developer who is leaving the
 organization.
This resource must have design and development experience with
 Google
Web Toolkit on client/server applications using the Hibernate and
Spring frameworks. This is a senior role, so a minimum of six months
of GWT experience is required, and they must have worked with the
technology where a product is being created for release to the
 market.
This group works across all three tiers in a client server multi-
threaded environment, so the qualified candidate must be able to
design and develop applications this way.
 
They are using the Hibernate framework for their middle tier to
 back-
end, JDK 1.5(1.6 now), Spring MVC, and Google web toolkit for there
 UI
all interacting with Oracle databases.
 
6 months of real world GWT experience
Five plus year of Java development in a client server environment.
2 years of development experience with Hibernate and Spring
One year of development directly to the database without using a
framework.
 
Client will be interviewing in person only. Candidates will not be
hired over phone interviews.
 
*If interested please reply to cgi...@teksystems.com or call me
directly (303) 412 - 2736

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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.



Re: GWT 2.0 Upgrade Problem

2010-01-11 Thread Chris Ramsdale
I second Rajeev's comments, there are a couple of oddities that you may
experience when upgrading.

That said, I'm wondering about the following (@m.militz):

1. I'm assuming you meant XYZ.nocache.js and not XYZ.cache.js. Is this
correct?
2. While GWT does produce a .html when you create a new project, it does not
create this file every time, and it does not alter it once created. Put
another way, I don't believe that GWT is mucking with your Project.html file
(not even during upgarde). Is your script tag, within Project.html,
incorrect for some reason? What happens if you simply change it to reference
module/module.nocache.js?

- Chris

On Mon, Jan 11, 2010 at 12:33 PM, Rajeev Dayal rda...@google.com wrote:

 Hi,

 Have you seen an instance where GWT tries to load the nocache.js file
 directly from the root of your war folder? What does the HTTP GET request
 look like?

 There is definitely a bug in GWT when switching between SDKs. The problem
 is twofold:

 1) The hosted.html file does not get regenerated. The workaround for this
 is to blow away the generated subdirectories of the war directory after
 switching SDKs.
 2) Because of the caching rules that GWT's embedded Jetty uses, hosted.html
 is not re-requested by the browser whenever it is requested. The workaround
 for this is to clear your browser's cache.



 Rajeev

 On Mon, Jan 11, 2010 at 11:16 AM, m.mil...@newelements.de 
 m.mil...@newelements.de wrote:

 Thanks for the hints, but all of this issues i could handle by myself.
 the problem is gwt produces erroneus code. it tries loading
 XYZ.cache.js files from the war folder, but into the war fiolder are
 subdirectories where the js files lies.
 It looks like this only happens on special occasions but i still can´t
 fire out what is responsible for that.

 On 9 Jan., 23:15, Sorinel C scristescu...@hotmail.com wrote:
  Hi all,
 
  There small tricks related with the environment, which aren't
  documented, in the GWT tutorial.
 
  Here you can find what helped me to solve the migration issues:
 
  http://ui-programming.blogspot.com/2009/12/update-your-application-to.
 ..
 
  Cheers!

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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.



Re: Return a JDBC ResultSet from RPC via DTO

2010-01-11 Thread Chris Ramsdale
Russ,

Not sure if this helps, but this article has a fair amount of discussion
regarding Hibernate-DTOs-GWT-based client. It may be worth a read.

http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html



On Mon, Jan 11, 2010 at 12:28 PM, Russ r...@epcinternet.com wrote:

 Thank you, but I've already gone through that. That's how i was able
 to create my app in the first place. All I'm looking to do now is find
 out how to wrap a JDBC ResultSet in a DTO or ArrayList.


 On Jan 11, 12:24 pm, philippe vonck...@yahoo.fr wrote:
  http://code.google.com/intl/fr-FR/webtoolkit/doc/latest/tutorial/RPC

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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 dev mode with pre-installed tomcat

2010-01-08 Thread Chris Ramsdale
What specific issues are you running into?


On Fri, Jan 8, 2010 at 8:21 AM, Nuno brun...@gmail.com wrote:

 Hello everybody,

 I'm implementing gwt on a existing project. and i need to use dev mode with
 the already installed tomcat.

 Can anybody help me configure this?

 I'm using gwt 2.0


 Att

 Bruno Bilescky

 --
 Wants to learn Javascript? Read my blog / Quer aprender a programar? leia
 meu blog
 http://tcninja.blogspot.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.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: javascript error (invalid Argument)

2010-01-08 Thread Chris Ramsdale
Hey John,

Would you be able to narrow it down to a smaller repro case?

- Chris

On Thu, Jan 7, 2010 at 5:29 PM, John V Denley johnvden...@googlemail.comwrote:

 I have just come across the following error when testing my
 application in IE7, It seems to work fine in Chrome 4.0  and FF 3.5.7

 I have seen several other people having the same problem on this
 forum, but I cant work out from any of them how I can work out whats
 wrong with MY application!

 Can anyone give me any clues as to how and where to look to find out
 where to fix this problem?

 Thanks,
 John


 22:04:09.376 [ERROR] [idebanet] Uncaught exception escaped
 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.invokeNativeObject
 (ModuleSpace.java:264)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject
 (JavaScriptHost.java:91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.shell.MethodAdaptor.invoke
 (MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke
 (MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke
 (OophmSessionHandler.java:157)
at com.google.gwt.dev.shell.BrowserChannel.reactToMessages
 (BrowserChannel.java:1668)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection
 (BrowserChannelServer.java:401)
at com.google.gwt.dev.shell.BrowserChannelServer.run
 (BrowserChannelServer.java:222)
at java.lang.Thread.run(Unknown Source)

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Suspicious Java interface definition in the Contacts example

2010-01-08 Thread Chris Ramsdale
yc,

There's no GWT-specific reason to declare the interface abstract. The GWT
compiler, just like the Java compiler, will discard the abstract qualifier.


On Thu, Jan 7, 2010 at 8:44 PM, yc ycx4...@gmail.com wrote:

 Hello,

 If you have reviewed the Contacts example in the GWT tutorial, the
 Presenter interface is defined as the following in the example:

 public abstract interface Presenter {
  public abstract void go(final HasWidgets container);
 }

 Here is what section 9.1.1 in JLC (2nd edition) has to say:
 --- quote ---
 9.1.1.1 abstract Interfaces
 Every interface is implicitly abstract. This modifier is obsolete and
 should not be used in new programs.
 --- end of quote ---

 Am I missing something here that the abstract modifier is being used
 in this example to trigger some JavaScript compiler optimization
 techniques?  I would have just ignored the modifier if this were a
 regular Java program but this one gives me sweat since it is intended
 to be compiled into JavaScript source...so what I am missing?

 yc

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Referencing deprecated class warning stack

2010-01-08 Thread Chris Ramsdale
I've updated the issue with a workaround, let me know if it doesn't work for
anyone. Also, if you don't mind, please star the issue so that it gets
prioritized correctly.

- Chris

On Fri, Jan 8, 2010 at 12:38 PM, Trevis trevistho...@gmail.com wrote:

 I've been watching this thread too. 2.0 also introduced this for me as
 well.



 On Jan 8, 2:48 am, khaled.tl...@gmail.com khaled.tl...@gmail.com
 wrote:
  Hi,
 
  I've got the same type of exception with same environment. Is there
  something that we missed?
 
  Regards.
  KT
 
  On Jan 2, 7:54 pm, leslie web...@comcast.net wrote: Eclipse 3.5
 Galileo Java EE Cocoa
   Java 1.5.0_13
   Mac OS X 10.5.7
   GWT 2.0
 
   Hello,
 
   I'm seeing a series of warning messages in my console when I attempt
   to compile my project.  Posted below:
 
   Scanning for additional dependencies: file:/Users/leslie/Documents/
   projects/myprojectfolder/galileoWorkspace/myproject/src/com/foo/
   projectgwt/controller/AddAddressListener.java
 Adding '2' new generated units
Validating newly compiled units
   [WARN] Warnings in 'generated://
   27507DF474CDC042922DAFFEA239ABF3/com/foo/projectgwt/client/
   AddressService_TypeSerializer.java'
  [WARN] Line 81: Referencing deprecated class
   'com.google.gwt.user.client.ui.ChangeListenerCollection'
  [WARN] Line 86: Referencing deprecated class
   'com.google.gwt.user.client.ui.ClickListenerCollection'
  [WARN] Line 91: Referencing deprecated class
   'com.google.gwt.user.client.ui.FocusListenerCollection'
  [WARN] Line 96: Referencing deprecated class
   'com.google.gwt.user.client.ui.FormHandlerCollection'
  [WARN] Line 101: Referencing deprecated class
   'com.google.gwt.user.client.ui.KeyboardListenerCollection'
  [WARN] Line 106: Referencing deprecated class
   'com.google.gwt.user.client.ui.LoadListenerCollection'
  [WARN] Line 111: Referencing deprecated class
   'com.google.gwt.user.client.ui.MouseListenerCollection'
  [WARN] Line 116: Referencing deprecated class
   'com.google.gwt.user.client.ui.MouseWheelListenerCollection'
  [WARN] Line 121: Referencing deprecated class
   'com.google.gwt.user.client.ui.PopupListenerCollection'
  [WARN] Line 126: Referencing deprecated class
   'com.google.gwt.user.client.ui.ScrollListenerCollection'
  [WARN] Line 131: Referencing deprecated class
   'com.google.gwt.user.client.ui.TabListenerCollection'
  [WARN] Line 136: Referencing deprecated class
   'com.google.gwt.user.client.ui.TableListenerCollection'
  [WARN] Line 141: Referencing deprecated class
   'com.google.gwt.user.client.ui.TreeListenerCollection'
  See snapshot: /tmp/
   AddressService_TypeSerializer49102.java
 
   I'm not referencing any of these classes in my code.  I've posted
   elsewhere in another related thread which involved the assignment of
   collections.   And in that case the discussion referred to the RPC
   calls returning objects of Collection types.  But in this class, that
   isn't happening.  This class, AddAddressListener, does not use or
   involve any types of collection classes.  And furthermore, I didn't
   notice any of these messages in my code until I made assignment
   changes in my GUI code, in classes which may use this listener.  (but
   then I tried to reverse these changes and yet still the issue remains
   - so now I have no idea..) But why is the warning message targeting
   this class?
 
   This is just part of the stack that appears in the console.  There are
   other classes referenced there too and the warnings are very similar,
   maybe identical.  I'm focusing on one for brevity.
 
   I guess my question is - What does this warning stack mean and how
   should I resolve 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.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: Deprecation warning in all RPCs dealing with collections on GWT 2.0 RC2

2010-01-08 Thread Chris Ramsdale
*I've updated the issue (
http://code.google.com/p/google-web-toolkit/issues/detail?id=4438) with a
workaround, let me know if it doesn't work for anyone. *
*
*
*- Chris
*
On Wed, Jan 6, 2010 at 1:42 PM, Chris Ramsdale cramsd...@google.com wrote:

 Please star the issue and add any relevant data you may have.

 - Chris

 On Wed, Jan 6, 2010 at 8:14 AM, Bert roexb...@gmail.com wrote:

 I'm experiencing the same problem.

 On Dec 8 2009, 6:24 pm, Luis Fernando Planella Gonzalez
 lfpg@gmail.com wrote:
  Hi.
  We're using GWT 1.7 and I'm starting to experiment with 2.0 RC2 to
  evaluate GWT.runAsync().
 
  However, now as I compile the app, I get warning for deprecations in
  all RPC methods which return collections. I guess it's because the
  result is declared as java.util.Collection, and the deprecated
  com.google.gwt.user.client.ui.*ListenerCollection classes extends
  ArrayList, making even the alternative to change the result of RPC
  methods to ArrayList instead of Collection don't work.
 
  The log is something like this, multiple times:
  [WARN] Warnings in 'generated://
  8D0B12EA4B123D9B133384111C9A7E38/nl/strohalm/cyclos/client/app/users/
  images/UserImageRemoteService_TypeSerializer.java'
 [WARN] Line 50: Referencing deprecated class
  'com.google.gwt.user.client.ui.ChangeListenerCollection'
 [WARN] Line 55: Referencing deprecated class
  'com.google.gwt.user.client.ui.ClickListenerCollection'
 [WARN] Line 60: Referencing deprecated class
  'com.google.gwt.user.client.ui.FocusListenerCollection'
 [WARN] Line 65: Referencing deprecated class
  'com.google.gwt.user.client.ui.FormHandlerCollection'
 [WARN] Line 70: Referencing deprecated class
  'com.google.gwt.user.client.ui.KeyboardListenerCollection'
 [WARN] Line 75: Referencing deprecated class
  'com.google.gwt.user.client.ui.LoadListenerCollection'
 [WARN] Line 80: Referencing deprecated class
  'com.google.gwt.user.client.ui.MouseListenerCollection'
 [WARN] Line 85: Referencing deprecated class
  'com.google.gwt.user.client.ui.MouseWheelListenerCollection'
 [WARN] Line 90: Referencing deprecated class
  'com.google.gwt.user.client.ui.PopupListenerCollection'
 [WARN] Line 95: Referencing deprecated class
  'com.google.gwt.user.client.ui.ScrollListenerCollection'
 [WARN] Line 100: Referencing deprecated class
  'com.google.gwt.user.client.ui.TabListenerCollection'
 [WARN] Line 105: Referencing deprecated class
  'com.google.gwt.user.client.ui.TableListenerCollection'
 [WARN] Line 110: Referencing deprecated class
  'com.google.gwt.user.client.ui.TreeListenerCollection'
 See snapshot: /tmp/
  UserImageRemoteService_TypeSerializer2951604978153994580.java
 
  Is there a way to remove those classes from being handled in RPC?

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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 Css issues with new layout panels (Proposal)

2010-01-08 Thread Chris Ramsdale
You may want to add your comments to the following issue:

http://code.google.com/p/google-web-toolkit/issues/detail?id=4429q=layout%20css

- Chris

On Fri, Jan 8, 2010 at 9:29 AM, Sebastian use...@laliluna.de wrote:

 Hello,

 the new layout panels SplitLayout, DockLayout etc do not mark their
 elements with css classes. As a consequence, if you want to style them
 with custom css, it is actually impossible. The only option is to
 inject the styles directly in the code but you cannot use stylesheets
 based styles.

 I saw a message somewhere that the developers wanted to kick out the 2
 release first before reworking the CSS.

 My proposal is to mark all elements with css classes.

 Sample:
 div class=gwt-SplitLayoutPanel
  div class=gwt-north../div
 div class=gwt-center../div
 /div

 Every element can now be precisely styled using something like
 .gwt-SplitLayoutPanel  gwt-north{
 ..
 }

 As not all browser support the  selector, it could be better to use
 gwt-SplitLayOutPanel-north instead of gwt-north.

 Best Regards

 Sebastian Hennebrueder
 http://www.laliluna.de

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Possible bug in gwt with type casting or normal behavior!

2010-01-08 Thread Chris Ramsdale
I would try recompiling in pretty mode to see what js is produced. I know
the following works correctly for me (I used a TextBox to get around
compiler optimizations):

public void onModuleLoad() {

RootPanel.get().add(textBox);
RootPanel.get().add(button);
hash = new HashMapInteger, Object();

// Make a new button that does something when you click it.
button.addClickHandler(new ClickHandler() {

  public void onClick(ClickEvent event) {
long myPrimitiveLongValue = Long.parseLong(textBox.getValue());

String test = hello;
hash.put(1, test);

Object o = hash.get((int) myPrimitiveLongValue);

if (o == null) {
  Window.alert(object not found);
}
else {
  Window.alert((String)o);
}
  }
});

This in turn produced the following js:

function $onClick(this$static){
  var myPrimitiveLongValue, o;
  myPrimitiveLongValue =
parseLong($getPropertyString(this$static.this$0.textBox.element, 'value'),
10);
  $put(this$static.this$0.hash, valueOf(1), 'hello');
  o = $get_1(this$static.this$0.hash,
valueOf(lowBits(myPrimitiveLongValue)));
  o == null?($wnd.alert('object not found') ,
undefined):($wnd.alert(dynamicCast(o, 1)) , undefined);
}


On Fri, Jan 8, 2010 at 10:19 AM, mariyan nenchev
nenchev.mari...@gmail.comwrote:

 Hi,

 I thing there is possible bug when type casting. Take a look and tell me is
 this the normal behavior.

 So if you have HashMapInteger, Object hash = getHashMap();

 hash.get((int) myPrimitiveLongValue) will return null even there is value
 for that key.
 If you try Integer i = (int) myPrimitiveLongValue;
 hash.get((int)myPrimitiveLongValue) it will retur nthe value.

 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.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 compile multiple modules independent of each other

2010-01-07 Thread Chris Ramsdale
Ganesh,

If you wouldn't mind, please provide us with some hypothetical, real world
examples of widgets that you are describing, as well as how they would
interact and depend on each other.

Typically hosting multiple GWT-based widgets on your servers for others to
consume within a mashup is a non-issue, as the consumer would simply include
script tags that reference your widgets. In some cases a separate iframe or
xs linker might be necessary, but the base cases should run right out of the
box.

The more complicated part (and again, I may be misunderstanding you) is
having widget x rely on widget y, with the requirement that they compile
separately and produce separate js.

Do you have a sample project that you could provide?

- Chris

On Thu, Jan 7, 2010 at 2:25 AM, Ganesh ganesh.ban...@gmail.com wrote:

 Would request some one to comment on this so that I can move further
 with my application. Kindly let me if not possible in GWT so that I
 can look further for some other technology for my project.

 Ganesh Bansal

 On Jan 5, 10:08 am, Ganesh ganesh.ban...@gmail.com wrote:
  Hello Sri
 
  Thanks for your comments. But I think my requirement is a very genuine
  and if can be achieved in GWT, it will be a great feature for creating
  client side component libraries using GWT. I would request to some one
  from GWT team to comment on this whether it is possible (might be with
  the help of some patch -:)) or if they are planning to provide it in
  future releases of GWT.
 
  Thanks
 
  Ganesh Bansal
 
  On Jan 1, 3:57 am, Sripathi Krishnan sripathi.krish...@gmail.com
  wrote:
 
   GWT was never meant to be used that way. If you want to share widgets,
 it
   has to be done at compile time, not at runtime.
 
   The gwt-exporter http://code.google.com/p/gwt-exporter/ project can
 help
   you to some extent, you can have a look at it.
 
   --Sri
 
   2009/12/31 Ganesh ganesh.ban...@gmail.com
 
Hi All
 
I am using GWT2.0. I want to create some client side widgets by
extending GWT's widgets. These widgets will be deployed on my server
 
I will provide public links of js (.nocache.js) file of these widgets
so that a user can include these in his application's html page  use
them. I will deploy many of such widgets on my server. If a user
 wants
to use more than one widget, he need to include js file of each
 widget
in his html file. Each widget will have it's own module.
 
Further my widgets can be dependent on each other. Suppose Widget1 is
dependent on Widget2  user wants to use Widget1, he needs to include
js of both widgets (Widget1  Widget2) in his html file.
 
Now my problem is
- How to compile my Widget1's module so that while compiling Widget1,
it doesn't generate js for Widget2 as it will be provided to it at
 run
time (as user will include Widget2's js file in his html file).
- How Widget1 will be able to use Widget2  it's method as GWT
obfuscates all java code at compile time. I can't choose option for
not obfuscating code due to size of js  security issues.
 
Kindly also consider that I would like to compile Widget1  Widget2
separetly  a new version of Widget2 can be compiled at any time.
After this compile, changes done in Widget2 shd reflect while it is
being used through Widget1 without compiling Widget1 again.
 
Any help/suggestion in this regard will be highly appreciable.
 
Thanks in advance.
 
Ganesh Bansal
 
--
 
You received this message because you are subscribed to the Google
 Groups
Google Web Toolkit group.
To post 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: Compilation error

2010-01-07 Thread Chris Ramsdale
Would either of you be able to narrow it down to a smaller repro case?

- Chris

On Thu, Jan 7, 2010 at 11:49 AM, dangle dancalv...@gmail.com wrote:

 I just got the same error on one project, although I've successfully
 been able to compile others.  No idea why yet... anyone have any
 ideas?


 On Jan 7, 12:28 am, Raman rama...@gmail.com wrote:
  I just upgraded to GWT 2.0.
  But when I compile my source code with com.google.gwt.dev.Compiler, I
  get a NullPointerException as below. What am I doing wrong?
 
  [ERROR] Unexpected
  java.lang.NullPointerException
  at
  com.google.gwt.dev.javac.asm.ResolveTypeSignature.mergeTypeParamBound
  s(ResolveTypeSignature.java:229)
  at
  com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGeneric(Reso
  lveTypeSignature.java:300)
  at
  com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGeneric(Reso
  lveTypeSignature.java:297)
  at
  com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGenerics(Res
  olveTypeSignature.java:339)
  at com.google.gwt.dev.javac.asm.ResolveTypeSignature.visitEnd
  (ResolveTyp
  eSignature.java:155)
  at com.google.gwt.dev.asm.signature.SignatureReader.parseType
  (SignatureR
  eader.java:188)
  at com.google.gwt.dev.asm.signature.SignatureReader.accept
  (SignatureRead
  er.java:100)
  at com.google.gwt.dev.javac.TypeOracleMediator.resolveMethod
  (TypeOracleM
  ediator.java:972)
  at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
  (TypeOracleMe
  diator.java:767)
  at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
  (TypeOracleMe
  diator.java:792)
  at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
  (TypeOracleMe
  diator.java:698)
  at com.google.gwt.dev.javac.TypeOracleMediator.addNewUnits
  (TypeOracleMed
  iator.java:353)
  at com.google.gwt.dev.javac.CompilationState.assimilateUnits
  (Compilation
  State.java:135)
  at com.google.gwt.dev.javac.CompilationState.init
  (CompilationState.jav
  a:79)
  at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom
  (Compilat
  ionStateBuilder.java:284)
  at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom
  (Compilatio
  nStateBuilder.java:181)
  at com.google.gwt.dev.cfg.ModuleDef.getCompilationState
  (ModuleDef.java:2
  80)
  at com.google.gwt.dev.Precompile.precompile(Precompile.java:
  502)
  at com.google.gwt.dev.Precompile.precompile(Precompile.java:
  414)
  at com.google.gwt.dev.Compiler.run(Compiler.java:201)
  at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
  at com.google.gwt.dev.CompileTaskRunner.doRun
  (CompileTaskRunner.java:87)
 
  at
  com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(Compile
  TaskRunner.java:81)
  at com.google.gwt.dev.Compiler.main(Compiler.java:159)

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Eclipse + Windows 7 + GWT Debug As... doesn't work

2010-01-07 Thread Chris Ramsdale
I'm having a hard time following when you change debug methods, ports,
etc... Would you mind outlining the exact steps you are taking to debug your
app?

Also, have you tried replacing the ip address, within the codesvr query
param, with localhost?

- Chris

On Tue, Jan 5, 2010 at 1:21 PM, itgch...@googlemail.com 
itgch...@googlemail.com wrote:

 Hello, i'm new in GWT Developping. So i installed on my Windows 7
 Computer the Eclipse GWT plugin. All Works, can create Project's usw.
 But then, when i want to Debug or run the Development Server i'm
 always getting this error: Could not connect to remote UI listening at
 localhost:49409. Using default UI instead. (or other ports) Then a UI
 opened and there i can start a browser or can copy the link to my app:
 http://localhost:/StockWatcher.html?
 gwt.codesvr=10.33.229.113:9997 but this doesn't work.
 I know that i make something wrong, but what is 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.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: What's a good graph/chart library

2010-01-06 Thread Chris Ramsdale
There are several out there. You might want to check out:

http://code.google.com/p/gwt-chronoscope/


On Wed, Jan 6, 2010 at 8:30 AM, darkling darkling...@aol.com wrote:

 I'm looking to build charts for my current application. These charts
 aren't incredibly complex but they do have 2 Y axises and require me
 to do a mix of bar and line graphs on a single chart. Basically the
 left Y axis should represent the line graph while the right y axis
 should present the bar graph. CAn anyone recommend a good library or
 subsytem that will do this for GWT?
 Thanks

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=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: test folder not included in the Java Build Path Source

2010-01-06 Thread Chris Ramsdale
You're not doing anything wrong, this should work in a more automated
fashion. Would you mind entering an issue?

http://code.google.com/p/google-web-toolkit/issues/list

- Chris

On Tue, Jan 5, 2010 at 6:19 PM, Pion onlee2...@gmail.com wrote:

 I am using GWT 2.0 plugins on Eclipse Galileo.

 After invoking the New Application Project and follow its
 instructions, it created standard src, test, war, etc folders.

 One thing I notice (even in GWT 1.x), the test folder is not included
 in the Java Build Path Source.

 I have to do the following:

 o Right-click on my project name - Build Path - Configure Build
 Path. Java Build Path dialog box shows up.
 o Click on the Java Build Path on the left panel
 o It only shows MyProjectName/src
 o Click Add Folder ... button
 o Select test folder

 Is this supposed to be like this? Is it a bug? Is my environment
 wrong? Am I doing something wrong?

 Thanks in advance for your 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.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: MVP example on Wiki, completing the thought.

2010-01-06 Thread Chris Ramsdale
I went round and round about this one myself, but ultimately came to the
conclusion that you ether want a generalized representation of the model
that you pass to the view, or have the the presenter pass in an interface to
the view that is used when the view is ready to populate some widget with
data. If I understand him correctly, the generalized model is similar to
what Jocke pointed out. The callback interface, on the other hand,
simplifies the view, but it tends to lead to cases where the presenter has
intrinsic knowledge of how the view is laying out data, and to some extent
what controls are being used.

You can add layers of abstraction to solve the problem, but at some point
you have to realize that you *may* be making things harder to maintain.


On Tue, Jan 5, 2010 at 4:43 AM, jocke eriksson jock...@gmail.com wrote:

 I think a better solution would be setModel(TableModel model) where
 TableModel is an iterface, like the Swing TableModel. This way you will have
 a table that can display all sorts of domain objects.

 2010/1/5 Benju b...@fastcastmedia.com

 On the GWT wiki there is a new article (http://code.google.com/
 webtoolkit/doc/latest/tutorial/mvp-architecture.htmlhttp://code.google.com/webtoolkit/doc/latest/tutorial/mvp-architecture.html)
 with good
 example of how MVP code should work.  I found the following quote
 interesting...

 Method setData() is a simple way of getting model data into the view
 without the view having intrinsic knowledge of the model itself

 In the example there is only one column of date in the contacts table/
 list which meant the view can draw itself based on a ListString.
 What if the view was meant to display multiple columns a ListString
 as seen in ContactsPresenter.fetchContactDetails would not work.

 I see three options...

 Change this to ListContactDetails but then the view references the
 model

 Create a new class like ContactDetailsRowData that is essential
 ContactDetails minus any non-viewed fields (ie: primary key).

 Break down each row in the table into it's own widget, this tends to
 get very messy though and seems hackish.

 I am currently leaning towards setting the view's data as a
 ListContactDetails and just making sure that the view only uses
 model data to display the user interface, it doesn't try to fire
 events like SelectionEventContactDetails but rather sticks to
 ClickHandlers and providing methods like getSelectedIndex().

 Any ideas?

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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.



Re: Deprecation warning in all RPCs dealing with collections on GWT 2.0 RC2

2010-01-06 Thread Chris Ramsdale
Please star the issue and add any relevant data you may have.

- Chris

On Wed, Jan 6, 2010 at 8:14 AM, Bert roexb...@gmail.com wrote:

 I'm experiencing the same problem.

 On Dec 8 2009, 6:24 pm, Luis Fernando Planella Gonzalez
 lfpg@gmail.com wrote:
  Hi.
  We're using GWT 1.7 and I'm starting to experiment with 2.0 RC2 to
  evaluate GWT.runAsync().
 
  However, now as I compile the app, I get warning for deprecations in
  all RPC methods which return collections. I guess it's because the
  result is declared as java.util.Collection, and the deprecated
  com.google.gwt.user.client.ui.*ListenerCollection classes extends
  ArrayList, making even the alternative to change the result of RPC
  methods to ArrayList instead of Collection don't work.
 
  The log is something like this, multiple times:
  [WARN] Warnings in 'generated://
  8D0B12EA4B123D9B133384111C9A7E38/nl/strohalm/cyclos/client/app/users/
  images/UserImageRemoteService_TypeSerializer.java'
 [WARN] Line 50: Referencing deprecated class
  'com.google.gwt.user.client.ui.ChangeListenerCollection'
 [WARN] Line 55: Referencing deprecated class
  'com.google.gwt.user.client.ui.ClickListenerCollection'
 [WARN] Line 60: Referencing deprecated class
  'com.google.gwt.user.client.ui.FocusListenerCollection'
 [WARN] Line 65: Referencing deprecated class
  'com.google.gwt.user.client.ui.FormHandlerCollection'
 [WARN] Line 70: Referencing deprecated class
  'com.google.gwt.user.client.ui.KeyboardListenerCollection'
 [WARN] Line 75: Referencing deprecated class
  'com.google.gwt.user.client.ui.LoadListenerCollection'
 [WARN] Line 80: Referencing deprecated class
  'com.google.gwt.user.client.ui.MouseListenerCollection'
 [WARN] Line 85: Referencing deprecated class
  'com.google.gwt.user.client.ui.MouseWheelListenerCollection'
 [WARN] Line 90: Referencing deprecated class
  'com.google.gwt.user.client.ui.PopupListenerCollection'
 [WARN] Line 95: Referencing deprecated class
  'com.google.gwt.user.client.ui.ScrollListenerCollection'
 [WARN] Line 100: Referencing deprecated class
  'com.google.gwt.user.client.ui.TabListenerCollection'
 [WARN] Line 105: Referencing deprecated class
  'com.google.gwt.user.client.ui.TableListenerCollection'
 [WARN] Line 110: Referencing deprecated class
  'com.google.gwt.user.client.ui.TreeListenerCollection'
 See snapshot: /tmp/
  UserImageRemoteService_TypeSerializer2951604978153994580.java
 
  Is there a way to remove those classes from being handled in RPC?

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Design bug in the GWT StockWatcher tutorial

2010-01-05 Thread Chris Ramsdale
yc,

While scanning the list of inputs for ERR is not something you would
necessarily build into a production application, it does provide an example
of how you would throw an exception within a RPC. Note the comment right
above the code snippet:

For the sake of this example, keep it simple and only throw the exception
when the stock symbol ERR is added to the watch list.

Often times in these tutorials, we aren't out to build the perfect app,
instead we focus on providing guidance on the fundamentals of the toolkit
itself. How you work them into your app is going to be specific to the app
that you are building.

Thanks for the suggestion, please keep them coming.

- Chris

On Mon, Jan 4, 2010 at 6:34 PM, yc ycx4...@gmail.com wrote:

 Hello,

 I noticed a possible design bug in the Handling Exceptions section
 in the StockWatcher tutorial:
 http://code.google.com/webtoolkit/doc/latest/tutorial/RPC.html#exceptions

 If you enter ERR to add the delisted symbol, the app will no longer
 display stock quote on new valid symbols added after ERR.  You need to
 remove the ERR symbol from the stock table before adding new valid
 symbols.

 The root cause of this problem is how the program reads symbols after
 the ADD button is clicked.  In the StockWatcher.addStock() method, the
 stocks ArrayList is appended with a stock symbol regardless if the
 symbol is validated by the server.  The entire array of the stocks
 is passed to the server for validation in the
 StockWatcher.refreshWatchList() method.   But the
 stockPriceServiceImpl.getPrices() is designed to throw exception as
 soon as it sees the ERR string in the passed-in array.

 Correcting this design bug will make an already-excellent tutorial
 even better.  I hope some Googlers take note of this.

 Thx,
 yc

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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 and Eclipse not working

2010-01-04 Thread Chris Ramsdale
On Mon, Jan 4, 2010 at 9:34 AM, shooty sasan.sa...@gmail.com wrote:

 Hi Chris,

 I played with with -xmx and -xms with no result.

 Answers:
 1. Windows XP Professional Service Pack 2
 2. 32 Bit, 2GB Ram
 3. I tried the sample project, created by the webapplicationcreator or
 the plugin-wizzard, no difference.
 4. Log contains no new Information (see attached)


I didn't see an attachment in your previous response. Are you sure you sent
it?



 Yes replacing the assigned IP with localhost works?! Thanks!


Check your Windows security policies if you would rather not use this
workaround.



 Compiling is also working, anyway the error popup is still there and
 makes it impossible to upload the code to the appengine...
 It is disturbing me for months now.


Was compiling broken before, and is now working? Are you able to use the
Google App Engine Launcher to upload your app?



 Do you have a idea? Thanks,
 Sasan


 !SESSION 2010-01-04 15:04:47.000
 ---
 eclipse.buildId=M20090917-0800
 java.version=1.6.0_17
 java.vendor=Sun Microsystems Inc.
 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
 Command-line arguments:  -os win32 -ws win32 -arch x86

 !ENTRY com.google.gwt.eclipse.core 4 0 2010-01-04 15:10:10.140
 !MESSAGE GWT compilation failed

 !ENTRY com.google.gwt.eclipse.core 4 0 2010-01-04 15:15:31.234
 !MESSAGE GWT compilation failed




 On Jan 3, 8:12 pm, Chris Ramsdale cramsd...@google.com wrote:
  Couple of diagnostic questions:
 
  1. What version of Windows are you running (Vista, Windows 7, etc...)?
  2. I'm assuming 32 bit architecture and not 64 bit. Is this correct?
  3. What project are you trying to compile (custom or one of the samples)?
  4. What do you see in the Eclipse log file (workspace/.metadata/.log)?
 
  Regarding browsers connecting to port 9997, have you tried changing the
  codesvr URL to reference localhost and not your assigned IP?
 
  - Chris
 
  On Fri, Jan 1, 2010 at 4:34 PM, shooty sasan.sa...@gmail.com wrote:
   Hi All,
 
   I tried everything, but the eclipse plugin is not working together
   with the GWT SDK.
   I installed newest JDK, GWT and tried several eclipse versions. I also
   installed the newest appengine.
 
   The behavior is always the same. Eclipse is compiling the project and
   is quiting with an error popup but no further details:
 
   An exception stack trace is not available.
 
   eclipse.buildId=M20090917-0800
   java.version=1.6.0_17
   java.vendor=Sun Microsystems Inc.
   BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
   Command-line arguments:  -os win32 -ws win32 -arch x86
 
   I am desperate, any ideas?
   Also my browsers cannot connect to eclipse on port 9997?
   Please help and thank you!
   S
 
   --
 
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post 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 Compile

2010-01-04 Thread Chris Ramsdale
The war/module_name directory is deleted during each compile. You'll most
likely want to store your resources in the root of your war folder (or under
your src dir if you are including them in a Resource/ClientBundle).

On Sun, Jan 3, 2010 at 5:13 PM, gatty hemant.gupt...@gmail.com wrote:

 HI,

 When i am trying to GWT Compile in eclipse it is deleting
 CSS,JS,images files from workspace.

 What can be the problem?

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.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: Using our own server with GWT 2.0

2010-01-04 Thread Chris Ramsdale
You don't need to specify the noserver argument (unchecking the Run
built-in server checkbox is enough).

Would you mind posting
your workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/your
app.launch file?

On Sun, Jan 3, 2010 at 9:51 PM, markww mar...@gmail.com wrote:

 Hi,

 I just started using gwt 2.0 with eclipse 3.5, and am also having
 trouble getting -noserver to work now (had it working ok in previous
 gwt versions).

 I compiled my app once, put all my files on my remote web server,
 example:

  http://www.mywebsite.com/test/MyProject.html
  .. etc ..

 in eclipse, under run configurations, I set the following for my
 project:

  Main:
 embedded server (un-checked run embedded server).
  Arguments
 -noserver -startupUrl http://www.mywebsite.com/test/
 MyProject.html

 I then run the app - it looks like two instances of the app are
 launched:

  http://www.mywebsite.com/test/MyProject.html?gwt.codesvr=192.168.1.2:9997
  http://www.mywebsite.com/test/MyProject.html?gwt.codesvr=192.168.1.2:-1

 the first address appears to work ok, but looks like gwt tries to
 immediately launch a second instance, resulting in an exception
 explaining that port 9997 is already in use - which it is - from the
 first instance it launched.

 so the second url is unusable, it does not load any javascript. The
 first url at port 9997 works ok. I can get by with this, but am
 wondering if I messed something else up along the way to make gwt try
 launching two instances like this? This is on a brand new machine with
 a fresh eclipse / gwt install from January 2, 2010,

 Thanks

 On Dec 14 2009, 9:29 am, Christian Goudreau
 goudreau.christ...@gmail.com wrote:
  Thanks a lot ! Didn't know the arguments I needed, except for -noserver,
 but
  I knew it was the way ! I'll try this tonight
 
  Regards
 
  Christian
 
  On Mon, Dec 14, 2009 at 1:31 AM, Jan Ehrhardt
  jan.ehrha...@googlemail.comwrote:
 
   If you're using the Google Plugin, create a Web Application launch
   configuration and add the following to parameters to the 'program
   arguments':
 
   -noserver
   -startupUrlhttp://localhost:8080/test/go
 http://www.google.com/url?sa=Dq=http://localhost:8080/test/gousg=AF...
 
   Regards
   Jan Ehrhardt
 
   On Mon, Dec 14, 2009 at 5:55 AM, Christian Goudreau 
   goudreau.christ...@gmail.com wrote:
 
   Hello,
 
   I'm using PHP server side. I was used to GWT 1.7 and it was easy to
 use
   another server than the built in server. Now how do I set up Eclipse
 to use
   my PHP server instead of the default jetty ?
 
   Thanks !
 
   Christian
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post 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.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.comgoogle-web-toolkit%2bunsubscr...@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.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 compiled size twice greater on Mac than Windows

2010-01-04 Thread Chris Ramsdale
Can you be more specific as to where the size increase is? Is it jars,
compiled output, resource bundles, etc..?

On Mon, Jan 4, 2010 at 11:05 AM, hasan hasa...@gmail.com wrote:

 Hi,
 I have noticed a behavior that happens consistently and I can't
 explain why it does. If anyone else knows, I would appreciate it.

 When I compile my project on my macbook (snow leopard), the size of
 the war directory (including jars etc) is approx 11MB. The same
 project (no changes) when I compile on my pc (win xp), the size of the
 war is 6MB.

 When I deploy either project to Tomcat, they both work fine and
 identical. I am using the eclipse plugin for gwt and using java 1.6 in
 both cases.

 Hasan

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Simple UiBinder question about ui:image resource=....

2010-01-04 Thread Chris Ramsdale
One option would be to use relative paths within the ui:image element. For
example:

ui:image field='logo' resource='../resources/my_logo.png'/ui:image

Another option would be to use ui:with, get a hold of the ClientBundle,
and reference an image within it.

public interface Resources extends ClientBundle {
  @Source(com/google/gwt/sandbox/resources/my_logo.png)
  ImageResource logo();
}

ui:UiBinder
  ...
  ui:with field='res' type='com.google.gwt.sandbox.client.Resources'/
  ui:image field='logo' resource='{res.logo}'/ui:image
  ...
/ui:UiBinder

Underscores within the filename are completely valid (the above examples
compile and run w/o issue).


On Thu, Dec 31, 2009 at 3:30 AM, Daniel doubleagen...@gmail.com wrote:

 Here's a valid ui.xml file:

 ?xml version=1.0 encoding=UTF-8?
 !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 field=IekyStyle
.anchorWrapper a {
display: block;
}

@sprite .left {
gwt-image: 'left';
}

@sprite .logo {
gwt-image: 'logo';
background-position: 0 -197px;
height: 197px;
}

div.logo:hover {
background-position: 0 0;
}

@sprite .slogans {
gwt-image: 'animatedSloganArea';
}

@sprite .menuTop {
gwt-image: 'menuTop';
}

@sprite .right {
gwt-image: 'right';
}

@sprite .home {
gwt-image: 'home';
height: 25px;
}

div.home:hover {
background-position: 0 -25px;
}

@sprite .services {
gwt-image: 'services';
height: 25px;
}

div.services:hover {
background-position: 0 -25px;
}

@sprite .about {
gwt-image: 'about';
height: 25px;
}

div.about:hover {
background-position: 0 -25px;
}

@sprite .contact {
gwt-image: 'contact';
height: 25px;
}

div.contact:hover {
background-position: 0 -25px;
}

@sprite .menuBottom {
gwt-image: 'menuBottom';
}

@sprite .floatingBar {
gwt-image: 'floatingBarArea';
}

@sprite .bottom {
gwt-image: 'bottom';
}
  /ui:style

  ui:image field=about resource=about.png/ui:image
  ui:image field=animatedSloganArea
 resource=animatedSloganArea.png/ui:image
  ui:image field=bottom resource=bottom.png/ui:image
  ui:image field=contact resource=contact.png/ui:image
  ui:image field=floatingBarArea resource=floatingBarArea.png/
 ui:image
  ui:image field=home resource=home.png/ui:image
  ui:image field=left resource=left.png/ui:image
  ui:image field=logo resource=logo.png/ui:image
  ui:image field=menuBottom resource=menuBottom.png/ui:image
  ui:image field=menuTop resource=menuTop.png/ui:image
  ui:image field=right resource=right.png/ui:image
  ui:image field=services resource=services.png/ui:image

  g:HTMLPanel
div class={IekyStyle.anchorWrapper}
  table border=0 cellspacing=0.0 cellpadding=0
tr
  td rowspan=6div class={IekyStyle.left} //td
  td rowspan=6a href=#homediv
 class={IekyStyle.logo} //a/td
  td colspan=5div class={IekyStyle.slogans}/div/td
/tr
tr
  td colspan=4div class={IekyStyle.menuTop}/div/td
  td rowspan=5div class={IekyStyle.right}/div/td
/tr
tr
  tda href=#homediv class={IekyStyle.home} //a/
 td
  tda href=#business_servicesdiv
 class={IekyStyle.services} //a/td
  tda href=#aboutdiv class={IekyStyle.about} //a/
 td
  tda href=#contactdiv class={IekyStyle.contact} //
 a/td
/tr
tr
  td colspan=4div class={IekyStyle.menuBottom}/div/
 td
/tr
tr
  td colspan=4div class={IekyStyle.floatingBar}/div/
 td
/tr
tr
  td colspan=4div class={IekyStyle.bottom}/div/td
/tr
  /table
/div
  /g:HTMLPanel

 /ui:UiBinder



 It's the lines that read ui:image that I'm somewhat bothered by.  If
 I rename the image to 'animatedSloganArea.png' to
 'animated_slogan_area.png', and alter the resource tag the compiler
 throws an error.  If I move 'animated_slogan_area.png' to a different
 directory, like 'resources/images/banner', and update the resource tag
 to reflect that change, the compiler blows up there too.

 This makes it seem like the resource tag is useless, but I want my
 images in a separate directory, and I want them to have underscores,
 not this silly java coding convention.

 How do I do this?

 --

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

Re: Google Web Toolkit

2010-01-03 Thread Chris Ramsdale
Stating the obvious here, but the above URL is spam. Please do not click on
it. This user has been blocked from any further posts.

- Chris

On Fri, Jan 1, 2010 at 6:57 AM, rosey veenam...@gmail.com wrote:

 The official Google Web Toolkit (GWT) developer discussion group. GWT
 lets you build AJAX apps in the Java programming language
 For more info;

  www.123maza.com/construction/

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: findResource(DynaTable/html.gwt.xml) -- Resource not found, returning null

2010-01-03 Thread Chris Ramsdale
Do you see the following files under your root DynaTable directory?

./src/com/google/gwt/sample/dynatable/DynaTable.gwt.xml
./war/WEB-INF/classes/com/google/gwt/sample/dynatable/DynaTable.gwt.xml


On Sat, Jan 2, 2010 at 10:40 PM, Costa costa.con...@gmail.com wrote:

 Hi All

 I am trying to start hosted mode for DynaTable samples from GWT2.0.0
 using command line(see below):
 This sample works very very in all previous gwt versions.

 [ERROR] Unable to find 'DynaTable.gwt.xml' on your classpath; could be
 a typo, or maybe you forgot to include a classpath entry for source?

 @java -Xmx256M -cp %~dp0\src;%~dp0\bin;%~dp0\../../gwt-user.jar;
 %~dp0\../../gwt-dev.jar com.google.gwt.dev.GWTShell -out %~dp0\war -
 logdir logs -logLevel ALL  DynaTable.html

 I found very strange name DynaTable/html.gwt.xml in debug
 information.
 The development shell servlet received a request to generate a host
 page for module 'DynaTable.html'
   getResource(DynaTable/html.gwt.xml)
   findResource(DynaTable/html.gwt.xml)
   -- Resource not found, returning null
 -- Resource not found, returning null

 Any ideas?

 Thank you.

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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 and Eclipse not working

2010-01-03 Thread Chris Ramsdale
Couple of diagnostic questions:

1. What version of Windows are you running (Vista, Windows 7, etc...)?
2. I'm assuming 32 bit architecture and not 64 bit. Is this correct?
3. What project are you trying to compile (custom or one of the samples)?
4. What do you see in the Eclipse log file (workspace/.metadata/.log)?

Regarding browsers connecting to port 9997, have you tried changing the
codesvr URL to reference localhost and not your assigned IP?

- Chris

On Fri, Jan 1, 2010 at 4:34 PM, shooty sasan.sa...@gmail.com wrote:

 Hi All,

 I tried everything, but the eclipse plugin is not working together
 with the GWT SDK.
 I installed newest JDK, GWT and tried several eclipse versions. I also
 installed the newest appengine.

 The behavior is always the same. Eclipse is compiling the project and
 is quiting with an error popup but no further details:

 An exception stack trace is not available.

 eclipse.buildId=M20090917-0800
 java.version=1.6.0_17
 java.vendor=Sun Microsystems Inc.
 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
 Command-line arguments:  -os win32 -ws win32 -arch x86



 I am desperate, any ideas?
 Also my browsers cannot connect to eclipse on port 9997?
 Please help and thank you!
 S

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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 Article... Source Code?

2010-01-03 Thread Chris Ramsdale
Yaakov,

Having multiple presenters driving a single view would be a bit strange.
Typically want to the presenter to define the display interface that the
view will implement. Having multiple presenters drive a single view means
that either a) the display interface is defined in some parent presenter
class, or b) one of the presenters is responsible for defining the display
interface. Either way, it decouples the presenter-display relationship that
is inherent to the MVP architecture.

For applications with large UI frontends, you could consider breaking the UI
up into smaller presenter/view pairs that are managed by some controller
class. Take for example Gmail; the folder list would be one presenter with
an associated view, the inbox list another, the Google Talk interface
another, and so on. All of these would then be managed by some
MainViewController class.

Keeping widget-based code out of the presenter for ease of testing is
golden. Beyond that it's really a question how much code you want to
maintain within a single presenter and view.

On Sun, Jan 3, 2010 at 9:20 AM, Yaakov Chaikin yaakov.chai...@gmail.comwrote:

 Chris, or anyone else with experience on MVP in GWT...

 Practically, do you always have 1 view as the user sees it, i.e., the
 whole GUI, or if your GUI has many components (as most GUIs do), do
 you have multiple views, and most importantly, multiple presenters,
 presenting 1 coherent view to the user? In your example, this would be
 similar to splitting the GUI into a view that has the buttons and the
 GUI that has the list.

 How would that be handled in MVP?

 Thanks,
 Yaakov.

 On Wed, Dec 30, 2009 at 2:43 PM, Chris Ramsdale cramsd...@google.com
 wrote:
  While I see that someone has already found it, I just wanted to let
 everyone
  know that it's officially there.
 
 http://code.google.com/webtoolkit/doc/latest/tutorial/mvp-architecture.html
 
  We're looking to put together parts 2 and 3 shortly. So far I have UI
 Binder
  and Code Splitting integration as topics of interest. Let us know what
 else
  would be of help.
  - Chris
 
  On Tue, Dec 29, 2009 at 1:00 PM, jpnet jprichard...@gmail.com wrote:
 
  I really like this article:
 
 
 http://code.google.com/webtoolkit/doc/latest/tutorial/mvp-architecture.html
 
  However, it's almost useless without the entire source package. Are
  there any plans to post the source code?
 
  Thanks,
 
  JP
 
  --
 
  You received this message because you are subscribed to the Google
 Groups
  Google Web Toolkit group.
  To post 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-toolkit@googlegroups.com
 .
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.
 

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.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: findResource(DynaTable/html.gwt.xml) -- Resource not found, returning null

2010-01-03 Thread Chris Ramsdale
Also, is there a particular reason that you're using
com.google.gwt.dev.GWTShell and not com.google.gwt.dev.DevMode?

On Sat, Jan 2, 2010 at 10:40 PM, Costa costa.con...@gmail.com wrote:

 Hi All

 I am trying to start hosted mode for DynaTable samples from GWT2.0.0
 using command line(see below):
 This sample works very very in all previous gwt versions.

 [ERROR] Unable to find 'DynaTable.gwt.xml' on your classpath; could be
 a typo, or maybe you forgot to include a classpath entry for source?

 @java -Xmx256M -cp %~dp0\src;%~dp0\bin;%~dp0\../../gwt-user.jar;
 %~dp0\../../gwt-dev.jar com.google.gwt.dev.GWTShell -out %~dp0\war -
 logdir logs -logLevel ALL  DynaTable.html

 I found very strange name DynaTable/html.gwt.xml in debug
 information.
 The development shell servlet received a request to generate a host
 page for module 'DynaTable.html'
   getResource(DynaTable/html.gwt.xml)
   findResource(DynaTable/html.gwt.xml)
   -- Resource not found, returning null
 -- Resource not found, returning null

 Any ideas?

 Thank you.

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Borders on Decorator panel

2010-01-03 Thread Chris Ramsdale
I would suggest using addStyleName(), as it will allow you to tweak the look
and feel, and still leverage all of the existing DecoratorPanel CSS. The
following code worked for me:

public ContactsView() {
  DecoratorPanel contentTableDecorator = new DecoratorPanel();
  initWidget(contentTableDecorator);
  contentTableDecorator.addStyleName(orangeOutline);
  ...
}


With this CSS:

.orangeOutline {
  border-style: solid;
  border-width:1;
  border-color: #CC6600;
}
.gwt-DecoratorPanel .middleCenter {
  height: 100%;
  width: 100%;
 }


On Sat, Jan 2, 2010 at 1:29 PM, Marcelo Sena marceloslace...@gmail.comwrote:

 It seems that the border is an image, making it quite troublesome to
 work with it with CSS.
 So I decided to work with the middleCenter element of the panel, that
 gives a nice orange border around my widgets:

.gwt-DecoratorPanel .middleCenter{
 border-style: solid;
border-width:1;
 border-color: #CC6600;
}

 Now I want to apply this style to only a few specific widgets. That
 is:

#unsavedNote .middleCenter{...}

 However calling this code from the widget constructor:

this.setStylePrimaryName(unsavedNote);

 Produces no results, I'm inspecting the source with Chrome and I can
 tell that the element doesn't have the that style(it has gwt-
 DecoratorPanel)

 Help?

 On Jan 2, 9:20 am, Marcelo Sena marceloslace...@gmail.com wrote:
  I don't know how to change the color in a decorator panel. I tried
  looking for help in the documentation so I wrote this to my main css:
 
  .gwt-DecoratorPanel.topLeft{
  border-style: solid;
  border-width:1;
  border-color: RED;
 
  }
 
  But the border is still blue, what do I do?

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Deprecation warning in all RPCs dealing with collections on GWT 2.0 RC2

2010-01-03 Thread Chris Ramsdale
This is a bug. The ListListObject return type is causing the compiler to
generate serialization code for any class X that extends ListT, where T is
an interface that has a implementing class that extends class X. The
following code will reproduce the issue:

@Deprecated
public class MyTest extends java.util.ArrayListMyTestInterface{}

public class MyTestInterfaceImpl extends MyTest implements MyTestInterface
{}

public class MyTestInterfaceImpl extends MyTest implements MyTestInterface
{}


Could you add a bug to the GWT issue
trackerhttp://code.google.com/p/google-web-toolkit/issues/list
?

- Chris

On Fri, Dec 11, 2009 at 2:39 PM, Luis Fernando Planella Gonzalez 
lfpg@gmail.com wrote:

 Just found the answer, and luckily in my case it was simple to
 solve
 I have a subtype of ListT called PageImplT, which had another
 ListT containing the page items, plus the total count.
 Then (and I think is a problem in GWT compiler), the compiler resolves
 FocusListenerCollection, which extends ArrayListFocusListener to be
 a subclass of ListT.
 As a result, ALL occurrences of Collection of anything in any RPC
 method, by having PageImpl as a subclass of collection, had added
 those ListenerCollections as possible result types, generated code to
 handle them (50k in my case) and issued the warnings.
 The solution (in better words: hack) was to change PageImpl to not
 have a List of page items, but a LinkedList (it then converts the
 receiving list into a LinkedList, which is even a penalty in my case).
 As no ListenerCollection extends LinkedList, the problem is gone.

 Ah, I also had an RPC which result type was ListListString. The
 same problem. As it was just for testing, I changed it to ListString[]
 .

 But I'd really want to hear from a GWT dev if this is not a bug in the
 compiler...

 On 11 dez, 13:04, Ashar Lohmar asharloh...@gmail.com wrote:
  Hi I'm having the same kind of problem.
  in my app i use some libraries/object written in Java 1.4 style
  the objects implement Serializable but contain Lists or Maps which are
  declare without parameters
   i mean List instead of ListE, as the Java 1.4 requires
  and some RPC classes return this kind of objects but on Gwt-compiling
  I endup with a lot of code referencing all kinds of Listeners and
  stuffs that are unrelated to the RPC service.
 
  Basically the messages appear because the Listeners are deprecated,but
  what are they doing there in the first place ?
 
  hope someone will clear this up
 
  On Dec 8, 7:24 pm, Luis Fernando Planella Gonzalez
 
  lfpg@gmail.com wrote:
   Hi.
   We're using GWT 1.7 and I'm starting to experiment with 2.0 RC2 to
   evaluate GWT.runAsync().
 
   However, now as I compile the app, I get warning for deprecations in
   all RPC methods which return collections. I guess it's because the
   result is declared as java.util.Collection, and the deprecated
   com.google.gwt.user.client.ui.*ListenerCollection classes extends
   ArrayList, making even the alternative to change the result of RPC
   methods to ArrayList instead of Collection don't work.
 
   The log is something like this, multiple times:
   [WARN] Warnings in 'generated://
   8D0B12EA4B123D9B133384111C9A7E38/nl/strohalm/cyclos/client/app/users/
   images/UserImageRemoteService_TypeSerializer.java'
  [WARN] Line 50: Referencing deprecated class
   'com.google.gwt.user.client.ui.ChangeListenerCollection'
  [WARN] Line 55: Referencing deprecated class
   'com.google.gwt.user.client.ui.ClickListenerCollection'
  [WARN] Line 60: Referencing deprecated class
   'com.google.gwt.user.client.ui.FocusListenerCollection'
  [WARN] Line 65: Referencing deprecated class
   'com.google.gwt.user.client.ui.FormHandlerCollection'
  [WARN] Line 70: Referencing deprecated class
   'com.google.gwt.user.client.ui.KeyboardListenerCollection'
  [WARN] Line 75: Referencing deprecated class
   'com.google.gwt.user.client.ui.LoadListenerCollection'
  [WARN] Line 80: Referencing deprecated class
   'com.google.gwt.user.client.ui.MouseListenerCollection'
  [WARN] Line 85: Referencing deprecated class
   'com.google.gwt.user.client.ui.MouseWheelListenerCollection'
  [WARN] Line 90: Referencing deprecated class
   'com.google.gwt.user.client.ui.PopupListenerCollection'
  [WARN] Line 95: Referencing deprecated class
   'com.google.gwt.user.client.ui.ScrollListenerCollection'
  [WARN] Line 100: Referencing deprecated class
   'com.google.gwt.user.client.ui.TabListenerCollection'
  [WARN] Line 105: Referencing deprecated class
   'com.google.gwt.user.client.ui.TableListenerCollection'
  [WARN] Line 110: Referencing deprecated class
   'com.google.gwt.user.client.ui.TreeListenerCollection'
  See snapshot: /tmp/
   

Re: Unable to find 'stockwatcher.gwt.xml' Error strikes again

2009-12-30 Thread Chris Ramsdale
Do you have the same issue when you generate a new Web Application project
from scratch?

On Tue, Dec 29, 2009 at 2:15 AM, Chris collin...@gmail.com wrote:

 Hi I get a similar problem. I follow the tutorial word for word then
 when starting the web app after step 3. I get :

 java.lang.NullPointerException: null
at
 com.google.gwt.sample.stockwatcher.client.StockWatcher_xxx.onModuleLoad
 (StockWatcher_xx.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
 369)
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(Unknown Source)

 On Dec 19, 3:37 pm, AeMaeth adonai...@gmail.com wrote:
  Hi. I'm a newb at both GWT and internet related programming. I tried
  using the GWT v2.0 and found an error mentioned in the headline. I
  checked for solutions in previous versions but none of them worked.
  The server starts running nicely and generates the IP for me to use to
  see theStockWatcherpage but it shows the start page without the
  button or anything much but html and then th Firefox (v3.5.5) stops
  working until I stop the server.
  Help anyone? I might get a job as a programmer intern if I work some
  stuff out :)
 
  Thanx

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Can't inherit com.google.gwt.dev.util.collect

2009-12-30 Thread Chris Ramsdale
com.google.gwt.dev.util.collect is not meant to be used on the client side
(hence the lack of a module.gwt.xml file). As you discovered, you should
use the standard JRE HashMap, and let GWT provide the associated JS
implementation at compile time.

- Chris

On Mon, Dec 28, 2009 at 2:07 PM, forewar fore...@gmail.com wrote:

 Oh, I`ve just changed my library import. Imported java.util.HashMap
 instead of com.google.gwt.dev.util.collect.HashMap and I works now.
 But I still dont understand what`s wrong with gwt`s HashMap.

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: Bug in DateTimeFormat GWT

2009-12-30 Thread Chris Ramsdale
What you are describing sounds pretty straight forward, but would you mind
replying with a specific code snippet so that we can try reproducing the
issue?

- Chris

On Tue, Dec 29, 2009 at 1:43 PM, Chris christopher.burr...@gmail.comwrote:

 Clearly no ideas... Can i raise this somewhere?

 On Dec 15, 4:29 pm, Chris christopher.burr...@gmail.com wrote:
  Hi All
 
  Although the DateTimeFormat seems to work fine with most browsers,
  using the hosted/development mode, it does not handle Eras properly.
 
  Using GWT 1.x or GWT 2.0 I get the same behaviour:
 
  In Firefox, normally compiled etc. shows BC fine.
  In Development in Firefox, shows AD instead of BC
 
  Any ideas if this is just me overlooking something? or a real bug?
  Cheers
  Chris

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=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: Plugin failed to connect to hosted mode server

2009-12-27 Thread Chris Ramsdale
I suspect when you were using the ip address rather than localhost, the GWT
Dev Plugin was unable to connect to the GWT code server. As a result it was
not able to load (actually inject) the dynamic portions of your project
(e.g. all of the GWT Java code). This is typically a result of some security
restriction(s) set on your machine.

- Chris

On Tue, Dec 22, 2009 at 2:42 PM, Yuval yuval.metro...@gmail.com wrote:

 Hi Chris

 Yes - using localhost:9997 did solve the problem! Thank you.
 I could create the project before but not debug it - it didn't even
 call the Java code, as I explained it showed only the static HTML.
 Can you explain the difference?

 Thanks
 Yuval

 On Dec 22, 5:50 pm, Chris Ramsdale cramsd...@google.com wrote:
  Yuval,
 
  Can you successfully create, and debug, a new project from Eclipse? Also,
  does it help if you set gwt.codesvr=localhost:9997?
 
  On Tue, Dec 22, 2009 at 5:58 AM, Yuval yuval.metro...@gmail.com wrote:
   Hello everybody,
 
   I am new to GWT and need some help. I have recently downloaded GWT 2.0
   as an Ecplise plugin + SDK.
   Following the Getting started tutorial I have created a new GWT
   application project in Eclipse, StockWatcher. I have made no changes
   to the generated application.
 
   The application was created successfully, so I tried to run it locally
   using Run As - Web Application (with the Google icon). Then I
   copied the suggested URL from Development Mode tab and pasted into the
   browser (Chrome 4 with GWT extension):
  http://localhost:/StockWatcher.html?gwt.codesvr=10.0.0.1:9997
 
   I was expecting to view the default page normally, but it turned out
   that only the static elements of the web page (the headline Web
   Application Starter Project and label Please enter your name:) were
   displayed. After a while, a message box pops up: Plugin failed to
   connect to hosted mode server at 10.0.0.1:9997. When I close it I get
   a blackened screen with:
   GWT Code Server Disconnected
   Most likely, you closed GWT development mode. Or you might have lost
   network connectivity. To fix this, try restarting GWT Development Mode
   and REFRESH this page.
 
   This of course happening each time no matter what I do.
 
   Then I tried to compile the project and go directly to
  http://localhost:/StockWatcher.html, without the gwt.codesvr
   parameter. It did work, but that means that I can only work by
   compiling the code each time I want to test it (and probably can't
   debug).
 
   At first I thought this might be a firewall issue (although i'm not
   sure that accessing localhost should be a firewall concern), but to be
   on the safe side I have opened the ports  and 9997. It didn't
   help.
 
   Any ideas?
 
   Thanks,
   Yuval
 
   --
 
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post 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: Use smartgwt or not

2009-12-27 Thread Chris Ramsdale
While the information on this thread has become a bit passionate, it is all
good and relevant information. When building large scale GWT-based apps,
developers typically sketch out the foundation and then immediately start
looking for a good widget add-on. Threads like this can be extremely useful
when deciding which route to go.

That said, I would suggest we take this conversation offline as it has
become a bit personal.

Thanks,
Chris


On Sun, Dec 27, 2009 at 8:59 PM, Martin Kraus martin.krau...@gmail.comwrote:

 Great - Yozons is already a confused person incapable of making any
 decision by himself for *his* project and now you throw in another variable.
 I suspect this might throw him in a further endless loop. Oh, btw there's
 also gwt-mosaic and Vaadin. Make sure you evaluate those too and good luck
 trying to understand Vaadin's server side GWT rendering - not that I'm
 suggesting its good / bad.

 Anyone who thinks GXT license / commercial model is straightforward is
 either uninformed or disillusioned. I'll just repeat what I've said earlier.

 Ext / GXT / Ext GWT have and continue to have a very deceptive licensing
 scheme. It's licensed under GPL so you cannot use it commercially unless you
 are will to open source you client source code *and* your server side source
 code according to their very terms of use - which is very bizarre. Secondly
 even if you do end up buying a commercial license at $329 / license, you
 still do not have access to the bug fix releases.

 The $329 / license really doesn't get you much. Version 2.0 final of ExtGWT
 was pretty much demoware with over 100 critical bugs. 4 - 6 months later
 several bugs have been fixed but license holders are not
 entitled to the latest bug fix release of 2.0.3. You not only need a
 license but you need a support subscription to download the latest stable
 version.

 See http://www.extjs.com/products/gxt/download.php
 http://www.extjs.com/forum/showthread.php?p=393316#post393316

 So the real cost of the license is $629 / license / year. In addition to
 this be prepared to pay frequent upgrade fees for no good reason. Users were
 required to buy upgrade licenses within less than a year of
 the ExtGWT 1.0 release because they did an *internal* refactoring to clean
 up the code and not because new features were added to justify the 2.0
 release. Ext GWT 2.1 is just out and they are already talking about Ext GWT
 3.0 which is essentially clean up of their internal code to support the new
 GWT listener API's. What should customers pay an upgrade fee again for
 something like this?

 A final word of caution - read the terms of their commercial license very
 carefully and run it by your legal. It's not your typical commercial license
 that you'd expect with a commercial product. They have some really severe
 restrictions that might even require you end user / customer to buy a
 commercial license of ExtGWT. If after reading their license you still think
 its straightforward, then good luck to you.

 Martin



 On Mon, Dec 28, 2009 at 6:08 AM, Tom Schindl tomson...@gmail.com wrote:

 Just to mention that there are other Widget-Projects besides SmartGWT
 and GXT. I'm working
 on a library called QxWT [1] which works similar to SmartGWT by
 wrapping an JavaScript-Library.

 We are (yet) not at the point where GXT and SmartGWT are but we are
 working hard on to get there. For me
 and probably others the main interesting things the license all this
 work is available which is in this case LGPL and EPL.

 In the next few days we are going to release a small bugfix release
 and the next release will hold support for
 optimizing the native library code by leveraging the tooling support
 we get from our upstream library
 (scheduled for first 1-2 months 2010).

 In alignment with QxWT release in Q1 there's going to be an release of
 an MVP-Library which has highlevel support for Databinding
 (to fairly any Domain-Technology you can think of by leveraging the
 Eclipse-Databinding-Framework) and other well known
 Eclipse Technologies like JFace-Viewers.

 Tom

 [1] http://tomsondev.bestsolution.at/2009/12/17/qxwt-1-0-0-0-released/

 On Sun, Dec 27, 2009 at 11:32 PM, John Armstrong siber...@gmail.com
 wrote:
  There are a few strategies for DTO and GXT. Here are two
 
 
 http://www.extjs.com/helpcenter/index.jsp?topic=/com.extjs.gxt.help/html/tutorials/beanmodel.html
 
  I also did some using Commons::BeanUtils to autopopulate a DTO since I
  use Cayenne on the backend and it was not serializing very cleanly.
 
  So far I've found GXT to be pretty good to use although DataGrids have
  been, and continue to be, somewhat of a nightmare for me but I'll find
  my way through. GXT + Instantions WindowBuilder or GXT have made
  things mostly great on my current project.
 
  John
 
  On Sun, Dec 27, 2009 at 11:33 AM, Yozons Support on Gmail
  yoz...@gmail.com wrote:
  Thanks.  I just read about that, which means it should be even easier
 to
  debug and work 

Re: Errors/Typos in GWT Docs

2009-12-27 Thread Chris Ramsdale
Marty,

Thanks for the suggestions. We'll incorporate them into our next doc
review/update.

Keep 'em coming.

- Chris

On Wed, Dec 23, 2009 at 5:27 PM, Marty Hall javahac...@gmail.com wrote:

 I have been in Asia the last month doing training, so this is my first
 look at the new (yay!) GWT 2.0 docs. GWT 2.0 looks great, but I did
 notice a few small errors in the docs:

 http://code.google.com/webtoolkit/gettingstarted.html
 =

 A) Under Create your first Web application:
 create a new application called MyApplication should be create a
 new application called MyWebApp. Also, I would suggest also saying
 something like if you use the Eclipse plugin described later in this
 document, you can also do File  New  Web Application Project and
 then interactively specify a package name.

 B) Under Run locally in development mode:
 The sentence Since this is your first time hitting the development
 mode server... is slightly inaccurate since the real issue is if it
 is the first time PER BROWSER. I would suggest something like The
 first time you use a browser with the development mode server, it will
 prompt... Also, I again suggest that you list the Eclipse Plugin
 command for running in development mode (R-click project, Debug As 
 Web Application).

 C) Under Make a few changes:
 In the first paragraph, java files should be Java files. Also, the
 last part of that same sentence (in the case of this Quick Start...)
 does not parse and needs to be reworded. Finally, in the last
 sentence, change the colon after Send to a period.

 D) Under Setting up an IDE:
 Since there is support only for Eclipse, I would change the title to
 Using the Eclipse Plugin or Eclipse Support or some such. Also,
 there should be a comma after IDE in the first sentence. Also, I'd
 insert here a very short summary of what the Eclipse plugin does for
 you. I would think the majority of users would use the plugin, but
 this document somewhat implies that the command line is the normal
 approach and the Eclipse plugin is an afterthought.

 http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html
 =

 A) Under Bug Fixes:
 Issue 1574: #remoteCookie should be #removeCookie. Issue 3102:
 #removeHandelr should be #removeHandler, and has be should be has
 been. Issue 3903: pages no contain should be something like pages
 no longer contain or pages do not contain.

 B) Under HtmlUnit and Test Cases:
 In second bullet, change continous to continuous.

 C) Under Problems?:
 Add comma after GWT Developer Forum.

 http://code.google.com/eclipse/docs/using_sdks.html
 =

 A) I would be a bit more clear that you should select Web Toolkit
 and point at the new GWT 2.0 installation. For those upgrading from
 GWT 1.7, that is the part you have to change. The current screen shots
 show only the App Engine part, which does not need to change.

 http://code.google.com/webtoolkit/usingeclipse.html
 =

 A) For those upgrading from GWT 1.x, I would make it a bit more clear
 that you have to download GWT 2.0 separately. Previously, downloading
 the Eclipse plugin also gave you GWT, with no separate download
 required.

 B) Under Create a Web Application, change java package to Java
 package.

 C) Under Run locally in Development Mode, this description of when
 you will be prompted for the browser plugin is what I would like to
 see under the same heading in
 http://code.google.com/webtoolkit/gettingstarted.html.

 D) Under Make a Few Changes, change java files to Java files.

 I am very pleased to see GWT 2.0 out. Keep up the great work!

  - Marty
 http://www.coreservlets.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.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 Architecture source code?

2009-12-27 Thread Chris Ramsdale
I'll be adding the source for this tutorial asap, and will update everyone
when it's available.

- Chris

On Tue, Dec 22, 2009 at 4:11 PM, Dalla dalla_man...@hotmail.com wrote:

 Don´t know if it´s been there for some time now, but I noticed that a
 section named MVP Architecture has been added to the GWT Tutorial
 section.
 It looks a lot like the best practice example that Ray Ryan used in
 hos GWT Best practice session on Google I/O 2009.
 It there any chance of the community seeing the entire source code of
 this example?

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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   3   >