Re: Are there any currently developed GWT Widget Libraries?

2016-03-31 Thread David Chandler
Good news! Sencha has just released the GPL version of GXT 4:
https://plus.google.com/+DavidMichaelChandler/posts/EozRLMpjvTy

On Wednesday, January 20, 2016 at 1:55:58 PM UTC-7, Alain wrote:
>
> Notes there is no GPL version of GXT 4
>
> On 20 January 2016 at 21:24, Andy Stevko  > wrote:
>
>> FWIW, Sencha GXT has an open source edition
>> https://www.sencha.com/legal/GPL/
>>
>> You cannot include Sencha Ext JS or Sencha GXT in a closed source 
>> distribution under this license.
>>
>> On Wed, Jan 20, 2016 at 9:23 AM, Thomas Broyer > > wrote:
>>
>>>
>>>
>>> On Wednesday, January 20, 2016 at 5:59:30 PM UTC+1, N Troncoso wrote:

  I started using GWT Polymer for my Web App a few weeks ago. I had to 
 get over some difficult hurdles, but I think it's really paying off. The 
 UI 
 is sleek and responsive and just overall works very well. 

 It's more or less the same as GWT Material from what I can tell (they 
 are both designed around Google's Material spec). GWT Polymer is really 
 just a wrapper, though, for their javascript library, so it requires 
 jsInterop.

>>>
>>> Well, the real difference is that GWT Polymer uses Web Components, 
>>> whereas GWT Material uses "plain old HTML" elements (and as a result should 
>>> probably work on more browsers than GWT Polymer; though now that Microsoft 
>>> killed all old IEs it might not be a problem anymore) 
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "GWT Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to google-web-toolkit+unsubscr...@googlegroups.com 
>>> .
>>> To post to this group, send email to google-we...@googlegroups.com 
>>> .
>>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> -- A. Stevko
>> ===
>> "If everything seems under control, you're just not going fast enough." 
>> M. Andretti
>>
>>
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "GWT Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-web-toolkit+unsubscr...@googlegroups.com .
>> To post to this group, send email to google-we...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
>
> Alain Ekambi
>
> Co-Founder
>
> Ahomé Innovation Technologies
>
> http://www.ahome-it.com/ 
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Can't deploy to appengine with Eclipse Google Plugin 2.5 (using maven)

2011-12-21 Thread David Chandler
Hi Mathieu, I'm cross-posting to the Google Plugin for Eclipse group to
make sure the right folks see this. Also, please file the issue here:
http://code.google.com/p/google-plugin-for-eclipse/issues/list

Thanks,
/dmc

On Tue, Dec 20, 2011 at 10:24 AM, Mathieu Clavel math.cla...@gmail.comwrote:

 Hello,

 I'm developping a gwt/gae project on eclipse indigo.
 It's a maven project.
 I'm using the google plugin, and the m2e plugin to manage the project.

 The project has a maven webapp folder : src/main/webapp
 When using the develop server, all is put by the maven plugin in the
 folder target/m2e-wtp/web-resources

 Since I upgraded to the version 2.5 of the google plugin, deploying to
 appengine isn't working anymore.
 The GWT compilation is now built in the folder target/xx-1.0-SNAPSHOT
 (created from the project info of the pom.xml)
 But data from src/main/webapp are not copied to that folder, so deploying
 failed telling me it cannot find appengine-web.xml.

 I fixed it by puting a symbolic link from target/xx-1.0-SNAPSHOT to
 target/m2e-wtp/web-resources , but it would be nice to fix this.

 Regards,

 Mathieu

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/PdBiRuGkJRMJ.
 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
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: GWT in Google Products

2011-12-02 Thread David Chandler
+ Blogger admin interface
+ AdSense

On Fri, Dec 2, 2011 at 9:30 AM, Dimitrijević Ivan dim...@gmail.com wrote:

 A new one to add:

 Google Web Fonts: http://www.google.com/webfonts

  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/S3yGn1gXCMoJ.

 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
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Google Groups are apparently being hacked en masse

2011-11-23 Thread David Chandler
Hi Jim,

The Groups team has been notified.

Thanks for the report!

/dmc

On Wed, Nov 23, 2011 at 1:26 PM, Jim Douglas jdou...@basis.com wrote:

 Over the past few days, I've noticed that more and more peoples'
 profiles are showing cross-posting of their legitimate messages to
 various unsavoury forums.  This doesn't appear to indicate that
 accounts have been compromised (i.e. passwords hacked); it looks more
 like someone has found a way to hack Google Groups to copy legitmate
 posts to different groups, while making it appear that they came from
 the original author.  I'm now seeing this (extremely disconcerting)
 activity on my own account See:


 http://www.launch.is/blog/google-groups-hacked-posts-appear-in-porn-group-with-seo-key.html


 http://groups.google.com/group/google-appengine/browse_thread/thread/fb06574b6ed8b726#

 --
 You received 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
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: A Maven repo with daily or at least weekly GWT snapshots?

2011-11-08 Thread David Chandler
Not yet, but we're working on it.

/dmc

On Mon, Nov 7, 2011 at 2:52 AM, Alexander Orlov
alexander.or...@loxal.netwrote:

 Is there a Maven repo that provides daily/weekly GWT 2.5 snapshots?

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/jFCgwj-Lt7UJ.
 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
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: future of gwt who use gwt

2011-11-01 Thread David Chandler
Hi Warren,

Glad you found my SenchaCon slides (thanks, Thomas--I should have posted
them here, too). Let me put some context around fewer releases, less
overhaul. Sencha's Darrell Meyer and Sven Brunken did a huge refactoring
of Ext GWT last year to make it more compatible with mainline GWT. This was
in part necessitated by all the major changes in GWT since 2.1: Cell
widgets, Activities  Places, RequestFactory / AutoBeans, etc. The GWT team
has heard from the community quite a few times please slow down and just
make it solid, and we're listening.

As to the first point (Google is heavily invested), many of Google's
largest projects are built with GWT, and it is widely used within the
company. Because GWT is open source, the community will continue to benefit
from all the work that Google does on GWT in support of our own projects.
This remains one of the great benefits of using GWT.

I apologize for the relative silence on this issue. In general, Google is
very careful about making public commitments of any kind and rarely
discusses future plans, in part because plans are subject to change.

/dmc

On Fri, Oct 28, 2011 at 11:32 PM, Warren Tang warren.c.t...@gmail.comwrote:

 The following line is also important:

 (GWT) Aiming for fewer releases, less overhaul.

 Regards,
 Warren Tang http://blog.tangcs.com



 On Saturday, October 29, 2011 11:04:09 AM, Thomas Broyer wrote:

 David Chandler recently put his SenchaCon slides online:
 http://www.dartlang.org/**slides/2011/10/senchacon/**index.html#39http://www.dartlang.org/slides/2011/10/senchacon/index.html#39

 What about GWT?
 Google is heavily invested

 --
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/**msg/google-web-toolkit/-/**uEDf1hXzb6AJhttps://groups.google.com/d/msg/google-web-toolkit/-/uEDf1hXzb6AJ
 .
 To post to this group, send email to google-web-toolkit@**
 googlegroups.com 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=enhttp://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.comgoogle-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=enhttp://groups.google.com/group/google-web-toolkit?hl=en
 **.




-- 
David Chandler
Developer Programs Engineer
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: more info needed on export

2011-11-01 Thread David Chandler
There is no CCAT classification that I'm aware of. The incubator is not
strictly part of GWT, but would likely have the same classification as it
is also open source. There is some drag  drop support within GWT, and
there are also various 3rd party open source projects that provide drag 
drop functionality for GWT; however, Google would not have an ECCN/CCAT #
for those.

HTH,
/dmc

On Tue, Nov 1, 2011 at 11:21 AM, Beverly beverly.hvidd...@gmail.com wrote:

 1) for GWT I see that 5D002 is the ECCN.  Is there a CCAT
 classification as well?

 2) What is the ECCN / CCAT for Web Toolkit Incubator (or is that a
 part of GWT)?

 3) What is the ECCN / CCAT for Drag and Drop Google Web Toolkit?

 Thanks much 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-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
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: GWT Slider

2011-10-10 Thread David Chandler
I updated SliderBar from the incubator a while back:
http://turbomanage.wordpress.com/2011/03/23/a-partially-updated-sliderbar-for-gwt-2-2/

Lately, I've just been using input type=range. FF doesn't support the
element yet, but you can add it programmatically.

/dmc

On Fri, Oct 7, 2011 at 4:21 PM, mkn m.kho...@gmail.com wrote:

 Hi

 I need for a project a slider (an important requirement). Therefore I
 tested the following sliders:

 -SmartGWT = there is a huge overhead. My page has only sliders (10 of
 them) but since SmartGWT is a full-fledged library it takes up to 5
 seconds to display the page (respectively to load the SmartGWT
 javascripts). This is not acceptable because the user sees 5 seconds
 long a white page.
 -JQuery slider = for unknown reason, this slider does not work in
 IE8.
 -GWT Incubator = does not work with GWT 2.4

 Does anyone else have an idea what else I could try?

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Permutation, code splitting and deferred property

2011-10-04 Thread David Chandler
 /
   /none
/set-property
 
and I have a generator with the following code that generates one
implementation depending on this deferred property value:
 
public String generate( TreeLogger logger, GeneratorContext context,
String typeName ) throws UnableToCompleteException {
 String value = propertyOracle.getSelectionProperty( logger,
myProperty );
 if(value1.equals(value)){
 return generateImpl1();
 } else {
 return generateImpl2();
 }
}
 
According to my settings for each browser, you can have only one
value, ie for each permutation my generator should generate either
Impl1 or Impl2 but not both. However in my soyc report, I noticed
 that
for each browser/permutation, both implementations are generated.
 
The issue I have is that my generator generates the same GWT.runAsync
call for both implementation and since the 2 implementations are
generated for each permutation (even if only one can be used for each
permutation), GWT believes there are 2 split points and since it's
 the
same code inside the 2 split points, all the code is added to the
 left
fragment code.
 
My question is how come my generator is called twice for each
permutation? Since only one value is possible for each permutation
shouldn't it be called only once? Am I doing something wrong in my
configuration which could explain why my generator is called twice?
 
Thanks for your help,
Pierre

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: GWT Community size ?

2011-10-03 Thread David Chandler
Hi Jonathan,

There are a couple ways to gauge this. You can see the number of times each
version of GWT is downloaded here:

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

This does not include downloads from Maven Central or Google Plugin for
Eclipse, the sum of which is typically about the same as from the main
downloads page.

Also, there are 27k members of this group, which continues to grow at
~10%+/yr. Based on downloads of recent versions, this represents perhaps a
quarter of active GWT developers.

As for # of Web sites and/or businesses, we really don't know. We do know
from interacting with the community that many, if not most, GWT applications
are behind firewalls or paywalls, because GWT is especially well-suited for
making desktop-like apps that run in a browser.

HTH,
/dmc

On Sun, Oct 2, 2011 at 8:56 PM, Jonathan Aubuchon 
jonathan.aubuc...@gmail.com wrote:

 Hi all,

 Does anyone know how big is the GWT Community size?

 - Number of developpers who using it
 - Number of websites who using it
 - Number of business who using it

 (Approximately...)

 Thank you guys.

 --
 Jonathan Aubuchon
 Student in Software Engineering
 http://www.jonathanaubuchon.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.




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: XSRF protection

2011-09-28 Thread David Chandler
RequestFactory does not provide built-in XSRF protection. You can set a
custom header in DefaultRequestTransport as previously suggested by Thomas
Broyer:

https://groups.google.com/group/google-web-toolkit/browse_thread/thread/f0f74b0734f04a1c/431c7ba0e3368c8f

As for the session mechanism in XsrfProtectedServiceServlet, not all apps
use HttpSessions. That would be a sensible default, though.

Cheers,
/dmc

On Tue, Sep 27, 2011 at 9:44 PM, Vampire bjo...@kautler.net wrote:

 Hi

 Does RequestFactory has included XSRF protection?
 For RPC Requests I see the XsrfProtectedServiceServlet.
 But I don't see a XsrfProtectedRequestFactoryServlet or similar.
 While the documentation states that RequestFactory is better and newer
 and should be used.
 Does this mean it has XSRF protection included, or would one have to
 rebuild what XsrfProtectedServiceServlet does for the
 RequestFactoryServlet?

 And why does the XsrfProtectedServiceServlet need the session cookie
 name injected?
 Why doesn't it simply use HttpServletRequest.getSession().getId()
 which wouldn't need any manual configuration?

 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-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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: XSRF protection

2011-09-28 Thread David Chandler
Hot off the press: see also
https://groups.google.com/d/msg/google-web-toolkit/-/PmeSgruN0Z4J

/dmc

On Wed, Sep 28, 2011 at 7:20 AM, David Chandler drfibona...@google.comwrote:

 RequestFactory does not provide built-in XSRF protection. You can set a
 custom header in DefaultRequestTransport as previously suggested by Thomas
 Broyer:


 https://groups.google.com/group/google-web-toolkit/browse_thread/thread/f0f74b0734f04a1c/431c7ba0e3368c8f

 As for the session mechanism in XsrfProtectedServiceServlet, not all apps
 use HttpSessions. That would be a sensible default, though.

 Cheers,
 /dmc


 On Tue, Sep 27, 2011 at 9:44 PM, Vampire bjo...@kautler.net wrote:

 Hi

 Does RequestFactory has included XSRF protection?
 For RPC Requests I see the XsrfProtectedServiceServlet.
 But I don't see a XsrfProtectedRequestFactoryServlet or similar.
 While the documentation states that RequestFactory is better and newer
 and should be used.
 Does this mean it has XSRF protection included, or would one have to
 rebuild what XsrfProtectedServiceServlet does for the
 RequestFactoryServlet?

 And why does the XsrfProtectedServiceServlet need the session cookie
 name injected?
 Why doesn't it simply use HttpServletRequest.getSession().getId()
 which wouldn't need any manual configuration?

 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-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, GWT+GAE
 w: http://code.google.com/
 b: http://turbomanage.wordpress.com/
 b: http://googlewebtoolkit.blogspot.com/
 t: @googledevtools




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: How to install a previous version of the GWT - Eclipse Plugin with Maven

2011-09-28 Thread David Chandler
Hi Jose, you can download the GWT SDK and GAE SDK separately from their
download sites and use the Configure SDKs link the Eclipse dialog to point
to them.

/dmc

On Tue, Sep 27, 2011 at 12:47 PM, Jose CT josemiguelcruztol...@gmail.comwrote:

 Hi all,

 I have been following the instructions found at
 http://code.google.com/eclipse/docs/getting_started.html#installing
 for installing the Eclipse plugin for GWT. The latest version of the
 GWT plugin includes the 2.4.0 SDK and the GAE 1.5.4 SDK.

 I have been having trouble finding how to install an older version of
 both of these SDKs to my Eclipse 3.7. I need versions 2.3.0 of GWT SDK
 and version 1.5.3 of GAE SDK. Is there a way of forcing eclipse to use
 these older versions?

 Thanks,
 Jose

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: The code of constructor MyRequestFactoryDeobfuscatorBuilder() is exceeding the 65535 bytes limit

2011-09-21 Thread David Chandler
Eric,

Please log this on the issue tracker and we'll look into it:
http://code.google.com/p/google-web-toolkit/issues/list

Thanks,
/dmc

On Wed, Sep 21, 2011 at 3:03 PM, Eric Andresen ericandre...@gmail.comwrote:

 Well, I seem to be talking to myself here, but here's my fix in case anyone
 else runs into this problem in the future.  It's still a hack, but it
 compiles a lot better than 1500 inner classes.

 I updated the DeobfuscatorBuilder.java in requestfactory-apt-2.4.0.jar with
 the following changes below (in red):

 ...
 class DeobfuscatorBuilder extends ScannerBaseVoid {
   private TypeElement requestFactoryElement;
   private final StringBuilder sb = new StringBuilder();

   private static Integer index = 0;

  ...
 OperationKey key =
 new OperationKey(requestContextBinaryName, methodName,
 clientMethodDescriptor);
 println(private void genMethod_+index+(){withOperation(new
 OperationKey(\%s\),, key.get());
 println(  new OperationData.Builder());
 println(  .withClientMethodDescriptor(\%s\),
 clientMethodDescriptor);
 println(  .withDomainMethodDescriptor(\%s\),
 domainMethodDescriptor);
 println(  .withMethodName(\%s\), methodName);
 println(  .withRequestContext(\%s\), requestContextBinaryName);
 println(  .build());});
  index++;
 return super.visitExecutable(x, state);
   }

 ...

 println(// Automatically Generated -- DO NOT EDIT);
 println(// %s, state.elements.getBinaryName(x));
 println(package %s;, packageName);
 println(import %s;, Arrays.class.getCanonicalName());
 println(import %s;, OperationData.class.getCanonicalName());
 println(import %s;, OperationKey.class.getCanonicalName());
 println(public final class %s extends %s {, simpleName,
 Deobfuscator.Builder.class
 .getCanonicalName());
 scanAllInheritedMethods(x, state);
 println({);

 for (int i = 0; i  index; i++)
  {
 println(genMethod_+i+(););
  }
 index = 0;
 writeTypeAndTokenMap(state);
 println(}});

   ...

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/5taSPio9jZUJ.

 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: gwt 2.4.0 and maven

2011-09-20 Thread David Chandler
The gwt-maven-plugin version doesn't have to match the GWT version. Please
look at the sample projects referenced in my recent post on the GWT blog for
 an example.

/dmc

On Tue, Sep 20, 2011 at 1:16 PM, EMan eric.nis...@gmail.com wrote:

 I am trying to get GWT 2.4.0 to work.  my project is currently using
 GWT 2.3.0.  is there a GWT maven plugin available yet that is
 compatible with 2.4.0?  The highest version Is see is 2.3.0-1.

 Thanks.

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




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2011-09-15 Thread David Chandler
Hi Eric,

Look for a class named *YourRequestFactory*DeobfuscatorBuilder in the WAR.
This will be present if the RF validation tool has run.

We're currently working on an issue where it gets wiped out in Maven
projects in Eclipse Indigo.

/dmc

On Thu, Sep 15, 2011 at 12:45 PM, Eric Andresen ericandre...@gmail.comwrote:

 I just upgraded to 2.4, and am seeing the following problem when I try to
 run my server:

 SEVERE: Unexpected error
 java.lang.RuntimeException: The RequestFactory ValidationTool must be run
 for the XX RequestFactory type
  at
 com.google.web.bindery.requestfactory.vm.impl.Deobfuscator$Builder.load(Deobfuscator.java:59)

 I followed the instructions at
 http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation
  to
 turn on annotation processing in Eclipse and add the requestfactory-apt to
 it, and I was able to see the annotation processor flag errors between my
 Request types and my Services.  (those errors are now fixed)

 Is there anything else I need to do in order to convince the deployed
 web-app that its RequestFactory was validated?  Or anything I can look for
 in the deployed WAR to determine if in fact the validation was run or not?

 Thanks,
 Eric

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/ze3TX70785EJ.
 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2011-09-15 Thread David Chandler
Thanks, Jeff. That's some pretty fine Maven wizardry.

What we've discovered is that with the lifecycle mapping POM hacks in place,
the ValidationTool does in fact run under Indigo, but the WTP publish
operation that happens just prior to launch does not have access to the
newly-generated sources in the workspace without a refresh. We're working on
a GPE fix to address this as well as simplifying the POM by using built-in
annotation processing rather than a separate exec.

/dmc

On Thu, Sep 15, 2011 at 1:44 PM, Jeff Larsen larse...@gmail.com wrote:

 @David,

 my post here

 https://groups.google.com/forum/#!topic/google-web-toolkit-contributors/-4gaablGx8I

 is how I got rfvalidator-apt working with m2e in indigo.

 If you have questions, let me know.




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Was the Lightweight Collections in GWT effort killed off?

2011-09-13 Thread David Chandler
Yes, the LWC effort was abandoned. After a lot of benchmarking, it was
determined that the GWT implementation of Java libraries perform reasonably
well, even when compared to a simple encapsulation of Javascript
datastructures. HashMap even provides specialized behavior for string keys.

The main performance gain was determined to be getting rid of boxing of
primitive types, but that had little to do with Lightweight Collections and
more to do with deeper changes to the compiler.

/dmc

On Mon, Sep 12, 2011 at 9:48 PM, Blackberet ramonjsanti...@gmail.comwrote:

 I'm referring to what is described at
 http://code.google.com/p/google-web-toolkit/wiki/LightweightCollections

 Was this effort killed off?

 If not, where can I get the most current version?
 Is the code in the lwc-gwt-migration branch the latest?
 Can anyone recommend the LWC code in that branch for client code as it
 stands today?

 I find myself with a UI with many instances of java.util.HashMap
 and java.util.ArrayList and was wondering if replacing them with their LWC
 counterparts would payoff in a reduction of memory usage on the client.

 thanks

  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/lYkuSTkea6gJ.
 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: 2.4: Is gwt-servlet still necessary when using RF instead of RPC?

2011-09-09 Thread David Chandler
Hi Alexander,

If using RF only, you no longer need gwt-servlet, just
requestfactory-server, which is now available in Maven Central. The POM for
requestfactory-server also declares the javax.validation and json
dependencies so you no longer need them explicitly in your project POM;
however, you do need requestfactory-apt as shown in the wiki page below. You
can pull in requestfactory-server as follows:

dependency
  groupIdcom.google.web.bindery/groupId
  artifactIdrequestfactory-server/artifactId
  version2.4.0/version
/dependency

For a working POM that puts it all together, see

http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/mobilewebapp/pom.xml

For explanation on using RequestFactory with Maven, see

http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation#Maven_builds
http://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven

/dmc

On Fri, Sep 9, 2011 at 5:03 AM, Alexander Orlov
alexander.or...@loxal.netwrote:

 On Fri, Sep 9, 2011 at 10:50 AM, Thomas Broyer t.bro...@gmail.com wrote:

 Make sure you have gwt-servlet.jar (and check the version) or
 requestfactory-server.jar in your WEB-INF/lib.


 Ah, thx! I've added requestfactory-server and thought it would make
 gwt-servlet obsolete. So I've removed gwt-servlet completely. Is gwt-servlet
 still necessary although I'm using RequestFactory instead of GWT-RPC?

 Btw I have no WEB-INF/lib at all as I'm using Maven.

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Canvas and anti-aliasing

2011-09-09 Thread David Chandler
According to http://www.html5rocks.com/en/tutorials/canvas/performance/, if
you draw with sub-pixel coordinates, Canvas will automatically do
anti-aliasing.

HTH,
/dmc

On Fri, Sep 9, 2011 at 11:54 AM, Christopher Piggott cpigg...@gmail.comwrote:

 Hi,

 I made an analog gauge using GWT Canvas but the needle isn't anti-
 aliased so it doesn't look so hot.  Is there a way to draw
 using .lineTo() and get a nice anti-aliased line?

 --Chris

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




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: does gwt use ANTLR ?

2011-09-09 Thread David Chandler
Nope, but if you're interested in using ANTLR w/ GWT, check out
http://code.google.com/p/gwtified/

Gary Miller of Sumwise.com has made available the GWT ANTLR support used in
their flagship spreadsheet in a browser.

/dmc

On Fri, Sep 9, 2011 at 3:32 PM, Saeed Zarinfam zarinfa...@gmail.com wrote:

 Hi guys,

 I want to know , does gwt use ANTLR for java language processing or
 something in any compilation phase ?

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Does the last Google Plugin for Eclipse update install the Maven plugin too?

2011-09-08 Thread David Chandler
GPE does not install the Maven binary or Eclipse plugin (m2eclipse/m2e), but
will work with Maven projects if those dependencies are available. Beginning
with Indigo, m2e (formerly Sonatype m2eclipse) is bundled with the Eclipse
Java IDE (but not Java EE IDE), which is what you may be seeing.

/dmc

On Thu, Sep 8, 2011 at 3:47 AM, Ionuț G. Stan ionut.g.s...@gmail.comwrote:

 I've just checked my Eclipse for plugin updates this morning, and this
 updated only the GPE plugin. After restart I noticed that I now have the
 Maven plugin installed too (actually, just a Maven section in the
 preferences pane, I can't find the plugin listed in the What is already
 installed panel).

 I'm not very fond on Maven and the plethora of things it does and other
 stuff (I think it's already an hour since it started updating some
 indexes...).

 Does GPE now install Maven too? Can we remove it?

 --
 Ionuț G. Stan  |  http://igstan.ro

 --
 You received 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.comgoogle-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=enhttp://groups.google.com/group/google-web-toolkit?hl=en
 **.




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: [gwt-contrib] maven source jars

2011-09-08 Thread David Chandler
Maven push scripts are up for review, still making small tweaks:

http://gwt-code-reviews.appspot.com/1520810/

On Wed, Aug 31, 2011 at 3:37 PM, Stephen Haberman 
stephen.haber...@gmail.com wrote:


  so renaming it without regenerating or stripping the JarIndex
  (META-INF/INDEX.LIST) generates spurious exceptions in DevMode

 So that's what been causing that for me--I never would have thought
 renaming the jar file would be a problem. Thanks for pointing that
 out!

 - Stephen


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




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

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

Re: [gwt-contrib] maven source jars

2011-08-29 Thread David Chandler
Thanks, Daniel, it's an interesting idea toward Mavenizing GWT, but I don't
think we're ready to bite off much more than simple deployment to Central
just yet. I plan to post the current script and POMs for code review this
week. The script does a bit of custom packaging since we include Java
sources needed by the GWT compiler in the gwt-user jar itself. Let's
continue the discussion once the script is available for review.

/dmc

On Mon, Aug 29, 2011 at 11:03 AM, Daniel Bell daniel.r.b...@gmail.comwrote:

 Hey Guys,

 I just noticed this thread, and wanted to suggest Maven Ant Tasks (
 http://maven.apache.org/ant-tasks/index.html). It includes Ant tasks for
 installing build artifacts to local Maven repositories, or deploying them to
 remote Maven repositories, both with arbitrary POMs. It can also generate
 POMs with given dependencies, and download/manage dependencies using Maven.

 It seems like a good road to take, given that it integrates better than
 tools/scripts/maven_script.sh with the existing build (Ant scripts), and
 means that you wouldn't have to store your dependencies in source control
 (apart from the patched/rebased ones, though you could deploy them to
 Central too). It could also replace your script that deploys to the remote
 Maven repository (I haven't seen that one, but I'm assuming it's a shell
 script too:
 http://code.google.com/p/google-web-toolkit/issues/detail?id=4853#c12),
 and allow you to automate the deployment to Sonatype's repo (and
 consequently to Central). If the plan was to eventually try to remove the
 dependencies and manage them with Maven, this would be a step in that
 direction too.

 Cheers,
 Daniel

 On 29 August 2011 20:00, Thomas Broyer t.bro...@gmail.com wrote:

 It's actually just a slight improvement over the already existing
 maven_script.shhttp://code.google.com/p/google-web-toolkit/source/browse/trunk/tools/scripts/maven_script.sh
  (using
 pre-written POMs rather than generating them)

 That's actually not enough though, because GWT jars are created with a
 JarIndex, and a JarIndex contains the name of the JAR, so renaming it
 without regenerating or stripping the JarIndex (META-INF/INDEX.LIST)
 generates spurious exceptions in DevMode (caught internally, but very
 annoying if you suspend executions on unhandled exceptions when launching
 DevMode with a debugger attached: the CompilingClassLoader looks up classes
 in a gwt-user.jar instead of the gwt-user-2.4-SNAPSHOT.jar).
 Removing the JarIndex, or regenerating it, is easy, but still.

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


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




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

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

Re: Integrating RequestFactory into an eclipse project

2011-08-19 Thread David Chandler
See also http://code.google.com/p/listwidget/

HTH,
/dmc

On Wed, Aug 17, 2011 at 2:49 AM, Spundun spun...@gmail.com wrote:

 Hi all,

 I'm trying to add RequestFactory and objectify to my existing eclipse
 project that uses GPE and GAE.

 The page
 http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html

 has the following instructions in the sectioin titled wiring

 Add the following jars to your WEB-INF/lib directory:

requestfactory-server.jar
javax/validation/validator-api-1.0.0.GA.jar
A JSR 303 Validator of your choice, such as hibernate-validator


 my question is, where do I find the requestfactory-server.jar file?
 What do I use as a validator of my choice that I can use with GAE
 and which is easily gettable?

 Also, this process feels very clunky compared to the rest of the GPE
 experience, is there any plan to integrate it into GPE?

 p.s.: I haven't been able to do anything through maven yet. THe
 closest I got was when Run As- Maven install failed with error You
 must use a 32-bit Java runtime to run GWT Hosted Mode. I'm on mac.

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: [gwt-contrib] maven source jars

2011-08-19 Thread David Chandler
Hi Stephen,

We have a script that creates the jars from the ZIP distro. I'll get it
checked in along with the POMs.

/dmc

On Thu, Aug 18, 2011 at 4:17 PM, Stephen Haberman 
stephen.haber...@gmail.com wrote:


  Is there a script/ant target I'm missing, or is this done with some
  script that isn't published? If so, could it be published?

 (To create the gwt-servlet-X-sources.jar that ends up in maven repos.)

 Ping?

 - Stephen

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




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

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

Re: Can We develop G-Talk kindOf desktop application using GWT

2011-07-28 Thread David Chandler
If you just want text chat, look at gwt-comet or gwt-gae-channel projects.

For voice / video, keep an eye on this:
https://sites.google.com/site/webrtc/

On Wed, Jul 27, 2011 at 9:28 PM, msp munukutlaprav...@gmail.com wrote:

 Hi GWT,

 Can we develop G-Talk kindof desktop application using GWT ? oor GWT
 is specific for Desktop applications ?

 Kindly someone ackowledge with answer.


 Thanks in advance.
 ~MSP

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: [gwt-contrib] GWT Activities and places - French translation.

2011-07-28 Thread David Chandler
Hi Vincent,

Thanks very much for your inquiry. The Activities and Places doc is
published under the CC Attribution 3.0 license as noted in the footer, so
you're welcome to publish your translation provided you note that Google is
the original author. Also please link to the English source (translated
from
http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.htmlby
Google)

In addition, would you be willing to license your translation to Google for
the French version of the GWT docs? Please contact me about this off list at
your convenience.

Thanks,
/dmc

On Fri, Jun 24, 2011 at 7:42 PM, Vincent François 
vincentfrancois@gmail.com wrote:

 Hello,

 For reasons of convenience I made a French translation of the document
 Activities and places.

 My question is simple, do I have the right to publish this
 translation? If yes, what legal form should I use ?

 ---

 Vincent François vincentfrancois@gmail.com, France.

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




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

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

GWT/GPE 2.4.0 RC1 is available

2011-07-27 Thread David Chandler
GWT 2.4.0 adds a new DataGrid widget with scrollable data area and
many enhancements to RequestFactory (see
http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_4).

Google Plugin for Eclipse 2.4.0 introduces a wizard to publish your
application to Google Apps Marketplace.

SDK: http://code.google.com/p/google-web-toolkit/downloads/list
Eclipse update sites: http://code.google.com/eclipse/beta/docs/download.html

gwt-2.4.0-rc1 will appear in Maven Central shortly. Docs, Javadocs,
and release notes will be published with the final release.

-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Size of permutations getting too bigger

2011-07-27 Thread David Chandler
Hi Rodrigo, you can pass the -deploy argument to specify a location
outside your project for symboMaps and rpcPolicyManifest so they won't
get deployed.

See 
http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#DevGuideCompilerOptions

HTH,
/dmc

On Wed, Jul 27, 2011 at 1:44 PM, Rodrigo Teixo horariofa...@gmail.com wrote:
 Surely not, cause I just received this message of the moderator of the
 thread above:

 Wrong forum. Please post on google-web-toolkit-users group instead.


 So, can someone help me how to reduce the deploy size?

 Thanks in advance,
 [],
 Rodrigo.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/3S62n7lIa58J.
 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: N-tier with RequestFactory is possible?

2011-07-26 Thread David Chandler
Hi Rafael, try the 2.4 RC (expected later today) and be sure to see
the updated docs at
http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html.

/dmc

On Mon, Jul 25, 2011 at 5:15 PM, Rafael Dipold dip...@gmail.com wrote:
 Hi guys,

 The RequestFactory could be used for comunication between logic tier and
 presentation tier in desktop like JavaFX, to build data-oriented (CRUD)
 software where I use GAE to data and logic tier?

 It's the best choice?

 Other question: The GWT 2.4 beta avaliable for download already support
 polymorphism in RequestContext? Because a get error when add generics type
 in class declaration!

 Kind Regards,

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/SZjzNp7FHhMJ.
 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Can't install GWT on Eclipse Indigo

2011-07-26 Thread David Chandler
Hi Giodude,

See this thread:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/f26bebbd2884da45/5a947f76d5fe256e

/dmc

On Tue, Jul 26, 2011 at 7:41 AM, Giodude amojo...@gmail.com wrote:
 Hi everybody,
 I just downloaded Eclipse Indigo for java developers (Eclipse IDE for Java
 Developers, 122 MB) and I tried to install GWT using the link:
 http://dl.google.com/eclipse/plugin/3.7

 I'm having dependencies problems. I managed to fix some of them by adding to
 the Eclipse repo list the
 following: http://download.eclipse.org/releases/indigo/
 but now I'm getting the following message:
 Cannot complete the install because one or more required items could not be
 found.
   Software currently installed: Shared profile 1.0.0.1308118821836
 (SharedProfile_epp.package.java 1.0.0.1308118821836)
   Missing requirement: Shared profile 1.0.0.1308118821836
 (SharedProfile_epp.package.java 1.0.0.1308118821836) requires
 'org.maven.ide.eclipse [1.0.0.20110607-2117]' but it could not be found

 And I can't figure out what's the repository for org.maven.ide.eclipse.
 Did anybody have the same problem? Or is there something wrong with what I
 did and I should start over with a clean install?
 Thank you!

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/IwfCMl-bDSsJ.
 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Is XsrfProtectedServiceServlet Exprimental?

2011-07-26 Thread David Chandler
Good catch. There is still some minor work going on here, but looks
like a leftover comment.

/dmc

On Tue, Jul 26, 2011 at 4:19 AM, Ali Jalal ali.jal...@gmail.com wrote:
 Hi,

 In gwt-2.3.0, first line of javadoc in XsrfProtectedServiceServlet says:
 EXPERIMENTAL and subject to change. Do not use this in production code.

 Is it true?

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/YXCgx6uiN8oJ.
 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: GWT Developer Plugin on Safari 5.1 (OS X Lion 10.7) doesn't load

2011-07-26 Thread David Chandler
Eric,

Thank you for your investigation and for dialing down the tone a bit.
I'm pleased that the GWT team has done such a good job in the past
that you've come to expect not only a great, free toolkit, but also
updates delivered within days of new browser and OS releases. Unfortunately,
the Google instant search team hasn't yet tackled the instant dev mode
plugin problem ;-) The recent FF and Safari changes caught us by
surprise. The timing is particularly bad as lots of folks are on
summer vacation, and hiring doesn't happen overnight. Rest assured
that engineering management is aware of the plugin crisis and we are
working to address the situation; however, I cannot give you an ETA.
Please be patient.

Also, please be advised that I will be on vacation for the next couple
weeks. I will not be reading this group during that time, and very
likely no one will be responding to general GWT inquiries during that
time, although engineers will continue to chime in on specific
technical issues as always. New member moderation may also be slower
than usual. It is not typical to announce vacation on the GWT group,
but I wanted to give Thomas Broyer a message to link to in response to
any Why hasn't the GWT team responded to X threads that may emerge.
Thanks for all you do, Thomas :-)

Best,
/dmc

On Tue, Jul 26, 2011 at 12:11 PM, Eric Ridge eeb...@gmail.com wrote:
 On Mon, Jul 25, 2011 at 6:29 PM, Eric Ridge eeb...@gmail.com wrote:
 On Mon, Jul 25, 2011 at 5:55 PM, David Chandler drfibona...@google.com 
 wrote:
 Good luck, Eric :-) It likely requires non-trivial changes (which is
 why the GWT team hasn't done it yet).

 It's not clear yet what'll be required.  It looks like whoever wrote
 the current plugin did a pretty decent job of separating concerns.

 What's required is a ton of work.  The current plugin is tied directly
 to the JavaScriptCore API which, as best I can tell, can't be made
 available via the NPAPI.  (if it could, the conversion would likely be
 straight forward).

 And since Safari 5.1 (WebKit2) runs plugins out-of-process, it makes
 me think that the plugin would be terribly slow... similar to Chrome's
 performance.  But that's just conjecture.

 If I had 2-3 weeks I could definitely get the plugin working, but
 alas, hacking GWT Plugins is not in my RealJob description.  Jurriaan
 Mous' workaround is good enough for now.

 And David, for what it's worth, the fact that this likely requires
 non-trivial changes is all the more reason why the GWT team should
 have started on it already.  GWT is billed as being cross-platform,
 and y'all have definitely put in tremendous effort making that true.
 You've created something extremely powerful and developed a very large
 and dedicated community.  With that comes responsibility.

 Your other email that said Dev mode plugins are open source, so if
 someone has interest in keeping them up to date, we're all ears... is
 a bit disingenuous.  Sure, all of GWT is open source, but frankly, the
 community views it as being developed and maintained solely by Google.
  If what you're saying is that Google isn't going to maintain the
 plugins anymore, that's a pretty big deal.  But if you're just
 complaining that the GWT team doesn't have the internal resources to
 keep pace with browser vendors, then my previous suggestion stands...
 hire someone to do that work.

 eric




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: GWT MAVEN PLUGIN Loading Images

2011-07-25 Thread David Chandler
In a Maven project, images and other Web artifacts (html, css) belong
under src/main/webapp. If you're using GWT's image bundling (see
ClientBundle in docs), the images will go in src/main/resources
instead.

Please post any follow-up questions specific to gwt-maven-plugin to
the appropriate mailing list.

/dmc

On Mon, Jul 25, 2011 at 5:17 AM, vzm viczul...@gmail.com wrote:
 Hi guys

 Could you please tell me where is the best folder to put photos??

 I am a beginner en gwt with maven, but I worked with both separately.

 I am trying to build a project with GWT MAVEN MYBATIS SPRING. So
 difficult for the third time??

 The question is... where could I put the images folder? What do I have
 to do to build this folder? Or Maven recognise it

 I'll put it in WEB-INF folder but maven doesn't propagate it, or, I
 did it so bad...

 Could you please help me?

 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-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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: How can I get the Expenses sample up and running?

2011-07-25 Thread David Chandler
The Expenses sample is designed to be used with Maven. See
README-MAVEN.txt in the samples/expenses folder and follow
instructions there.

/dmc

On Mon, Jul 25, 2011 at 12:43 AM, Warren Tang warren.c.t...@gmail.com wrote:
 I have trouble to run the Expenses sample in GWT's samples folder. The
 sample appeared in Google I/O sessions a few times.

 I'm not familiar with App Engine, but this is what I've done:

 create an new Eclipse project and then overwrite the src and war with those
 from the Expenses sample.
 add App Engine support and specified the application id/name I got by
 creating a new application in appengine.google.com.
 compile LoadExpensesDB.gwt.xml (which I assume is used to fill appengine
 with some sample data.).The permunations completed but at the beginning of
 the log their are some errors:
 Compiling module com.google.gwt.sample.expenses.LoadExpensesDB
    Validating newly compiled units
   [ERROR] Errors in
 'file:/D:/work/learning/gwt/Expenses/java/com/google/gwt/sample/expenses/shared/EmployeeProxy.java'
  [ERROR] Line 25:
 com.google.gwt.sample.expenses.server.domain.Employee cannot be resolved to
 a type
   [ERROR] Errors in
 'file:/D:/work/learning/gwt/Expenses/java/com/google/gwt/sample/expenses/shared/EmployeeRequest.java'
  [ERROR] Line 22: The import
 com.google.gwt.sample.expenses.server.domain.Employee cannot be resolved
  [ERROR] Line 29: Employee cannot be resolved to a type
 ... ...
 When I run the module I got
    HTTP ERROR: 503  SERVICE_UNAVAILABLE
 The log in hosted getty says:
 00:00:00.008 [WARN] failed GaeAuthFilter
 javax.servlet.UnavailableException:
 com.google.gwt.sample.gaerequest.server.GaeAuthFilter
   at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:79)
   at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:81)

 Regards,
 Warren

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/XS1mzZlPuT8J.
 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: SharePoint Permissions Issue - Users moved from Domain A to Domain B

2011-07-25 Thread David Chandler
Wrong forum, please post elsewhere.

On Mon, Jul 25, 2011 at 9:21 AM, Srilakshmi Chilukuri
srimo...@yahoo.com wrote:


 On Jul 25, 11:06 am, Srilakshmi Chilukuri srimo...@yahoo.com wrote:
 We have an Windows Server 2003 AD DS forest, under which we have two
 domains trustedDomainA andDomainB

 We are moving users fromDomainA toDomainB

 We have  MOSS 2007 intranet and internet SharePoint site which have
 several site collections with sites ranging from 10-500 in each site
 collection.
 Till now the users were given permissions using DomainA\userid to all
 these sites.

 After the users are moved to the newdomain, I have to give
 permissions to the individual users once again by adding them to the
 sites using  the DomainB\userid account.
 We have 5000+ users what is the best way to replace or change the
 users permissions to use the  DomainB\Userid accounts.

 Are there any tools available for doing this?


 We give permissions,

 1. SharePoint groups with individual users

 2. SharePoint groups with AD groups

 3. SharePoing groups with AD groups and Indivdual users

 4. For some site which have unique permissions individual users are
 given permissions directly.

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Google beta plugin 2.4

2011-07-25 Thread David Chandler
Please paste a link to the page you referenced and the error message
(including path to missing repo) here. Thousands of people have
installed GPE for 3.7 successfully so there is likely a typo
somewhere.

Thanks,
/dmc

On Mon, Jul 25, 2011 at 2:02 PM, bbgott bbg...@gmail.com wrote:
 The website for the Google beta plugin lists an install repository for
 Eclipse 3.7 (Indigo).  When I attempt to install the plugin from that
 repository, I get an error message indicating that the repository does
 not exist.  Will the Beta plugin for Eclipse 3.6 work, or should I
 wait for the repository to be fixed?

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Google beta plugin 2.4

2011-07-25 Thread David Chandler
Ah, thanks. That doc is incorrect for the 2.4 beta. The GPE 2.4 beta
is not available for 3.7, but the 2.4 release will be.

/dmc

On Mon, Jul 25, 2011 at 3:36 PM, Bademus - bade...@gmail.com wrote:
 May be this
 (http://code.google.com/intl/be-BY/eclipse/beta/docs/download.html)?
 No repository found at http://dl.google.com/eclipse/plugin/beta/3.7.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/RrO0ipFaorEJ.
 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: GWT Developer Plugin on Safari 5.1 (OS X Lion 10.7) doesn't load

2011-07-25 Thread David Chandler
Good luck, Eric :-) It likely requires non-trivial changes (which is
why the GWT team hasn't done it yet).

We're currently evaluating how to handle the recent Firefox as well as
Safari changes going forward. The FF change is especially onerous as
it now requires engineering effort every 6 weeks to stay up to date.

/dmc

On Mon, Jul 25, 2011 at 3:10 PM, Eric Ridge eeb...@gmail.com wrote:
 So I just found the page on developer.apple.com that definitively says
 the WebKit plugin API is no longer supported as of 10.7 (which I
 assume also means Safari 5.1, regardless of OS version):

 http://developer.apple.com/library/mac/#documentation/InternetWeb/Conceptual/WebKit_PluginProgTopic/WebKitPluginTopics.html

 It says:

 Note: As of Mac OS X v10.7, the legacy WebKit plug-in architecture is
 no longer supported. Going forward, you must convert WebKit plug-ins
 to Netscape-style plug-ins or Safari Extensions.

 So now that I know what's going on for sure (and have documentation
 reference), I'm going to attempt to convert the plugin.  Wish me luck.

 eric

 On Sat, Jul 23, 2011 at 12:28 AM, Jeff Schnitzer j...@infohazard.org wrote:
 It's not a Lion issue - Safari 5.1 is the latest upgrade on 10.6.8, and it
 breaks as well :-(
 Jeff

 On Fri, Jul 22, 2011 at 11:15 AM, Eric Ridge eeb...@gmail.com wrote:

 On Thu, Jul 21, 2011 at 5:22 PM, Darmawan dsuwi...@gmail.com wrote:
 
  Looks like it's because the Webkit Plugin API is deprecated in Safari
  5.1
  ( regardless the OSX version ) ? Can anybody help to confirm this ?
  Thanks.

 I don't think that's the case per se.  The Plugin API still exists
 within the WebKit.framework.  I saw some rumblings on the 'net about
 the API being deprecated, but couldn't find anything definitive on
 Apple's developer website.

 I'm no Cocoa expert, so there's probably a thousand reasons why I
 failed, but I couldn't even get the WebKitPluginStarter example from
 developer.apple.com to work.  Looks like it was created long ago, so
 maybe it's bit-rotted.  Safari did load it (unlike the GWT plugin),
 but it didn't actually work.

 I really wish somebody from the GWT development team would see this
 thread (and issue #6601
 http://code.google.com/p/google-web-toolkit/issues/detail?id=6601) and
 reply.

 Lion  Safari 5.1 are definitely brand new, but I find it hard to
 believe that nobody on the GWT team was involved with the developer
 previews of Lion.

 eric

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





-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: GWT Developer Plugin on Safari 5.1 (OS X Lion 10.7) doesn't load

2011-07-25 Thread David Chandler
Sure, do you mean the GWT community or some other? Dev mode plugins
are open source, so if someone has interest in keeping them up to
date, we're all ears...

/dmc

On Mon, Jul 25, 2011 at 4:13 PM, Jeff Chimene jchim...@gmail.com wrote:
 On 07/25/2011 02:55 PM, David Chandler wrote:
 (snip)

 We're currently evaluating how to handle the recent Firefox as well as
 Safari changes going forward. The FF change is especially onerous as
 it now requires engineering effort every 6 weeks to stay up to date.

 /dmc


 I'd like to suggest bringing this up with the rest of the community as
 soon as possible. It's clear that Mozilla isn't going to back down on
 this decision, and the impact on the GWT plugin will be substantial.

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: GWT 2.4 - What and when?

2011-07-25 Thread David Chandler
Release notes will accompany the actual release... there are some new
features in GPE, as well.

On Mon, Jul 25, 2011 at 4:07 PM, Bademus - bade...@gmail.com wrote:
 Searching the same info...
 http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_4

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/dK2AO8mymLEJ.
 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: RPC from external client

2011-07-21 Thread David Chandler
GWT-RPC no, RequestFactory yes. GWT-RPC services work only with a GWT
client, but the newer RequestFactory has been designed to support
other clients such as Android. You need requestfactory-client.jar
(from the GWT distro) on your classpath. See this presentation from
this year's I/O:
http://www.google.com/events/io/2011/sessions/android-app-engine-a-developer-s-dream-combination.html

If you just want a REST interface, however, you might want to look at
resty-gwt on github, which makes it easy to consume REST services from
a GWT client.

/dmc

On Thu, Jul 21, 2011 at 1:55 PM, fchas charlesford...@gmail.com wrote:
 I'd like to understand if or how GWT accepts external RPCs.  I'm
 designing a GWT app right now and I'd like the ability to call the GWT
 app from another application using HTTP.  I want GWT to support CRUD
 operations for my DB and then return an HTTP response.  So in essence
 I want the GWT app to support live users via the UI and a web API
 (REST, perhaps).  Does GWT support this out of the box or is there a
 3rd party library that's worthy?

 thanks in advance!

 --
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To post to this group, send email to google-web-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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: RequestFactory issue: proxy must include getter if it is to include setter

2011-07-20 Thread David Chandler
Thanks, Ryan. It's a bug.

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

/dmc

On Tue, Jul 19, 2011 at 6:35 AM, Ryan McFall mcfall.r...@gmail.com wrote:
 I haven't seen this documented anywhere, and I've scrutinized much of
 the documentation, so I don't think I missed it.

 From what I can tell, if you have a proxy that contains a reference to
 another proxy, then you must have a getter in order for the setter to
 work properly.

 If the getter is missing, then the code for the setter will compile
 just fine, but at run-time an IllegalArgumentException is thrown when
 the setter is called, even with an appropriate parameter value.  This
 exception is thrown in AutoBeanCodexImpl.doCoderFor.

 Drilling down into the source code shows that the lack of a getter is
 the problem.

 If this is intended behavior, then it seems to me that it should be
 documented somewhere.  The closest I see is this statement in the
 Getting started with Request Factory document:

 It is not necessary to represent every property and method from the
 server-side entity in the EntityProxy, only getters and setters for
 properties that should be exposed to the client

 This doesn't explicitly say that both getters and setters are required
 for a property.

 Ryan

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re:

2011-07-20 Thread David Chandler
My apologies for the spam, folks. Ahmed is a long time group member and
therefore the recent posts from this account were not subject to moderation.
Most likely, the account has been compromised, so I've banned it until the
situation is resolved.

/dmc

On Tue, Jul 19, 2011 at 11:15 PM, Ahmed Sief ahmed_sie...@yahoo.com wrote:

 http://hoellmueller.biz/modules/Search/adm.htm

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: [gwt-contrib] Was the lack of server side templating in GWT one of the reasons why Google+ team did not choose GWT ?

2011-07-20 Thread David Chandler
Thanks for pointing it out. I've already answered this in the best way
I know how, so I'm happy to let the community hash this one out.

https://groups.google.com/d/msg/google-web-toolkit/-/eSqUVQ8gKEMJ

/dmc

On Mon, Jul 18, 2011 at 10:13 AM, karthik reddy
karthik.ele...@gmail.com wrote:
 Note: I am cross-posting this on  GWT-contributors group to solicit the
 responses of the GWT team. The original post on the GWT group is at :
 https://groups.google.com/forum/?fromgroups#!topic/google-web-toolkit/CnjBcJsknS0
 The following were two direct quotes from Joseph Smarr (tech lead of google
 plus -- plus.google.com):
 (FYI: The full Q  A with the Google+  Tech Lead can be found
 at: http://anyasq.com/79-im-a-technical-lead-on-the-google+-team)
 we often render our Closure templates server-side so the page renders
 before any JavaScript is loaded, then the JavaScript finds the right DOM
 nodes and hooks up event handlers, etc. to make it responsive (as a result,
 if you're on a slow connection and you click on stuff really fast, you may
 notice a lag before it does anything, but luckily most people don't run into
 this in practice).
 The cool thing about Closure templates is they can be compiled into both
 Java and JavaScript. So we use Java server-side to turn the templates into
 HTML, but we can also do the same in JavaScript client-side for dynamic
 rendering. For instance, if you type in a profile page URL directly, we'll
 render it server-side, but if you go to the stream say and navigate to
 someone's profile page, we do it with AJAX and render it client-side using
 the same exact template. 

 Going from the tone of the above two quotes, it seems to me that the lack of
 server-side templating  system in GWT (GWT has client-side templating in the
 form of UiBinder but not server-side templating) , could have been one of
 the reasons for  not choosing GWT for  the Google+ project.
 What do you guys think??
 Was the lack of server side templating  in GWT one of the reasons why
 Google+ team did not choose GWT ??

 PS: If you guys haven't tried Google+ yet, I would recommend you try it.
 Setting aside how good of a social network/social collaboration tool it is,
 I suggest you guys try it just to get a feel of its UI architecture. Every
 once in a while, an application comes along and raises the bar(eg., Gmail in
 2004) in the area of UI design/UI development and I think Google plus has
 done it this time around.
 Also, I really appreciate the fact that GWT is an exceptional work of
 engineering.  My desire is to just provoke discussion in a direction that
 hopefully leads to making the product even more better and increases its
 technological moat (Warren Buffet
 lingo: http://37signals.com/svn/posts/333-warren-buffett-on-castles-and-moats)

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



-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

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


Re: Maven repo with GWT snapshots or RCs

2011-07-18 Thread David Chandler
So sorry, Alex. I found out Monday that the RC would be delayed but
forgot to post back here. When it becomes available on the GWT
downloads page, it should be available in Maven Central soon after.

/dmc

On Mon, Jul 18, 2011 at 3:27 AM, Alexander Orlov
alexander.or...@loxal.net wrote:
 On Jul 15, 12:57 am, David Chandler drfibona...@google.com wrote:
 I plan to push 2.4.0-rc1 to Maven Central tomorrow. Found a couple issues

 Haven't found it via search.maven.org yet. Are your plans on ice? I'd
 really like to try it out as my (successfully) compiled version
 doesn't work with my RF setup.

 -Alex

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Maven Production Mode

2011-07-18 Thread David Chandler
Hi Kerem,

GWT production mode just means running the compiled JS as you would
any other Web app.

To test production mode, deploy the maven-generated WAR to your
production Web server and start the server. There are Maven plugins
for various servers (Tomcat, jetty) that can automate this, but
discussion of those is beyond the scope of this forum.

You can also start dev mode as usual and just strip
?gwt.codesvr=127.0.0.1:9997 from the end of the URL in the browser.

/dmc

On Mon, Jul 18, 2011 at 2:47 AM, KEREM KUTLUBAY kerema...@gmail.com wrote:
 I have a test class to try our test run in production mode or not. But
 I couldn't run production mode in maven. Can you help me?

 public tryToTest()
 {
  if(GWT.isScript())
  {
    assertTrue(true);
  }
  else.
  {
    assertTrue(false);
  }

 My pom's gwt plugin is like that
 groupIdorg.codehaus.mojo/groupId
 artifactIdgwt-maven-plugin/artifactId
 version2.3.0/version
 executions
  execution
   goalsgoaltest/goal/goals
  /execution
 /executions
 configuration
  productionModetrue/productionMode
 /configuration

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: GWT 2.4: RequestFactory versus GWT-RPC

2011-07-15 Thread David Chandler
We jumped the gun a bit, but 2.4 is pretty close to becoming latest :-)

/dmc

On Friday, July 15, 2011, Thomas Broyer wrote:

 Hmm, shouldn't it have been for trunk? I believe @ExtraTypes and
 polymorphism support are not in 2.3, only in the upcoming 2.4.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/AClSV62TkrQJ.
 To post to this group, send email to 
 google-web-toolkit@googlegroups.comjavascript:_e({}, 'cvml', 
 'google-web-toolkit@googlegroups.com');
 .
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com javascript:_e({}, 'cvml',
 'google-web-toolkit%2bunsubscr...@googlegroups.com');.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Maven repo with GWT snapshots or RCs

2011-07-14 Thread David Chandler
I plan to push 2.4.0-rc1 to Maven Central tomorrow. Found a couple issues
today while smoke testing so need to rebuild. Requestfactory-* libs will be
pushed separately with a different groupId after more testing, probably
early next week as the new groupId (com.google.web.bindery) will likely hold
things up first time out.

/dmc

On Thu, Jul 14, 2011 at 6:48 PM, Alexander Orlov
alexander.or...@loxal.netwrote:

 Is there a Maven repo with GWT snapshots or at least GWT milestones or
 RCs? Also I haven't found any repo with gwt-servlet-deps or
 requestfactory-* libs.

 Every hint is appreciated!

 -Alex

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: GWT 2.4: RequestFactory versus GWT-RPC

2011-07-14 Thread David Chandler
FYI, bobv updated the RF developer guide yesterday with a separate section
on transportable types, discussion of polymorphic type-mapping rules, and
slight re-wording of the Overview section.

http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html

/dmc

On Thu, Jul 14, 2011 at 4:24 PM, Aidan O'Kelly aida...@gmail.com wrote:

 I'm using RequestFactory for a 'non-data-orientated' app and its works
 very nicely.

 Chained method invocation:

 MyServiceRC serviceRequest = appRequestFactory.MyServiceRC();
 serviceRequest.giveMeAString().to(stringReceiver);
 if (needPojo == true)
serviceRequest.giveMeAPojo().to(pojoReceiver); // Pojo would be a
 ValueProxy for example.

 // Now fire both methods in one RPC request, and do whatever
 processing we want once both completed.
 serviceRequest.fire(processStringAndPojoReceiver);

 A pretty nice way to call server side methods. You are certainly not
 restricted just to persisting and retrieving datastore objects with
 RequestFactory.





 On Thu, Jul 14, 2011 at 10:36 AM, Michel Jonker
 michel.jon...@e-office.com wrote:
  Hi,
  This is a cross post from the AppEngine group, but since I got no
  response there, I want to try this group.
 
  I am trying to figure out the best practise to consume my App Engine
  services from both Android and GWT.
  Since the services are not that data oriented, I first considered GWT-
  RPC.
  But given the fact that the GPE 2.4 sample project voor Android comes
  with
  RequestFactory, I am leaning towards this approach.
  I was hoping someone could validate this 'best practise' :
  When you have both Android and GWT consumers of your App Engine
  service,
  apply the RequestFactory pattern.
 
  TIA
 
  Michel Jonker
 
  --
  You received 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.




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Need suggestions on supporting both Web and Desktop front-end.

2011-07-13 Thread David Chandler
 this group at http://groups.google.com/**
 group/google-web-toolkit?hl=enhttp://groups.google.com/group/google-web-toolkit?hl=en
 **.




 --

 GWT API for  non Java based platforms
 http://code.google.com/p/**gwt4air/http://code.google.com/p/gwt4air/
 http://www.gwt4air.appspot.**com/ http://www.gwt4air.appspot.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-we...@googlegroups.com.
 To unsubscribe from this group, send email to google-web-tool...@**
 googlegroups.com.

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




 --
 Magno Machado Paulo
 http://blog.magnomachado.com.**br http://blog.magnomachado.com.br
 http://code.google.com/p/**emballo/ http://code.google.com/p/emballo/

  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/aVyn-MDKq4IJ.

 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 API for  non Java based platforms
 http://code.google.com/p/gwt4air/
 http://www.gwt4air.appspot.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.




 --
 Magno Machado Paulo
 http://blog.magnomachado.com.br
 http://code.google.com/p/emballo/

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Tutorial Create your first web application: application does not work in production mode.

2011-07-13 Thread David Chandler
Hi Scott, your post makes me think it might be time to retire the
webAppCreator Getting Started tutorial in favor of Google Plugin for
Eclipse. It used to be that webAppCreator produced custom shell scripts to
start/stop the app; however, they were a pain to maintain on all platforms
and the Google Plugin for Eclipse offers a better experience overall, so the
only way to start the built-in Web server with the webAppCreator-generated
build.xml is to run ant devmode. The way to switch from dev mode to
production mode is simply to drop ?gwt.codesvr=127.0.0.1:9997 from the
URL. That's the hook that invokes the dev mode plugin in the browser, and
without it, you'll be running the compiled JS instead.

I think it's easier to get started with GWT by working your way down the
left nav in the Google Plugin for Eclipse user guide:
http://code.google.com/eclipse/docs/users_guide.html

Feel free to post back with anything you find confusing.

/dmc

On Mon, Jul 4, 2011 at 1:12 AM, sf_g...@bellsouth.net sf_g...@bellsouth.net
 wrote:

 Okay, brand new to GWT, I am starting at ground zero with the first
 app tutorial at
 http://code.google.com/webtoolkit/gettingstarted.html#create
 The MyWebApp runs fine in devmode (ant devmode from the MyWebApp
 directory.  In the section labeled Compile and run in production mode
 , when I build the app (ant build) in the directory and then execute
 the html from browser.  It fails, being unable to connect to server.

 I know Jetty is used in devmode, the error looks like it not running
 when executing the prod mode.

 Again, new to this, what do I need to do to get this simple app to
 work in prod mode?

 Scott

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: requestfactory-*.jar libs in GWT 2.4

2011-07-13 Thread David Chandler
Hi Alex,

The requestfactory jars in 2.4 are much smaller than gwt-servlet and are
provided for the convenience of those using only RF for server
communication. Validation will not be bundled with RF jars. You must
continue to obtain validation from gwt-servlet-deps and/or validation-api +
hibernate-validator jars.

/dmc

On Wed, Jul 13, 2011 at 10:55 AM, Alexander Orlov alexander.or...@loxal.net
 wrote:

 I've build GWT 2.4... There are several requestfactory-*.jars in the
 lib folder. Are those libs going to replace/consolidate any other GWT
 libs in the coming release?

 Currently I've to use hibernate-validator to be able to use RF
 functionality. Are any of the rf-*.jars going to replace the hibernate-
 validator lib? Actually I'm not using any hibernate functionality at
 all; I'm using JPA2. However currently I've to provide the hibernate-
 validator at runtime to satisfy RF's needs.

 -Alex

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: requestfactory-*.jar libs in GWT 2.4

2011-07-13 Thread David Chandler
Minor clarification: a validation impl like hibernate-validator is not
required except for some configurations of Spring, in which case the
presence of validation-api without a corresponding impl will cause server
startup to fail. IIRC, that's why we had to unbundle validation-api from
gwt-servlet.

On Wed, Jul 13, 2011 at 11:15 AM, Thomas Broyer t.bro...@gmail.com wrote:

 Actually, hibernate-validator (or any other JSR303 validator) is not
 required. If you don't have a JSR 303 validator in classpath, you'll have an
 info message printed to your log at startup and that's all, it'll work OK
 (my unit tests are green despite the absence of hibernate-validator FWIW).
 And you can easily turn the warning off if it bothers you, as it's using
 java.util.logging.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/qwYENAR0qjgJ.

 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: requestfactory-*.jar libs in GWT 2.4

2011-07-13 Thread David Chandler
On Wed, Jul 13, 2011 at 11:41 AM, Thomas Broyer t.bro...@gmail.com wrote:



 On Wednesday, July 13, 2011 5:28:34 PM UTC+2, David Chandler (Google)
 wrote:

 Minor clarification: a validation impl like hibernate-validator is not
 required except for some configurations of Spring, in which case the
 presence of validation-api without a corresponding impl will cause server
 startup to fail.


 OK, so Spring is worse that I'd imagined ;-)


 IIRC, that's why we had to unbundle validation-api from gwt-servlet.


 Oh, I thought it was because of Maven, and overall dependency management
 (where you'd then have, for instance, to exclude the validation-api
 dependency from hibernate-validator because the lcasses are already in
 gwt-servlet or live with potential conflicts if validation-api is updated to
 1.1 or 2.0 but the 1.0 version bundled in gwt-servlet would be used because
 it comes first in the classpath –i.e. gwt-servlet defeating version conflict
 resolution of Maven, and possibility leading to breakages of third-party
 libs that depend on a newer version).


Yes, it was definitely about Maven. Folks using Maven with Spring were
unlucky enough to spot the problem first.

  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/uF0MENLpcRoJ.

 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Playing MP3 and AVI in GWT application

2011-07-13 Thread David Chandler
HTML5 to the rescue...

http://www.slideshare.net/turbomanage/gwt-plus-html-5

http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/media/client/Audio.html

http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/media/client/Video.html

The APIs are changing slightly in GWT 2.4 to enable you to more easily
specify multiple formats.

/dmc

On Wed, Jul 13, 2011 at 12:10 PM, shahid shahidza...@gmail.com wrote:

 What is the best way to support playing MP3(audio) and AVI (video)
 files in a GWT application. We have gone a long way into developing
 our application on top of GWT and now we have a requirement to support
 playing mp3 and avi files. However I can't find a widget or player
 that I can use with GWT to support both of these formats. Has anyone
 used this functionality in your application and how? What is the best
 practice ?

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Anybody has simple way to get Token when implement XRSF protection.

2011-07-12 Thread David Chandler
It depends on what you specify as your token in XsrfTokenServiceServlet (see
the Javadoc). If you use JSESSIONID, then you would need sticky sessions or
session replication as with any use of server sessions.

/dmc

On Tue, Jul 12, 2011 at 7:13 AM, batosai tariq.albabt...@gmail.com wrote:

 What would happen in the case of a load balancer and rpc requests
 switching from one server to another from the same client , is sticky
 sessions required ?

 On Jul 6, 4:32 pm, David Chandler drfibona...@google.com wrote:
  Hi Joey,
 
  The XSRF token is stateless so you only need to call the XsrfTokenService
  once per server session to obtain it. You can save it as a static
 variable
  in a service helper class. Thereafter, you just need to call setRpcToken
 for
  each service.
 
  Some projects GWT.create() all services in a helper or factory class like
 
  public class ServiceHelper {
 
  private static SomeServiceAsync someService;
 
  static {
  (SomeServiceAsync) someService = GWT.create(SomeService.class);
 
  }
 
  public static getSomeService() {
  return someService;
 
  }
  }
 
  If you do this, you might initialize each service with the token when you
  create it. Thereafter, client code can call
 ServiceHelper.getSomeService()
  in order to make a request. For example, you could put the following in a
  static initializer in the ServiceHelper to obtain the XSRF token when the
  app loads:
 
  XsrfTokenServiceAsync xsrf =
  (XsrfTokenServiceAsync)GWT.create(XsrfTokenService.class);
  ((ServiceDefTarget)xsrf).setServiceEntryPoint(GWT.getModuleBaseURL() +
  xsrf);
  xsrf.getNewXsrfToken(new AsyncCallbackXsrfToken() {
 
   public void onSuccess(XsrfToken token) {
 initSomeService(token);
 initNextService(token);
 ...
 });
   }
 
  As far as handling the XSRF exception centrally, you can wrap
 AsyncCallback
  with your own class like XsrfProtectedCallback in which you implement
  onFailure(). This is a good practice anyway in order to provide uniform
  error handling for your RPC calls. See HupaCallback in the Apache
 HupaMail
  project for an example of a wrapped callback.
 
  HTH,
  /dmc
 
 
 
 
 
  On Wed, Jul 6, 2011 at 4:33 AM, Joey huazong...@gmail.com wrote:
   Hi All
 
   I have a big GWT project, there are many services and methods need to
   be protected. but I think it a hard work to
   change all of code what call methods as the following code from google
   document. So just want to know anybody
   has any simple way can fix XRSF problem and no need to change so many
   code for methods calling.
 
   -
   XsrfTokenServiceAsync xsrf =
   (XsrfTokenServiceAsync)GWT.create(XsrfTokenService.class);
   ((ServiceDefTarget)xsrf).setServiceEntryPoint(GWT.getModuleBaseURL() +
   xsrf);
   xsrf.getNewXsrfToken(new AsyncCallbackXsrfToken() {
 
public void onSuccess(XsrfToken token) {
  MyServiceAsync rpc = (MyServiceAsync)GWT.create(MyService.class);
  ((HasRpcToken) rpc).setRpcToken(token);
 
  // make XSRF protected RPC call
  rpc.doStuff(new AsyncCallbackVoid() {
// ...
  });
}
 
public void onFailure(Throwable caught) {
  try {
throw caught;
  } catch (RpcTokenException e) {
// Can be thrown for several reasons:
//   - duplicate session cookie, which may be a sign of a cookie
// overwrite attack
//   - XSRF token cannot be generated because session cookie
   isn't
// present
  } catch (Throwable e) {
// unexpected
  }
   });
   -
 
   Thanks
 
   Joey
 
   --
   You received 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, GWT+GAE
  w:http://code.google.com/
  b:http://turbomanage.wordpress.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.




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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

Re: GWT 2.1+ Compiler issues

2011-07-12 Thread David Chandler
Possibly related:

https://groups.google.com/forum/#!msg/google-web-toolkit/IWPDWYD8DbA/VNKkCt7qwrMJ

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

Such a huge jump in memory usage with 2.3 is certainly not typical.

/dmc


On Tue, Jul 12, 2011 at 8:43 AM, Ashwin Desikan ashwin.desi...@gmail.comwrote:

 I have a quad core as well and have experienced slowness. I think it more
 so to do with validating XML files. I don't believe it has anything to do
 with requestfactory.

 Both validation and context assist are painfully slow.

 Thanks
 Ashwin

 Sent from my iPhone

 On Jul 12, 2011, at 3:41 PM, Brian bboyl...@gmail.com wrote:

  Thats interesting. I also have a quad core AMD with 8GB of RAM. Its 64
  bit windows running on a Dell Studio XPS 7100.
  I wonder if anyone else has experienced this. It just seems really
  strange that moving from one version to another would have such an
  impact on compilation time.
 
  On Jul 11, 6:22 pm, Kevin Jordan ke...@kjordan.net wrote:
  I've noticed that with GWT 2.3 and RequestFactory stuff added it takes
  2x as long to compile now on a quad core AMD machine with 8GB of RAM.
 
  On Jul 11, 10:00 am, Brian bboyl...@gmail.com wrote:
 
 
 
 
 
 
 
  Hi
 
  I am upgrading my GWT app from 2.0 to 2.3. When I'm compiling with
  2.1, 2.2 or 2.3 I am seeing a huge increase in the memory usage. I'm
  giving it 3Gb and its maxing this out. Any less than this and I am
  getting OutOfMemoryExceptions. I'm also noticing that its writing
  massive amounts of data to disk. It is writing gwt88282368723byte-
  cache to this directory C:\Users\MyName\AppData\Local\Temp\ . I can
  see previous files like this from 2.0 builds that range from 3MB -
  10MB in size, but with GWT 2.3 the size of the byte-cache file is now
  22GB! This is making my PC really sluggish and its pretty much
  unusable while I'm compiling.
 
  I'm wondering of anyone else has come across this with GWT 2.3?
 
  Thanks
 
  Brian
 
  --
  You received 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.




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Ways to reduce GWT compiled code size

2011-07-11 Thread David Chandler
Have you seen
http://www.google.com/events/io/2011/sessions/high-performance-gwt-best-practices-for-writing-smaller-faster-apps.html?
Also check out the performance-related sessions from previous years at I/O.

Your observations appear sound: if you add a widget with lots of
dependencies, you're going to see a significant bump in code size. It has
often been noted that RequestFactory is bigger than RPC in terms of initial
download; however, if you include a Command pattern implementation and the
extra classes required to use Command pattern with GWT RPC, I doubt it's
much different. And RequestFactory should give you smaller payloads than GWT
RPC because it sends only deltas and doesn't send the whole object graph by
default.

It sounds like you're taking the right approach. Try out different widgets /
features for your application and measure the resulting size (hopefully
you're using -compileReport to get additional size-related info?) Because
the GWT compiler does whole program optimization, this is the only way to
get results that are accurate for your app.

/dmc

On Sun, Jul 10, 2011 at 1:20 AM, Andrei vol...@spiraluniverseinc.comwrote:

 Concerns about the size of GWT complied code has been raised several
 times in this forum, but a typical response was Relax, dude! with
 slight variations like It can be cached and Don't forget about
 gzip.  I am still concerned, though, that even the most simple GWT
 app easily tops 150kB in compile size.

 I started looking at the compile reports, and I noticed some
 interesting things.

 (1) I imported java.util.Comparator in one place in the app, and it
 immediately added a ton of Java classes to the compiled code,
 including Java.util.Date, java.lang.Float, java.lang.Double, and so
 on. I don't use this classes anywhere in the app, and the compile
 report traces them all to java.util.Comparator. I did not measure
 precisely, but I've got around a 10kB bump in the compiled app size
 after using comparator once (and I use it to compare String properties
 of two objects).

 (2) I don't use dates or time anywhere on the client side. I have one
 server-side method which uses dates by adding a timestamp to an
 Appengine Datastore. So I was very surprised to see
 java.sql.Timestamp, java.sql.Date, and java.sql.Time, in my compile
 report. These classes are not big, but why they were included? I don't
 send date or time over the wire (and I don't use sql), but I see them
 traced to

 com.google.gwt.user.client.rpc.core.java.sql.Time_CustomFieldSerializer::instantiate.

 (3) In my app many classes are traced exclusively to DockLayoutPanel,
 including java.util.AbstractHashMap, java.util.HashSet, and the like.
 Is there an assessment anywhere of how heavy each widget is in terms
 of its impact on the compile size? It's very hard to figure out as
 each widget has a different impact based on which other widgets are
 already present, and some widgets have no real alternative anyway
 (CellTable is very heavy, for example, but I have to use it
 regardless), but any tips/guidance would be appreciated.

 (4) I never used anything touch-related in the app, but
 com.google.gwt.touch.client is present in the compile report. All of
 its subclasses trace back to ScrollPanel. I guess it may be useful in
 some use cases, but I would like to have a way to turn it off when I
 offer a separate GWT file for mobile devices.

 (5) I replaced RPC calls with RequestFactory, and the compile size
 ballooned by 150kB (the app had only two RPC calls at that stage). The
 benefits of RequestFactory quickly paled in my eyes. Did I do
 something wrong, or other people had similar results?

 I understand that as the app gets bigger and bigger (and the Internet
 faster), these issues will be comparatively less and less important. I
 do have, however, customers with slower connections / in remote
 locations / on expensive mobile data plans, for whom initial download
 size matters. Not to mention extra bandwidth costs which grow in line
 with the number of customers (Isn't that the reason Gmail, YouTube,
 and Google+ are not written in GWT?).  I would be grateful if the
 experts on this forum share their tips on reducing the compile size of
 the app.

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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

Re: GWT Developer Job Openings

2011-07-11 Thread David Chandler
As a moderator of this group, I reject almost a dozen job postings per day.
Several per week actually relate to GWT, but even so are inconsistent with
this forum's mission. However, I approved Jeff Burnham's post because I
think there is some benefit in this discussion.

The GWT team doesn't feel that it's our place to maintain a GWT jobs forum;
however, if the community wants to take this on, we'll certainly be glad to
help promote it. Also, if there are things you want recruiters to know, I'll
be happy to write up a sticky post with info for recruiters (as well as a
restatement of the job postings ban on this forum).

In the mean time, if you're a GWT consultant looking for work, here's some
advice I can offer as a former consultant.

1. The best jobs are those that find you, so make yourself findable. Write a
GWT blog. Put GWT developer in your Google+ and LinkedIn profiles with a
link to your Google Groups profile so recruiters can see how often you post
on this group. Also put GWT consulting or something more descriptive in
your signature so it shows up in every post on this group. Good recruiters
know how to search Google Groups and StackOverflow to find the real experts.

2. Give a GWT talk at your local JUG or GTUG. Recruiters often frequent the
larger JUGs and if you're giving the talk, you're their expert.

3. Get your resume in the database of every credible technical staffing shop
you can find. Apply for every GWT job. Even if it's slightly over/under your
abilities, that will get you in the recruiter's resume database. Put a link
to your online profiles in your resume so they can read your blog, see how
long you've been posting on this group, etc.

4. Post your resume in the various online job services like Dice and
Monster. Don't just search for jobs--make yourself searchable. Many jobs are
never posted--the recruiters search the online databases and contact you
directly. Also make sure you update your resume in these services every
couple months as recruiters tend to look for recent updates.

Again, let me know where you want me to direct GWT job postings, and I'll be
happy to help out.

/dmc

On Mon, Jul 11, 2011 at 12:07 AM, A. Stevko andy.ste...@gmail.com wrote:

 Without an appropriate alternative, I personally would like to encourage
 GWT job openings/availability to be posted here.
 Not job spam but GWT jobs.


 On Sun, Jul 10, 2011 at 8:32 PM, Hilco Wijbenga 
 hilco.wijbe...@gmail.comwrote:

 On 10 July 2011 17:35, Jeff jeffrey.burn...@gmail.com wrote:
  However, your negative response was quite unnecessary when the link
 alone
  would do. Thanks for that by the way.

 Clearly he was being sarcastic. He was actually agreeing with your
 posting here since there is currently no real alternative.

  /end_discussion

 Nice one. Sort of like a double negative, though, don't you think? :-)
 That should probably be /discussion. ;-)

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




 --
 -- A. Stevko
 ===
 If everything seems under control, you're just not going fast enough. M.
 Andretti





  --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Request Factory More Secure ?

2011-07-11 Thread David Chandler
Hi Vincent,

RequestFactory is not inherently any more or less secure that GWT RPC. With
either approach, you should protect RPC calls for sensitive data with SSL
and protect against XSRF attacks by sending a token with each request
payload. For more info, see

http://code.google.com/webtoolkit/doc/latest/DevGuideSecurity.html
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/f0f74b0734f04a1c

As for the second part of your question, you are correct. On the client
side, RequestFactory works with proxy (interface) representations of
entities. RequestFactory automatically converts between the proxy
representation and the server-side entity when sending / receiving.

/dmc

On Sat, Jul 9, 2011 at 10:39 PM, Vincent François vincentfrancois.pro@
gmail.com wrote:

 Is it correct to think that Request Factory is more secure that GWT RPC ?

 The client does not handle a entity (objectify entity) but handles a proxy.
 Is it true ? Am I right ?

 -- Vincent


  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/mWVdzvWclJQJ.
 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: secure widgets

2011-07-08 Thread David Chandler
In order to write a secure rich Web app, you need to think in terms of
protecting the data, not the UI itself. This is true for any JS
application, not just GWT.

/dmc

On Fri, Jul 8, 2011 at 9:44 AM, Alberto Sarubbi asaru...@gmail.com wrote:
 looks to me like a dead end for developing security sensitive UI with
 GWT.

 thank you Robert.

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: secure widgets

2011-07-08 Thread David Chandler
Agreed! Don't show the button if the user doesn't have permissions. But also
check perms on the server to protect against hackers.

/dmc

On Fri, Jul 8, 2011 at 2:54 PM, Alberto Sarubbi asaru...@gmail.com wrote:

 we actually protect EVERY call to our server validating the user
 rights before proceeding to the service execution.

 it just doesn't seem right to show a user a button that he can't click
 because he don't have the permission to do.
 it sounds more logical not showing the button at all.
 of course, validations on server side will catch any click on a
 forbidden button, then comes the question: why would i show
 the button then?..


 thanks for the advice people. may be i just don't get right the js gui
 development yet :)

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Can i develop a web site using GWT

2011-07-07 Thread David Chandler
Certainly you can deploy an HTML+JSP Web site in Google App Engine.

You don't mention what you're comparing it to, but App Engine Web servers
are located in data centers all over the world and there is built-in edge
caching of static resources (HTML, CSS, images), so it's quite fast from
most locations.

The free quotas are generous--give it a try.

/dmc

On Thu, Jul 7, 2011 at 2:52 AM, SwaminathanG swami...@gmail.com wrote:

 Hi,

 This is Swaminathan. I am familiar with GWT + GAE in web application
 building. I have a query Whether i can have my whole web site(which
 includes 40html + 5JSP + Application) deployed in Google App Engine. Is
 that possible to effect this.

 If possible, Is the web site will be faster?(performance + Scalability).


 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-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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Can i develop a web site using GWT

2011-07-07 Thread David Chandler
Just follow the prompts in the App Engine admin console. See Domain Setup
under Application Settings.

In the future, please post GAE questions to the App Engine group.

/dmc


On Thu, Jul 7, 2011 at 2:26 PM, Deepak Singh deepaksingh...@gmail.comwrote:

 Hi,

 I have developed a gwt application and now i want to host it on GAE with my
 registered domain name www..com.

 How can i do it?
 Let me know the process.

 Thanks
 Deepak


 On Thu, Jul 7, 2011 at 9:29 PM, David Chandler drfibona...@google.comwrote:

 Certainly you can deploy an HTML+JSP Web site in Google App Engine.

 You don't mention what you're comparing it to, but App Engine Web servers
 are located in data centers all over the world and there is built-in edge
 caching of static resources (HTML, CSS, images), so it's quite fast from
 most locations.

 The free quotas are generous--give it a try.

 /dmc


 On Thu, Jul 7, 2011 at 2:52 AM, SwaminathanG swami...@gmail.com wrote:

 Hi,

 This is Swaminathan. I am familiar with GWT + GAE in web application
 building. I have a query Whether i can have my whole web site(which
 includes 40html + 5JSP + Application) deployed in Google App Engine. Is
 that possible to effect this.

 If possible, Is the web site will be faster?(performance + Scalability).


 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-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, GWT+GAE
 w: http://code.google.com/
 b: http://turbomanage.wordpress.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.




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: GWT Datastore query through RPC errs

2011-07-07 Thread David Chandler
Please post to the App Engine group and include a stack trace. This is
server-side code, not GWT.

/dmc

On Thu, Jul 7, 2011 at 2:21 PM, SwaminathanG swami...@gmail.com wrote:

 Hello,

 I am trying to query the datastore from GWT client side code

 But it throws an exception '500 error' even while accessing the method.

 But we can insert into the datastore through other method.

 What am i missing?

 public String[] getStocks() throws NotLoggedInException {
 checkLoggedIn();
 PersistenceManager pm = getPersistenceManager();
 ListString symbols = new ArrayListString();
 try {
   Query q = pm.newQuery(Stock.class, user == u);
   q.declareParameters(com.google.appengine.api.users.User u);
   q.setOrdering(createDate);
   ListStock stocks = (ListStock) q.execute(getUser());
   for (Stock stock : stocks) {
 symbols.add(stock.getSymbol());
   }
 } finally {
   pm.close();
 }
 return (String[]) symbols.toArray(new String[0]);
   }

 Regards,
 Swaminathan.G

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: GPE tooling

2011-07-07 Thread David Chandler
Hi Jeff,

We could possibly expose some classes as part of GPE's public API, but of
course they might change in future releases. Can you be more specific as to
which classes would be helpful?

Thanks,
/dmc

On Sat, Jul 2, 2011 at 9:24 PM, jeffma...@jeffmaury.com jeffma...@gmail.com
 wrote:

 Hello,

 I am writing an M2Eclipse extension that deals with GWT Maven
 projects. I want to generate GPE related information (GWT nature, GWT
 classpath container,...).
 I notice there are some nice classes in GPE that deals with it but
 these classes are exported but with restrictions through the OSGI
 directive x-friends, so I cannot use them in my OSGI bundle.
 Is there a reason or will it be relaxed in the future ?

 Thanks
 Jeff MAURY

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: abc wants to chat - what’s the story behind these posts

2011-07-06 Thread David Chandler
I think a few folks have accidentally typed the group email address in the
Gmail chat box, perhaps with the help of auto-complete. It is definitely not
intentional promo from Google.

/dmc

On Wed, Jul 6, 2011 at 8:54 AM, pac parvez.chau...@gmail.com wrote:

 Yesterday I saw a similar post in gwt forum from my account (which I
 didn't post)
 I thought my account is compromised, I deleted that post and changed
 my password.
 But nothing else looked suspicious but just one post in gwt forum.
 Message itself looks bit promotional from google team.
 Today, I searched and saw few other such posts i.e.

 http://groups.google.com/group/google-web-toolkit/browse_thread/thread/90eb36971c744756/31d5407614cae4a1?lnk=gstq=wants+to+chat#31d5407614cae4a1

 http://groups.google.com/group/google-web-toolkit/browse_thread/thread/fbad184e51a5c45a/71c546c41077d307?lnk=gstq=wants+to+chat#71c546c41077d307
 Are accounts been hacked or some other 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-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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Anybody has simple way to get Token when implement XRSF protection.

2011-07-06 Thread David Chandler
Hi Joey,

The XSRF token is stateless so you only need to call the XsrfTokenService
once per server session to obtain it. You can save it as a static variable
in a service helper class. Thereafter, you just need to call setRpcToken for
each service.

Some projects GWT.create() all services in a helper or factory class like

public class ServiceHelper {

private static SomeServiceAsync someService;

static {
(SomeServiceAsync) someService = GWT.create(SomeService.class);
}

public static getSomeService() {
return someService;
}
}

If you do this, you might initialize each service with the token when you
create it. Thereafter, client code can call ServiceHelper.getSomeService()
in order to make a request. For example, you could put the following in a
static initializer in the ServiceHelper to obtain the XSRF token when the
app loads:

XsrfTokenServiceAsync xsrf =
(XsrfTokenServiceAsync)GWT.create(XsrfTokenService.class);
((ServiceDefTarget)xsrf).setServiceEntryPoint(GWT.getModuleBaseURL() +
xsrf);
xsrf.getNewXsrfToken(new AsyncCallbackXsrfToken() {

 public void onSuccess(XsrfToken token) {
   initSomeService(token);
   initNextService(token);
   ...
   });
 }

As far as handling the XSRF exception centrally, you can wrap AsyncCallback
with your own class like XsrfProtectedCallback in which you implement
onFailure(). This is a good practice anyway in order to provide uniform
error handling for your RPC calls. See HupaCallback in the Apache HupaMail
project for an example of a wrapped callback.

HTH,
/dmc


On Wed, Jul 6, 2011 at 4:33 AM, Joey huazong...@gmail.com wrote:

 Hi All

 I have a big GWT project, there are many services and methods need to
 be protected. but I think it a hard work to
 change all of code what call methods as the following code from google
 document. So just want to know anybody
 has any simple way can fix XRSF problem and no need to change so many
 code for methods calling.

 -
 XsrfTokenServiceAsync xsrf =
 (XsrfTokenServiceAsync)GWT.create(XsrfTokenService.class);
 ((ServiceDefTarget)xsrf).setServiceEntryPoint(GWT.getModuleBaseURL() +
 xsrf);
 xsrf.getNewXsrfToken(new AsyncCallbackXsrfToken() {

  public void onSuccess(XsrfToken token) {
MyServiceAsync rpc = (MyServiceAsync)GWT.create(MyService.class);
((HasRpcToken) rpc).setRpcToken(token);

// make XSRF protected RPC call
rpc.doStuff(new AsyncCallbackVoid() {
  // ...
});
  }

  public void onFailure(Throwable caught) {
try {
  throw caught;
} catch (RpcTokenException e) {
  // Can be thrown for several reasons:
  //   - duplicate session cookie, which may be a sign of a cookie
  // overwrite attack
  //   - XSRF token cannot be generated because session cookie
 isn't
  // present
} catch (Throwable e) {
  // unexpected
}
 });
 -


 Thanks

 Joey

 --
 You received 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: gwt maven plugin - Google's or Codehause's?

2011-07-06 Thread David Chandler
Use the latest gwt-maven-plugin from codehaus. 1.3.2.google was a temporary
version developed during the GWT 2.1 release, and features from it were
contributed to codehaus and appear in 2.2.0.

/dmc

On Tue, Jul 5, 2011 at 12:09 PM, Marko Vuksanovic markovuksano...@gmail.com
 wrote:

 Which gwt-maven-plugin version do you suggest to use? I have seen that
 Expenses sample in 2.1.0 uses 1.3.2.google while that same sample uses 2.2.0
 in trunk... What is the reason for 1.3.2.google not to be used in trunk as
 well?

 Marko

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/NVoQAwGH0bsJ.
 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: GWT 2.3.0 + gwt-maven-plugin 2.3.0 tests generate errors

2011-07-06 Thread David Chandler
To resolve the GWT errors regarding ConstraintValidation, be sure to add
validation-api as a dependency in your POM. This was an oversight in the GWT
2.3 maven push and will be addressed in 2.4.

/dmc

On Wed, Jul 6, 2011 at 5:15 AM, Eborix13 ebori...@gmail.com wrote:

 Hi,

 I've installed GWT 2.3.0 and I've implemented the StockWatcher sample
 program. All went fine until I got to the testing part. I have a
 simple test, one method that does assertTrue(true). When I run it I
 get a bunch of errors:
 1) if I run the tests using maven I get:
 java.lang.NoClassDefFoundError: com/google/gwt/dev/cfg/Condition
at
 com.google.gwt.junit.client.GWTTestCase.createStrategy(GWTTestCase.java:
 340)
at
 com.google.gwt.junit.client.GWTTestCase.getStrategy(GWTTestCase.java:
 257)
 I see that this class is in the gwt-dev dependency so I add it to the
 dependency list
 2) if I run the tests with the gwt-dev dependency I get
 ---
  T E S T S
 ---
 Running de.codebox.mywebapp.client.WebAppTest
 [ERROR] Unable to find type 'java.lang.Object'
   [ERROR] Hint: Check that your module inherits
 'com.google.gwt.core.Core' either directly or indirectly (most often
 by inheriting module 'com.google.gwt.user.User')
 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.765
 sec  FAILURE!
 Results :
 Tests in error:
  testStockWatcher(de.codebox.mywebapp.client.WebAppTest)

 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

 And the error is
 com.google.gwt.core.ext.UnableToCompleteException: (see previous log
 entries)
at
 com.google.gwt.dev.cfg.ModuleDef.checkForSeedTypes(ModuleDef.java:
 518)
at
 com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:
 327)
at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1342)

 3) if i run the tests from my developing environment (Intellij Idea) I
 get:
 Validating newly compiled units
   [ERROR] Errors in 'jar:file:/C:/Documents%20and%20Settings/
 florin.haizea/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-
 user-2.3.0.jar!/com/google/gwt/editor/client/EditorDriver.java'
  [ERROR] Line 20: The import javax.validation.ConstraintViolation
 cannot be resolved
  [ERROR] Line 97: ConstraintViolation cannot be resolved to a
 type
 
 which ends up in java.lang.OutOfMemoryError: Java heap space

 I've seen other posts with similar errors but no clear solution to the
 problem. Can anyone help?
 Many thanks...

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




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Google Products using GWT

2011-07-06 Thread David Chandler
Fundamentally, it's because engineering teams at Google are free to choose
their own tools. The Architecture Police don't work here. There are many
instances where Google tools or products compete with each other like GWT
and Closure. In Google culture, that's generally viewed as healthy as it
allows freedom of choice and provides incentive for competing frameworks to
continually improve.

As for Google+, I don't know any specifics, but lots of factors typically
come into play as with any company: the team's skillset and preferences,
whether the app is in framework X's sweet spot, etc. I don't understand it
personally, but some people really like JS, and Google has a lot of (very
good) JS developers.

/dmc

On Sat, Jul 2, 2011 at 4:45 AM, Yannis BRES yaya.at.w...@gmail.com wrote:

 Hi David !

 Would you (or Thomas ? ;-) ) have any shareable insights as to why Google+
 seems to be coded in pure Java / closure instead of GWT ?

 Best regards,
  Yannis

  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/qvRtDQzGbUsJ.

 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Should gwt-dev.jar be on classpath on webmode?

2011-07-01 Thread David Chandler
Make sure you have only one GWT version on your classpath. The gwt/dev/asm
classes are in gwt-servlet.jar, which should be the only GWT jar you need on
the server side (along with validation-api.jar and json.jar).

Also, in order to get the benefits of Guice injection for RF services,
you'll need a little more sophistication. See
http://wanderingcanadian.posterous.com/?tag=requestfactory and Thomas
Broyer's previous posts in this forum.

/dmc

On Fri, Jul 1, 2011 at 7:21 AM, Magno Machado magn...@gmail.com wrote:

 Using GWT 2.3
 This is the Guice stuff that I added to my web.xml

   filter
 filter-nameguiceFilter/filter-name
 filter-classcom.google.inject.servlet.GuiceFilter/filter-class
   /filter

   filter-mapping
 filter-nameguiceFilter/filter-name
 url-pattern/*/url-pattern
   /filter-mapping

   listener

 listener-classmiles.server.infra.MilesGuiceServletConfig/listener-class
   /listener

 And the guice code concerning RequestFactoryServlet, on a Guice
 ServletModule:
  public void configureServlets() {
 filter(/*).through(PersistFilter.class);
  serve(/gwtRequest).with(RequestFactoryServlet.class);
 bind(RequestFactoryServlet.class).in(Singleton.class);
  }


 On Thu, Jun 30, 2011 at 9:53 PM, David Chandler drfibona...@google.comwrote:

 Which version of GWT? You shouldn't need gwt-dev.jar to run
 RequestFactoryServlet. Can you share your Guice config? Are you passing any
 params to RFS?

 On Thu, Jun 30, 2011 at 7:28 PM, Magno Machado magn...@gmail.com wrote:

 This is what I get if I don't put it on classpath:
 java.lang.NoClassDefFoundError: com/google/gwt/dev/asm/commons/Method
 at
 com.google.web.bindery.requestfactory.server.ResolverServiceLayer.clinit(ResolverServiceLayer.java:46)
 at
 com.google.web.bindery.requestfactory.server.ServiceLayer.create(ServiceLayer.java:76)
 at
 com.google.web.bindery.requestfactory.server.RequestFactoryServlet.init(RequestFactoryServlet.java:88)
 at
 com.google.web.bindery.requestfactory.server.RequestFactoryServlet.init(RequestFactoryServlet.java:74)
 at
 com.google.web.bindery.requestfactory.server.RequestFactoryServlet$$FastClassByGuice$$54253391.newInstance(generated)
 at
 com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
 at
 com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60)
 at
 com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
 at
 com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
 at
 com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
 at
 com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
 at
 com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
 at com.google.inject.Scopes$1$1.get(Scopes.java:65)
 at
 com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
 at
 com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
 at
 com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
 at
 com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)

 This happens while instantiating RequestFactoryServlet

 --
 Magno Machado Paulo
 http://blog.magnomachado.com.br
 http://code.google.com/p/emballo/

 --
 You received 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, GWT+GAE
 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.




 --
 Magno Machado Paulo
 http://blog.magnomachado.com.br
 http://code.google.com/p/emballo/

 --
 You received 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

Re: GWT RPC Service Proxy/Wrapper

2011-07-01 Thread David Chandler
Hi Andreas,

This is exactly why using the Command pattern a la gwt-dispatch is
recommended :-) You can use a servlet filter for basic centralized handling
such as authentication or have all your service impls extend a base class
that extends RemoteServiceServlet, but those are the only ways I know of to
get the low-hanging fruit.

/dmc

On Fri, Jul 1, 2011 at 3:11 AM, andreas_b andreas.borg...@gmail.com wrote:

 Hi all.

 I'm currently working on a project that has both client side and
 server side components. The server side code and the RPC services have
 already been defined and implemented by one party and my team is now
 about to develop the client side GWT app.

 I have previously worked on projects where we used gwt-presenter and
 gwt-dispatch using a Command pattern style for RPC. However, in this
 project the services have been implemented more as an API with named
 methods that each maps to underlying DAOs.

 We are now looking at how to implement client side caching and other
 centralized request/response handling around the RPC services. The
 problem we're having is that there are a large number of service
 methods defined, as opposed to one execute() method that you typically
 find when using dispatch/Command pattern. Hence, it is not straight
 forward as to how we would hook into these services and implement
 caching and other generic handlers without re-writing the services and
 it's server side implementation.

 We have something like 3 services each looking like this.
 Service
 methodA(...)
 methodB(...)
 methodC(...)
 ...

 What is the best or preferred way to wrap or hook into these calls to
 provide caching and any other generic handling we may want to provide?
 It doesn't seem very efficient to wrap the services and hook into each
 separate method. We are looking to solve this client side rather than
 re-writing the server-side implementation.
 Note that the server-side component was implemented without our
 involvement.

 Thanks in advance.

 Andreas



 --
 You received 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, GWT+GAE
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.



Re: Google Products using GWT

2011-07-01 Thread David Chandler
Hi Kevin,

There are several hundred projects within Google using GWT and more are
being written or rewritten all the time. Some of the major ones:

AdWords UI
AdSense UI
Blogger (
http://techcrunch.com/2011/03/14/half-a-billion-blog-posts-later-google-to-give-blogger-a-revamp/
)
Groups (new UI)
Doclist (the folders in docs, both desktop and mobile versions)
Parts of Maps / Geo

Follow us @googledevtools for more announcements still to come.

For a broader view of companies using GWT, have a look at the companies
featured in this year's Developer Tool Sandbox at I/O (
http://www.google.com/events/io/2011/sandbox.html#developer-tools) as well
as the case studies posted on the GWT doc site (
http://code.google.com/webtoolkit/casestudies/index.html). Also note that
this forum continues to add members at the rate of ~500 / mo. GWT is still
growing.

Also watch trunk on SVN. Googlers continue to improve GWT every day, and
lots of the new features in the last year have been driven by Google
projects (notably UIBinder, Activities and Places, and cell widgets).

The real question is whether GWT is a good fit for your project. We
generally find that teams with strong Java experience writing rich,
desktop-like apps benefit the most from GWT. Lots of people on this forum
will tell you that if you start with pure JS and your code base grows,
you'll soon reach a point where you wish you'd written in GWT. Don't kid
yourself--there is a learning curve, especially for server-side developers
not used to writing asynchronous, event-driven clients, but if your project
is a good fit, you won't look back.

/dmc

On Fri, Jul 1, 2011 at 9:00 AM, Kevin Anderson kev...@gmail.com wrote:

 I realize that this question was asked in this thread, but seeing as the
 response was a few years old I thought I would pose the question again.

 At work there has been a ton of discussion (putting it nicely) about the
 use of GWT inside the organization. It doesn't seem to be enough to those
 opposing the use of GWT to point out the several production applications
 running to the not so many pure javascript applications running. With the
 recent release of Google+ the topic has arisen again with those in the
 opposite camp pointing out that Google+ source appears to not be using any
 GWT. They are using this to argue that not even Google is using GWT to build
 their suite of products.

 So, sorry for posing another question about this, but I would be curious
 about an updated list of Google products that use GWT.  Thanks.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/eSqUVQ8gKEMJ.
 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, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.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.



Re: Very confusing aspect of MVP documentation!

2011-07-01 Thread David Chandler
While it's true that gwt-platform is not supported or endorsed by Google,
note that gwt-platform creator Philippe Beaudoin was invited to present at
Google I/O this year (see the video at
http://code.google.com/p/gwt-platform/). Also note that both gwt-platform
and Activities and Places are built on the same core History support in GWT,
which did not change with the 2.1 release and is unlikely to change. While
GWT may continue to add new features in Activities and Places, I don't
anticipate any changes that would break gwt-platform. The GWT team values
the many 3rd party projects around GWT and generally tries to keep core GWT
APIs as loosely coupled as possible in order to permit different development
styles.

/dmc

On Fri, Jul 1, 2011 at 9:14 AM, cri chuck.irvine...@gmail.com wrote:

 I would imagine that GWT-Platform is better than GWT's native MVP (by
 which I mean Activities/Places/ActivityMapper), otherwise it probably
 wouldn't exist. The problem I have is that GWT-Platform isn't
 supported by Google while their MVP is. Maybe GWT MVP isn't entirely
 sufficient but it has worked well for us. It's not unreasonable to
 assume that Google will enhance it in the future. What happens then
 for development shops that have migrated to GWT-Platform and they are
 tempted to switch back? They have existing code that uses another
 framework and developers that are used to the non standard package.
 Messy right?

 On Jul 1, 4:00 am, Russ 10wattmindt...@gmail.com wrote:
  What I did was read through the MVP articles 1  2, read about the
 Activity
  and Places approach, tried coding a bit to get more familiar with the
  terminology and then started using GWT-Platform. With the new plugin it
  simplifies all of the cruft and confusion that is MVP..
 
 
 
 
 
 
 
 
 
  On Thu, Jun 30, 2011 at 8:02 PM, cri chuck.irvine...@gmail.com wrote:
   Hmm Well, part of this is semantics I think. What exactly
   constitutes MVP is the question. But regardless of that, it is true:
 
   1) That one can use the combination of Views, ClientFactory,
   Activities, Places, PlaceHistoryMapper, and ActivityMapper as
   described at
  http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAnd.
 ..
   to organize and automate Activity/View transition. We've done this on
   several projects and have more in the pipeline.
 
   2) The concepts/methods/classes described in the Part I and II
   articles seem more manual and labor intensive and, though similar in
   concept, are distinctly different in their detailed approach compared
   to the above. We tried both with multiple real world projects and View/
   Activities/Places/ActivityMapper/etc we've found to be superior.
   Interestingly, we really not used them at all for history management.
 
   3) One might argue that one is better than the other I guess but to
   present them both, side by side, is just plain confusing to your user
   base.
 
   On Jun 30, 5:10 pm, David Chandler drfibona...@google.com wrote:
Hi cri,
 
Thanks for pointing this out. Ironically, I added that note along
 with
   other
changes just a few days ago in order to try to decouple MVP from
   Activities
and Places. The GWT team, including Ray Ryan, doesn't think of
 Activities
and Places as an MVP framework. It's a way to manage browser history
 and
provides no base classes for presenters or views. MVP proper, as
 we're
currently defining it, is not concerned with browser history
 management.
   Ray
Ryan's talk in 09 and the previous MVP articles mentioned these
 concepts
together, but they are not necessarily coupled, and we're trying to
   reflect
that in the docs going forward.
 
At any rate, I hadn't noticed that the prior MVP articles discuss
 browser
history management and I can see how this would lead you down the
 wrong
path. We're working on updated versions, but in the mean time, I'll
 add
notes to the history management sections pointing forward to
 Activities
   and
Places instead.
 
Thanks again,
/dmc
 
On Thu, Jun 30, 2011 at 4:43 PM, cri chuck.irvine...@gmail.com
 wrote:
 I can only say that we've been very happy with the framework
 described
 at

 http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAnd.
   ..
 ,
 aside from the issue I mentioned in my original post.
 
 Regarding database access and login/logout - those seem separate
 from
 MVP really.
 
 On Jun 30, 3:35 pm, Xybrek xyb...@gmail.com wrote:
  On Friday, 01 July, 2011 04:13 AM, cri wrote:
   If you go tohttp://
 code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAnd...,
   you'll see the note:
 
   **
   Strictly speaking, MVP architecture is not concerned with
 browser
   history management, but Activities and Places may be used with
 MVP
   development as shown in this article. If you're not familiar
 with
   MVP,
   you may want to read

Re: Very confusing aspect of MVP documentation!

2011-06-30 Thread David Chandler
Hi cri,

Thanks for pointing this out. Ironically, I added that note along with other
changes just a few days ago in order to try to decouple MVP from Activities
and Places. The GWT team, including Ray Ryan, doesn't think of Activities
and Places as an MVP framework. It's a way to manage browser history and
provides no base classes for presenters or views. MVP proper, as we're
currently defining it, is not concerned with browser history management. Ray
Ryan's talk in 09 and the previous MVP articles mentioned these concepts
together, but they are not necessarily coupled, and we're trying to reflect
that in the docs going forward.

At any rate, I hadn't noticed that the prior MVP articles discuss browser
history management and I can see how this would lead you down the wrong
path. We're working on updated versions, but in the mean time, I'll add
notes to the history management sections pointing forward to Activities and
Places instead.

Thanks again,
/dmc

On Thu, Jun 30, 2011 at 4:43 PM, cri chuck.irvine...@gmail.com wrote:

 I can only say that we've been very happy with the framework described
 at
 http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html
 ,
 aside from the issue I mentioned in my original post.

 Regarding database access and login/logout - those seem separate from
 MVP really.

 On Jun 30, 3:35 pm, Xybrek xyb...@gmail.com wrote:
  On Friday, 01 July, 2011 04:13 AM, cri wrote:
   If you go tohttp://
 code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAnd...,
   you'll see the note:
 
   **
   Strictly speaking, MVP architecture is not concerned with browser
   history management, but Activities and Places may be used with MVP
   development as shown in this article. If you're not familiar with MVP,
   you may want to read these articles first:
 
Large scale application development and MVP, Part I
Large scale application development and MVP, Part II
   **
 
   This has sent two of our development teams off in the wrong direction.
   I would be willing to venture that it has confused others as well.
 
   The problem is that folks go into the Part I and II articles and
   assume that GWT's MVP framework is being described and they go off and
   duplicate it. But these articles don't describe GWT's *current* MVP
   framework. Instead, the articles describe an approach to MVP that
   preceded GWT official support.
 
   Personally, I think that the reference to these articles should be
   removed from the MVP documentation pages so folks won't go merrily
   down the wrong path as others have.
 
  What is the best MVP we can use with GWT? I am currently looking for
  some lightweight MVP framework with some samples that will give me the
  scaffoldings. With the connection to a database, through the RPC. I am
  also trying to understand how login-logout fits the MVP scenario and how
  when user is logged in the view is updated as data is modified in the
  database. I cannot see any example having a RPC service which connects
  to database, say through hibernate. - Xybrek

 --
 You received 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, GWT+GAE
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.



Re: How do you guys solve this problem?

2011-06-30 Thread David Chandler
Magno is correct. You can create multiple proxy representations of an
entity, so could have ClientProxy with accessor methods for all properties
and LightweightClientProxy with only getId() and getStringRepresentation().

/dmc

On Thu, Jun 30, 2011 at 8:10 PM, Magno Machado magn...@gmail.com wrote:

 i think you could create another proxy for Client which is just id and name

 But I had a similar need some time ago and I found it better to use gwt-rpc
 for that specific case, although the app uses mainly requestfactory


 On Thu, Jun 30, 2011 at 8:38 PM, Gal Dolber gal.dol...@gmail.com wrote:

 Imagine an example:
 let say I want to show in the client the following table of Sales:

 Id   | Client  | Product   | Number
 -
 1| John Doe(2) | iMac 27'(23)| 1
 2| Chris More(3)   | Mac book'(4)   | 2

 With Sale being:

 class Sale {
private long id;
private Client client;
private Product product;
private Integer number;

.
 }

 John Doe(2) is the name of the client and 2 is the id. Same thing for
 Product.
 The problem is that to find out the Client's name I need to send it to the
 client (in the case of RequestFactory as a ClientProxy).
 I don't want to send the whole Client throw the wire when I only need the
 id and a string representation. Plus, the example being a table, it may be
 listing 30+ Sales, and include the relationship makes it really heavy to
 load.

 The question is how can I do with RF to get a string representation and
 the id of a Proxy without loading it all?

 Before using RF I used two object i.e: Sale and SaleDto, and I made the
 conversion myself on the server.

 Thanks in advance!

 --
 Guit: Elegant, beautiful, modular and *production ready* gwt applications.

 http://code.google.com/p/guit/




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




 --
 Magno Machado Paulo
 http://blog.magnomachado.com.br
 http://code.google.com/p/emballo/

  --
 You received 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, GWT+GAE
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.



Re: Should gwt-dev.jar be on classpath on webmode?

2011-06-30 Thread David Chandler
Which version of GWT? You shouldn't need gwt-dev.jar to run
RequestFactoryServlet. Can you share your Guice config? Are you passing any
params to RFS?

On Thu, Jun 30, 2011 at 7:28 PM, Magno Machado magn...@gmail.com wrote:

 This is what I get if I don't put it on classpath:
 java.lang.NoClassDefFoundError: com/google/gwt/dev/asm/commons/Method
 at
 com.google.web.bindery.requestfactory.server.ResolverServiceLayer.clinit(ResolverServiceLayer.java:46)
 at
 com.google.web.bindery.requestfactory.server.ServiceLayer.create(ServiceLayer.java:76)
 at
 com.google.web.bindery.requestfactory.server.RequestFactoryServlet.init(RequestFactoryServlet.java:88)
 at
 com.google.web.bindery.requestfactory.server.RequestFactoryServlet.init(RequestFactoryServlet.java:74)
 at
 com.google.web.bindery.requestfactory.server.RequestFactoryServlet$$FastClassByGuice$$54253391.newInstance(generated)
 at
 com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
 at
 com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60)
 at
 com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
 at
 com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
 at
 com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
 at
 com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
 at
 com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
 at com.google.inject.Scopes$1$1.get(Scopes.java:65)
 at
 com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
 at
 com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
 at
 com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
 at
 com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)

 This happens while instantiating RequestFactoryServlet

 --
 Magno Machado Paulo
 http://blog.magnomachado.com.br
 http://code.google.com/p/emballo/

 --
 You received 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, GWT+GAE
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.



Re: Transient methods and imports

2011-06-29 Thread David Chandler
GWT honors the transient keyword. Simply mark any non-GWT-safe fields as
transient:

private transient NonGWTSafeType someField;

See http://code.google.com/webtoolkit/doc/latest/tutorial/RPC.html#serialize

HTH,
/dmc

On Wed, Jun 29, 2011 at 2:50 AM, Christie Davel christieda...@gmail.comwrote:

 Is there anyway how one can mark certain methods/imports as transient
 for the gwt compiler.  By doing this i can use the same pojo on client
 and server side where the transient methods will be ignored on the
 client side.

 An Example:


 package bla.bla.dto.basemodel;

 import com.extjs.gxt.ui.client.data.BaseModelData;
 import java.io.IOException;
 import java.io.ObjectInputStream;
 import java.io.ObjectOutputStream;

 public class EntityBase extends BaseModelData {
public EntityBase() {
}

public Long getPk() {
return get(pk);
}

public void setPk(Long pk) {
set(pk, pk);
}

@GWTTransient
private void writeObject(ObjectOutputStream out) throws
 IOException {
out.defaultWriteObject();
...
}

@GWTTransient
private void readObject(ObjectInputStream in) throws IOException,
 ClassNotFoundException {
in.defaultReadObject();
...
}
 }

 Regards
 Christie

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



Re: gwt-servlet.jar size 200KB to 4MB?

2011-06-29 Thread David Chandler
FYI, if you're using RequestFactory only and build from source, you'll find
build/lib/requestfactory-server.jar (468k), which you can use in place of
gwt-servlet.jar.

/dmc

On Wed, Jun 29, 2011 at 4:45 AM, Craig Mitchell craig...@gmail.com wrote:

 Thanks Thomas.  I'll give patching the correct version a go.  I can see
 some obvious ones that I wouldn't think need to be in there, like dom,
 editor, and uibinder.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/KF9R-Uqe7zkJ.

 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.



Re: gwt-servlet.jar size 200KB to 4MB?

2011-06-29 Thread David Chandler
Good point, Thomas. Agreed, the POMs should be part of the open source
project, and community participation is welcome. I'll work on getting them
checked in.

As for the group/artifact IDs, I expect we'll want to use groupId
com.google.web.bindery with artifacts requestfactory-server and
requestfactory-client. I'll double-check to make sure there are no GWT
references in the jars, but I'm sure that was the intent of moving to
com.google.web.bindery. Does this make sense?

/dmc

On Wed, Jun 29, 2011 at 10:25 AM, Thomas Broyer t.bro...@gmail.com wrote:

 As you're talking about it: is it planned to publish it as a Maven artifact
 along with GWT 2.4? And if so, do you know already which groupId and
 artifactId it will use?

 (and talking about Maven, I suppose you have scripts to prepare the
 deployments, and pom.xml files; what's the reason for them not being in the
 source repository? it would make life a bit easier to us, people building
 from source)

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/JYFY_7Nqp-0J.

 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, GWT+GAE
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.



Re: RequestFactory - persist method that returns the saved Entity.

2011-06-29 Thread David Chandler
Hi Aidan,

I also see the AutoBeanFrozen error with persistAndReturn in GWT 2.3.0 and
am looking into it. GWT 2.2.0 did not exhibit this behavior.

And yes, Request.fire() just calls RequestContext.fire(), so the effect is
identical.

/dmc

On Wed, Jun 29, 2011 at 1:55 PM, Aidan O'Kelly aida...@gmail.com wrote:

 So, still trying to fully understand the RequestFactory, I made myself
 a small app to test having my persistence code in the entity itself.
 (I have been previously working off the TurboManage
 objectify+requestfactory sample, thanks David, its been very useful!)

 I have an Entity called Parent, which has this method:

public Parent persistAndReturn() {
ObjectifyDao dao = new ObjectifyDao();
this.aBool = true;
KeyParent key = dao.ofy().put(this);
return dao.ofy().get(key);
}

 In my App's RequestFactory interface, I have this:

   @Service(Parent.class)
interface ParentRequestContext extends RequestContext {
InstanceRequestParentProxy, Void persist();
InstanceRequestParentProxy, ParentProxy
 persistAndReturn();
}
ParentRequestContext getParentRC();


 Then when I want to create and persist a new Parent object, I do this...

  ParentRequestContext rc = rf.getParentRC();
  ParentProxy proxyObj = rc.create(ParentProxy.class);
 (.. set some properties..  )

 RequestParentProxy fetchRequest = rc.persistAndReturn().using(proxyObj);
 fetchRequest.to(new ReceiverParentProxy(){
   (... onSuccess Handler.. )
 });

 fetchRequest.fire();

 However I get the 'autobean has been frozen' error (stack trace:
 http://pastebin.com/NZ7280B9 )
 Its clear from the stacktrace and other debug messages that the object
 is persisted, but returning it fails.

 So...

 Is this possible?  Is it desirable?

 Also, if we look at the last line, fetchRequest.fire(), we could also
 do rc.fire()  instead of it, and get the same result.. Are we doing
 the exact same operation when we call either 'fire' method?

 Thanks,
 Aidan.

 --
 You received 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, GWT+GAE
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.



Re: Where is downloadable GWT docs?

2011-06-29 Thread David Chandler
Tried Google lately? ;-)

/dmc

On Wed, Jun 29, 2011 at 3:56 PM, Eric Atkinson 
eric.atkin...@strategicinternationalsystems.com wrote:

 Thank you, David, but what program runs that command? Browser - no.
 Command prompt - no.

 On Jun 27, 10:29 am, David Chandler drfibona...@google.com wrote:
  Hi Eric,
 
  We don't publish the GWT docs for offline browsing, but instead of manual
  copying, you can use
 
  wget -r -p -np -khttp://
 code.google.com/webtoolkit/doc/latest/DevGuide.html
 
  That will pull all the developer guides for the latest release, and you
 can
  further check out the javadocs from svn athttp://
 google-web-toolkit.googlecode.com/svn/javadoc/latest
 
  HTH,
  /dmc
 
  On Sat, Jun 25, 2011 at 5:44 PM, Eric Atkinson 
 
 
 
 
 
 
 
 
 
  eric.atkin...@strategicinternationalsystems.com wrote:
   I have been able to download to docs for the Google App Engine
   (because I am not always online when coding and testing); however, I
   can't seem to find a way to download the docs for GWT (for the same
   reason). Is there a link to down the GWT docs, such as:
 
  http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunicat.
 ..
   .
   Otherwise, I'll have to go through every page of the GWT Dev Guide and
   copy them manually -- ugh. Thanks.
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post to this group, send email to
 google-web-toolkit@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.com.
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.
 
  --
  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.




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
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.



Re: RequestFactory - persist method that returns the saved Entity.

2011-06-29 Thread David Chandler
Aidan, thanks so much for sharing your success!

   This was failing:


KeyNamedList key = this.put(list);

return this.get(key);


but this works:

KeyNamedList key = this.put(list);
return list;

I'll have to look closer at what changed between 2.2 and 2.3 that might be
causing this.


/dmc

On Wed, Jun 29, 2011 at 5:44 PM, Aidan O'Kelly aida...@gmail.com wrote:

 Ok thanks for the clarification. A bit more messing around (probably
 should've tried this first) and changing the persistAndReturn method
 to simply 'return this' actually works, with the returned proxy having
 the newly generated ID and any server side changes that were made.

public Parent persistAndReturn() {
ObjectifyDao dao = new ObjectifyDao();
this.aBool = true;
 dao.ofy().put(this);
return this;
 }


 On Wed, Jun 29, 2011 at 7:18 PM, David Chandler drfibona...@google.com
 wrote:
  Hi Aidan,
  I also see the AutoBeanFrozen error with persistAndReturn in GWT 2.3.0
 and
  am looking into it. GWT 2.2.0 did not exhibit this behavior.
  And yes, Request.fire() just calls RequestContext.fire(), so the effect
 is
  identical.
  /dmc
 
  On Wed, Jun 29, 2011 at 1:55 PM, Aidan O'Kelly aida...@gmail.com
 wrote:
 
  So, still trying to fully understand the RequestFactory, I made myself
  a small app to test having my persistence code in the entity itself.
  (I have been previously working off the TurboManage
  objectify+requestfactory sample, thanks David, its been very useful!)
 
  I have an Entity called Parent, which has this method:
 
 public Parent persistAndReturn() {
 ObjectifyDao dao = new ObjectifyDao();
 this.aBool = true;
 KeyParent key = dao.ofy().put(this);
 return dao.ofy().get(key);
 }
 
  In my App's RequestFactory interface, I have this:
 
@Service(Parent.class)
 interface ParentRequestContext extends RequestContext {
 InstanceRequestParentProxy, Void persist();
 InstanceRequestParentProxy, ParentProxy
  persistAndReturn();
 }
 ParentRequestContext getParentRC();
 
 
  Then when I want to create and persist a new Parent object, I do this...
 
   ParentRequestContext rc = rf.getParentRC();
   ParentProxy proxyObj = rc.create(ParentProxy.class);
  (.. set some properties..  )
 
  RequestParentProxy fetchRequest =
 rc.persistAndReturn().using(proxyObj);
  fetchRequest.to(new ReceiverParentProxy(){
(... onSuccess Handler.. )
  });
 
  fetchRequest.fire();
 
  However I get the 'autobean has been frozen' error (stack trace:
  http://pastebin.com/NZ7280B9 )
  Its clear from the stacktrace and other debug messages that the object
  is persisted, but returning it fails.
 
  So...
 
  Is this possible?  Is it desirable?
 
  Also, if we look at the last line, fetchRequest.fire(), we could also
  do rc.fire()  instead of it, and get the same result.. Are we doing
  the exact same operation when we call either 'fire' method?
 
  Thanks,
  Aidan.
 
  --
  You received 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, GWT+GAE
  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.




-- 
David Chandler
Developer Programs Engineer, GWT+GAE
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.



Re: GPE Support for m2e 1.0

2011-06-28 Thread David Chandler
Thomas, are you sure you're using m2e 1.0 (not 0.12x)? According to this
thread, m2e core is now released from Eclipse and it will be a while before
we're able to support that. But yes, 0.12 with m2extras works for me also in
Indigo.

http://dev.eclipse.org/mhonarc/lists/m2e-users/msg00754.html

/dmc

On Tue, Jun 28, 2011 at 4:31 AM, Thomas Broyer t.bro...@gmail.com wrote:

 Works for me…

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/jkdrp2GXJQYJ.

 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.



Re: websites designed with GWT are mobile browser compatible?

2011-06-28 Thread David Chandler
Any device that supports Javascript well will run a GWT app well. Lots of
folks are running GWT apps on Androids and iPhones. Check out the
presentations on mobile development with GWT from I/O this year, as we're
currently doing a lot of work in this area.

http://www.google.com/events/io/2011/sessions.html#developer-tools-track

/dmc

On Tue, Jun 28, 2011 at 1:07 AM, vijay sali vijay.s...@gmail.com wrote:

 Hello Guys,
 I am planning to develop a web application using GWT, but before
 that I need to make few clarifications. The web app what I am
 developing should be compatible with Mobile phone browsers
 considerable smart phone browsers.

 I googled a lot to know this but I did not find supporting or
 sufficient documentations.

 If GWT doesnt support what would be the other framework, which is open
 source java based 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.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.



Re: Where is downloadable GWT docs?

2011-06-27 Thread David Chandler
Hi Eric,

We don't publish the GWT docs for offline browsing, but instead of manual
copying, you can use

wget -r -p -np -k http://code.google.com/webtoolkit/doc/latest/DevGuide.html

That will pull all the developer guides for the latest release, and you can
further check out the javadocs from svn at
http://google-web-toolkit.googlecode.com/svn/javadoc/latest

HTH,
/dmc

On Sat, Jun 25, 2011 at 5:44 PM, Eric Atkinson 
eric.atkin...@strategicinternationalsystems.com wrote:

 I have been able to download to docs for the Google App Engine
 (because I am not always online when coding and testing); however, I
 can't seem to find a way to download the docs for GWT (for the same
 reason). Is there a link to down the GWT docs, such as:

 http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html
 .
 Otherwise, I'll have to go through every page of the GWT Dev Guide and
 copy them manually -- ugh. Thanks.

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




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



Re: Any guide to make our generators cacheable?

2011-06-27 Thread David Chandler
Hi Gal,

Perhaps you've been looking at http://gwt-code-reviews.appspot.com/1468804

This is still a work in progress. We're aiming for release and docs next
quarter.

/dmc

On Mon, Jun 27, 2011 at 9:51 AM, Gal Dolber gal.dol...@gmail.com wrote:

 I see the SupportsGeneratorResultCaching interface, but I am not sure what
 else I have to do to make my generators cacheable

 --
 Guit: Elegant, beautiful, modular and *production ready* gwt applications.

 http://code.google.com/p/guit/




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



Re: .setVisible(true); // I can't see what I am missing

2011-06-27 Thread David Chandler
The implementation of RootPanel.setVisible() uses the style attribute
display, which is orthogonal to visibility:hidden.

 public static native void setVisible(Element elem, boolean visible)
/*-{

elem.style.display = visible ? '' : 'none';

  }-*/;

Best form is to control visibility using styles directly OR by calling
setVisible(), but don't mix the two.

/dmc

On Mon, Jun 27, 2011 at 8:55 PM, RRRaney rrrsyst...@gmail.com wrote:

 Hello,

 I would like to figure out how to build my entire container before I show
 it.
 I have this example to help explain and work with.
 This builds the container as I would like (if I remove the
 visibility:hidden).
 With the example as is it never shows the ButtonContainer, just sits
 there as blank page.
 I can't see what it is that I am missing.

 My.html
 ---
 body
 div class = Container
  id= ButtonContainer
 div id = Buttons
 /div
 /div
 /body

 My.css
 --
 .Container
 {
 outline:#C0C0C0 inset thin;
 }
 #ButtonContainer
 {
 visibility: hidden;
 }
 My.java
 ---
 public class SmartPage implements EntryPoint
 {
 public void onModuleLoad()
 {
 HLayout Buttons = new HLayout();
 Buttons.setMembersMargin(15);
 IButton ButtonOne = new IButton(Button One);
 IButton ButtonTwo = new IButton(Button Two);
 Buttons.addMember(ButtonTwo);
 Buttons.addMember(ButtonOne);
 VLayout ButtonLayout = new VLayout();
 ButtonLayout.addMember(Buttons);
 ButtonLayout.setHeight(ButtonOne.getHeight());
 RootPanel.get(Buttons).add(ButtonLayout);
 ButtonLayout.draw();
 RootPanel.get(ButtonContainer).setVisible(true);
 }
 }
 Thanks,

 Raney

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/TA2_kmOKOFUJ.
 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.



Re: certification

2011-06-24 Thread David Chandler
There is one book that covers GWT 2.1. See Google App Engine Java and GWT
Application Development on the GWT Books page:

http://code.google.com/webtoolkit/books.html

/dmc

On Fri, Jun 24, 2011 at 2:10 AM, Elhanan Maayan elh.mailg...@gmail.comwrote:

 doubt that, as java JEE is mature and advances in a steady rate, GWT is
 still young and exploded with new patterns and technologies.
 i mean have you seen any current documentation worth it's salt aside from
 the unprintable developer guide?
 essential gwt is the only book on gwt 2 , but doesn't include any info on
 2.1 which kinda makes with outdated on it's own.
 the only other current book only deals with it rather superficially. so
 there's really not much to be certified on.

 On Thu, Jun 23, 2011 at 8:44 PM, gwtomni gwtomni gwto...@gmail.comwrote:

 Hello gwtters,

I'm wondering if there is some certifications that we can pass like the
 ones with java JEE etc .


 thank you for your answers.

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




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



Re: GWT integration to the cloud

2011-06-24 Thread David Chandler
We've seen very little interest in GWT-Roo integration on this forum. It
seems that most folks want to use GWT RequestFactory and Activities  Places
without code generation, so we've chosen to prioritize effort around making
that easier (for example, ServiceLocators and issues 5807, 6234 make it
possible to inherit generic service methods vs. generate them).

Technically, GWT-Roo integration is structured as a Roo add-on so Spring
needs to be at least involved in any further work.

Are you just wanting to kick the tires or have you already adopted Roo and
have a really strong use case for GWT integration also?

/dmc

On Fri, Jun 24, 2011 at 6:19 AM, Aza Tek azat...@gmail.com wrote:

 Wonderful, wonderful question Amit. I'm all ears for a genuine answer on
 this one (NOT the usual This is a springsource-team problem, when it's
 clearly so important to GWT).

 Thanks


 On Fri, Jun 24, 2011 at 11:53 AM, Amit a.b.kleinm...@gmail.com wrote:

 On Google I/O 2010, the VMware- Spring Roo tool was demonstrated. It
 shows how one can quickly build a simple GWT application, where Roo
 got only small and simple input and generated the entire code. A year
 later, in one of the sessions of Google I/O 2011, a question was asked
 regarding the collaboration of Google with VMware and the future of
 Roo and its GWT plugin, however this time no real answer was given.
 I wonder what is the status of Roo and the GWT plug-in from your eyes,
 is it going to be a tool ready for production (for real applications
 rather than demo only).
 Also what is the reccomended way for integration of GWT with the cloud
 for an entrprise application - e.g., is there any intention to provide
 integration with the VMware spring V-Fabric products?
 What is the future of GAE in that sense given the following report
 http://gigaom.com/cloud/can-google-app-engine-compete-in-the-enterprise

 Waiting for your comments,

 Amit Kleinmann

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




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



Re: passing data between activities

2011-06-24 Thread David Chandler
Use the EventBus.

On Fri, Jun 24, 2011 at 9:14 AM, gwtomni gwtomni gwto...@gmail.com wrote:

 Hello,

 how can I pass data from one activity to another one respecting MVP
 pattern ?

 thx

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



Re: RequestFactory: creating proxies on client and constructors

2011-06-24 Thread David Chandler
Hi Ryan,

The proxy you get from RequestContext.create() won't be updated
automatically. Your persist method should return the newly persisted object
from the server.

Does that help?
/dmc

On Thu, Jun 23, 2011 at 8:51 PM, Ryan McFall mcfall.r...@gmail.com wrote:

 Thanks David, for confirming my suspicions.

 I've got this working now so that immediately after I
 RequestContext.create my proxy, I call a method on the server to
 persist it.

 In side that server method, I refresh the state of the object after
 saving it, because a database trigger populates some tables associated
 with the object when it is first created.  On the server side, I see
 those fields being assigned values in my debugger after the refresh.
 I do update the version number field for the object on the server in
 my service method.

 However, on the client side, the proxy returned by
 RequestContext.create does not have those new values; the collection
 containing them is still null, as it was before I persisted the
 object.

 I have some ideas on how to fix this, but I'd love to hear suggestions
 on the best way to do it.  I feel like the client-side event bus stuff
 could be involved here, but honestly I don't know much about how that
 works - where is a good place to look for docs (the getting started
 with RequestFactory guide doesn't really talk about it).

 Ryan


 On Jun 23, 4:07 pm, David Chandler drfibona...@google.com wrote:
  Ryan, you're correct. Nothing on the server gets called until you fire()
 the
  request, so your default properties won't be immediately available on the
  client, unfortunately.
 
 
 
  On Thu, Jun 23, 2011 at 3:44 PM, Ryan McFall mcfall.r...@gmail.com
 wrote:
   Are you referring to the create method on the client (in my
   RequestContext sublcass), or the create method in the Locator (which I
   believe would be run on the server)?
 
   I think you're referring to the client-side create method; my question
   about create is mostly what the server-side version is used for.
 
   The context of the question is this:  I have a Boolean property for my
   domain object.  If I RequestContext.create a proxy and then try to
   access the Boolean, I get null.  My domain object sets this property
   to a default value in its constructor, but the constructor is not
   called if all I do on the client is RequestContext.create the proxy.
   I was hoping to be able to write default values for properties in a
   single place.  The domain object on the server seems to be the most
   logical place.  Currently it seems that I need to save the new proxy
   on the server after RequestContext.create'ing the proxy for this to
   happen.
 
   Ryan
 
   On Jun 23, 3:36 pm, Kevin Anderson kev...@gmail.com wrote:
The purpose of the create method is to associate a request context
 with
   the
newly created object. It has to be done through the RequestContext so
   that
it can be managed and all the goodies that come with request factory
 can
   be
enforced.
 
   --
   You received 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.




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



Re: passing data between activities

2011-06-24 Thread David Chandler
http://code.google.com/webtoolkit/articles/mvp-architecture.html#events

Also search these archives for eventbus example. There are several. Apache
HupaMail source makes nice use of the EventBus, IIRC.

/dmc

On Fri, Jun 24, 2011 at 9:34 AM, gwtomni gwtomni gwto...@gmail.com wrote:

 thank you David for your quick response.

 can I have a link to an example using that technique.

 thank you very much.

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



GPE 2.3 live on Indigo

2011-06-24 Thread David Chandler
For those who might have missed it in other threads, Google Plugin for
Eclipse 2.3 is now available for Eclipse Indigo (3.7). See instructions
here:

http://code.google.com/eclipse/docs/getting_started.html

GPE 2.4 is currently in beta, release coming shortly.

/dmc

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



Re: How to parse the response of GWT app?

2011-06-24 Thread David Chandler
Sure, for a percentage of the settlement.

/dmc

On Fri, Jun 24, 2011 at 4:44 AM, redice redicem...@gmail.com wrote:

 I want to parse the response of GWT app like following:

 //

 OK[41,40,0,2,39,38,37,0,36,0,4,1,4,35,19,1,3,34,19,18,1,17,1,-17,33,0,710,1,0,4,0,28,12,11,0,32,31,8,7,30,19,18,1,17,1,2,16,29,0,700,1,0,4,1,28,12,11,0,27,26,8,7,25,19,18,1,17,1,-8,24,0,500,1,150,23,1,22,12,11,0,22,21,8,7,20,19,18,1,17,1,1,16,15,0,410,1,150,14,1,13,12,11,0,10,9,8,7,4,3,1,6,5,0,4,0,0,0,3,2,1,
 [gov.egov.erule.regs.shared.action.LoadDocumentDetailResult/
 3665673162,gov.egov.erule.regs.shared.models.DocumentDetailModel/
 1210760895,java.util.ArrayList/3821976829,,FDA-2010-
 P-0532,gov.egov.erule.regs.shared.models.DocketType/
 1323825229,gov.egov.erule.regs.shared.models.MetadataValueModel/
 1270413309,gov.egov.erule.regs.shared.models.MetadataModel/
 1441296737,Document Subtype,doc_sub_type,SUPPORTING  RELATED
 MATERIALS,1,doc_type,dk_subType_v,Used to further define the
 type of document,gov.egov.erule.regs.shared.models.MetadataModel
 $UiControlType/4187881057,com.extjs.gxt.ui.client.data.RpcMap/
 3441186752,value,java.lang.String/2004016611,CP-Citizen Petition
 (Supporting  Related
 Materials),Status,doc_status,doc_status_v,The current status
 of the document,Posted,Received
 Date,receive_date,doc_primary_dates,The date the agency received
 or created the document,October 04 2010, at 12:00 AM Eastern
 Daylight Time ,Date Posted,fr_publish_date,Date the document is
 posted to Regulations.gov,November 10 2010, at 12:00 AM Eastern
 Standard Time ,pdf,[Ljava.lang.String;/2600011424,FDA,FDA-2010-
 P-0532-0005,gov.egov.erule.regs.shared.models.DocumentType/
 2460330259,096480b68632,Attachment 4 - \Information Regarding
 Cigarettes with Characterizing Flavors Form 3734\ - [BBK Tobacco 
 Foods, LLP, (Levin Ginsburg Attorneys at Law) - Citizen Petition] ],
 0,7]


 Can you help me?

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



[gwt-contrib] GPE 2.3 live on Indigo

2011-06-24 Thread David Chandler
For those who might have missed it in other threads, Google Plugin for
Eclipse 2.3 is now available for Eclipse Indigo (3.7). See instructions
here:

http://code.google.com/eclipse/docs/getting_started.html

GPE 2.4 is currently in beta, release coming shortly.

/dmc

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

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

Re: extending requestContext fo common functionality?

2011-06-23 Thread David Chandler
Server-side inheritance of RequestFactory services with generics works
fine. See
http://turbomanage.wordpress.com/2011/03/25/using-gwt-requestfactory-with-objectify/

Client-side inheritance of RequestContext interfaces is coming in 2.4. See
http://code.google.com/p/google-web-toolkit/issues/detail?id=6234

Happy generifying!
/dmc

On Thu, Jun 23, 2011 at 10:18 AM, Elhanan elh.mailg...@gmail.com wrote:

 i know this has been asked before, but i'm not sure how to respond to
 it.

 given that requestContext and it's implementation parallal the Dao's
 of jpa, it's plausible to create a generic dao with entity methods
 like persist

 so i thought i would create a generic interface like
 CommonRequestContext that would extent the RequestContext and define
 persit method with the same signature of edit ... create etc. (using
 base proxy)

 i also thought about creating a common base class of the actuall dao
 that would define persist in a generic way.

 none of the options and alternatives i tried, worked because the gwt
 compile doesn't treat generics the same way as java..

 anyone tried something similar?

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



  1   2   3   4   5   >