Support for IE6 isn't feasible in this format?

2011-07-30 Thread Kurtt
In the section Image Sprites of this doc(http://code.google.com/
webtoolkit/doc/latest/DevGuideClientBundle.html#ImageResource), Google
says:

=

Support for IE6 isn't feasible in this format, because structural
changes to the DOM are necessary to implement a windowing effect.
Once it's possible to distinguish ie6 and ie7 in user.agent, we could
revisit support for ie6. In the current implementation, the ie6 code
won't render correctly, although is a purely cosmetic issue.

=

How do i understand why IE6 couldn't be supported? Does IE itself not
support CSS sprite? Does this mean I won't benefit from GWT's image
sprite feature if I want my application to run well on IE6?
Any reply will be appreciated.

-- 
You received 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: Support for IE6 isn't feasible in this format?

2011-07-30 Thread Jim Douglas
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/63ac58ecc27dee47

http://www.businessinsider.com/microsoft-launches-anti-marketing-campaign-for-ie6-2011-3

http://googleenterprise.blogspot.com/2010/01/modern-browsers-for-modern-applications.html

On Jul 29, 11:01 pm, Kurtt kurtt@gmail.com wrote:
 In the section Image Sprites of this doc(http://code.google.com/
 webtoolkit/doc/latest/DevGuideClientBundle.html#ImageResource), Google
 says:

 =

 Support for IE6 isn't feasible in this format, because structural
 changes to the DOM are necessary to implement a windowing effect.
 Once it's possible to distinguish ie6 and ie7 in user.agent, we could
 revisit support for ie6. In the current implementation, the ie6 code
 won't render correctly, although is a purely cosmetic issue.

 =

 How do i understand why IE6 couldn't be supported? Does IE itself not
 support CSS sprite? Does this mean I won't benefit from GWT's image
 sprite feature if I want my application to run well on IE6?
 Any reply will be appreciated.

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



Cell Table, Remote Paging Issues

2011-07-30 Thread BST

I am trying out Remote Paging with a Cell Table  Implementation of Abstract 
Pager . For now I am limiting the CellTable to 30 rows for data. My Pager 
takes care of fetching the next batch of 30 rows from RemoteService, when 
the next or previous button is clicked. 

I get 30 rows of data from the service, which I put into a list and set it 
to the ListDataProvider. The List can have only 30 rows of data at a time. I 
am doing all the calculations for calculating which page I am in, and when 
do I have to fetch the data.

Everything is working perfectly except for one scenario, I am on the last 
page which has only 20  rows, as the data is exhausted on the Server. 

When I go previous, I set the table Visible range to(20,10), 10 being the 
pageSize, then I get the previous batch of data so that when the 
listDataProvider gets the new List the table shows the last page. But I find 
that it always goes to the first page which is visible range (0,10)..

The reason is that when I set the Visible Range to 20,10 since present table 
count is only 20, the visible range is not set properly.. 

If i set the Visible Range after I get the data from the server, the problem 
is pretty much the same, since the server call for data is asynchronous and 
data comes much after I set the visible range.

Only option is to use a timer but I don't think that would be wise. Any 
ideas is much appreciated? I guess it is just about a better logic to handle 
to handle the paging. Mine seems to be lacking..

-- 
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/-/wb947E_CezoJ.
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 Page flows - want to start a open source project - thoughts

2011-07-30 Thread Alain Ekambi
Then what just you dont use JSP or  JSF  then ?
GWT follows a  different paradigm then those technologies.
I just cant see the benefit of similutationg JSP with GWT

2011/7/30 dreamer venugopal.vasire...@gmail.com

 What if we need to port very complex web app with 100's of jsp/html
 pages into GWT ?

 Yes. swing and gwt got lot of similarities. But loosing web advantages
 being on web may be not cool.
 yep Swing is Forms flow with thick client nature. There is a huge
 paradigm shift between these two worlds.
 as per my understanding GWT is trying to simulate thick client (yep
 swing) where all the forms/pages
 are at client and makes rpc to create Models thus MVP to refresh GUI.

 My thought is to preserve the thin client nature, when you are getting
 completely new page,
 just make URL / URI call to load javascript component. Server serves
 Model and View, on client presenter
 can update view, before rendering GUI. this way application stays very
 light weight , just like HTML pages,
 I beleive complex application with hundereds of jsp/html pages can be
 easily ported into GWT. sure AJAX reduces # of pages.
 but not down to one or two pages.

 Partial refreshes will will be done as usual.


 - venu
 -  http://schoolk12.appspot.com/

 On Jul 29, 7:34 am, Juan Pablo Gardella gardellajuanpa...@gmail.com
 wrote:
  Is swing applications pageflow? I think not. Perhaps you can look at
  architecture proposed in ProGWT
  book
 http://books.google.com/books?id=OG816JSZYVcCprintsec=frontcoverdq=...
  .
  In this architecture you don't need use a whole page.
 
  2011/7/29 dreamer venugopal.vasire...@gmail.com
 
 
 
 
 
 
 
   Hi,
 
   I want to start a new opensource project - GWT page flows - similar
   to struts.
 
   With my moderate GWT knowledge, I did not find any way to weave
   application with pages, though components are there.
 
   Not all ajax applications are single page apps.
 
   Here are my thoughts from very high level  -
   ===
   Use composites (widgets) as pages - build using designer.
   Weave all these pages with the help of something like struts-
   config.xml.
   ==
   It would have been great if GWT compilation is component by component
   more transparently. Some thing under the hood is happening on these
   lines. Even loading javascript into browser would have happened page
   by page, only when it is needed.
 
   Few questions:
 
   Is it possible to build page flow on the above lines using GWT as is?
   Are these features available in any other form, that I did not
   realize? (UiBinder seems slightly different than I want)
 
   Just I would like to brainstorm. Please share your thoughts.
   - venu
   -  http://schoolk12.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.

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



Re: Dynamically convert between TextBox and PasswordTextBox

2011-07-30 Thread BST
Just to get my understanding straight, on what event would you change the 
textBox to a PasswordBox?

If there is really a event can't you create a new passwordTextBox to replace 
the TextBox?

-- 
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/-/GZDInuSh5k8J.
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 touch ui

2011-07-30 Thread Alain Ekambi
Yes  it is  a GWT API for Sencha Touch.
Glad you guyz like it :)

2011/7/29 leandro borbosa leandrob...@googlemail.com

 Just tested it on  the IPad2 works great.
 It looks like Sencha Touch. Is it Sencha touch ?


 2011/7/29 Juan Pablo Gardella gardellajuanpa...@gmail.com

 Thanks Alain!! Wonderfull!!


 2011/7/29 Alain Ekambi jazzmatad...@googlemail.com

 Here is a preview of  gwt4touch 1.0  wich will be shipped in the next
 release of gwt4air.

 http://gwt4air.googlecode.com/svn/trunk/touch/GwtAir.html

 Like alway feedbacks  are really welcome

 Cheers,

 Alain


 2011/7/8 Gal Dolber gal.dol...@gmail.com

 great news! thanks Alain

 On Friday, July 8, 2011, Alain Ekambi jazzmatad...@googlemail.com
 wrote:
  Not Flash.Pure Gwt based solution
 
  2011/7/8 Gal Dolber gal.dol...@gmail.com
 
  Hi Alain,touch support with flash? do you mean only for android
 devices?
  On Fri, Jul 8, 2011 at 3:27 AM, Alain Ekambi 
 jazzmatad...@googlemail.com wrote:
  gwt4air 2.2 will actually have a Gwt Touch moduleStay tuned :)
 
 
 
 
  2011/7/8 Gal Dolber gal.dol...@gmail.com
 
 
 
 
  Is anyone doing some open source work on gwt + touch ui?
  This demo is totally incredible
 http://dev.sencha.com/deploy/touch/examples/kitchensink/
 
 
 
 
 
 
  We must have this implemented with gwt
  --
  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.
 
 
  --
 
  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.
 
 
  --
  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.
 
 
  --
 
  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.
 

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




 --

 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.


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

Re: Tested class changes not visible to test class using gwt-maven-plugin

2011-07-30 Thread Sébastien Tromp
I haven't tested it myself, but
thishttp://stackoverflow.com/questions/1427048/how-can-i-add-build-path-items-to-eclipse-3-5-using-relative-paths
seems
to deal with how to create relative paths. Another solution may be to edit
the .classpath manually.

If I don't move the external folder at the bottom, then I won't be able to
properly use Eclipse F3 / Go to definition functions - they will bring me to
the class file, not to the source, which renders navigation a bit
cumbersome.
There may be something around this too; it hasn't bothered me much (I'm on a
single-person project at the moment and can easily live with this), but if
you find something I'd be glad to know :)

Cheers,
-- 
Sébastien Tromp

2011/7/29 cri chuck.irvine...@gmail.com

 I like your workaround a little better than mine. It does result in a
 non project relative directory path in my .classpath file. We
 check .classpath files into svn and the non relative directory
 wouldn't match the directory setup of other users. I'm thinking that
 there may be a way to make this relative. Do you know how?

 I suppose that I'll find out soon enough, but that problems occur if
 you don't move the external classpath to the bottom of order and
 export?

 Thanks a lot Sebastien!

 Chuck


 On Jul 29, 12:14 pm, Sébastien Tromp sebastien.tr...@gmail.com
 wrote:
  I have the same issue, and am using a similar workaround. The only
  difference is that I add the external class folder to my Java build path.
  When I run JUnit tests, I make sure the class folder is at the top of the
  Order and Export list, and when in standard development I put it at the
  bottom.
 
  This way it works for all test cases - but still not a great workaround.
  --
  Sébastien Tromp
 
  2011/7/29 cri chuck.irvine...@gmail.com
 
 
 
 
 
 
 
   Can anyone help with this? (I know there is a separate mailing list
   for gwt-maven-plugin but I'm not sure it has a lot of subscribers.)
 
   Given that you have a JUnit test case class in /src/test/java/*/
   FooTest.java and a tested class /src/main/java/*/Foo.java. If you
   attempt run your test case in FooTest.java you will get a runtime
   error indicating that FooTest doesn't have access to the modified
   Foo.class file.
 
   Steps to reproduce.
   1) Generate a GWT project using the gwt-maven-plugin archetype.
   2) Import the project into Eclipse using new-Existing Projects into
   Workspace.
   3) Create class Foo.java in /src/main/java/**/client.
   4) Define a simple test method in Foo.java public hello(){return
   hello}
   5) Create class FooTest.java in /src/test/java/**/client.
   6) Define a test in FooTest.java:
   @Test public void testFooTest() {Foo foo = new Foo();
   assertEquals(hello, foo.hello());}
   7) Run the test case method. You will get a runtime message
   complaining that Foo can't be found.
 
   A workaround is to:
   1) open the junit run configuration.
   2) select the classpath tab.
   3) select user entries
   4) click advanced button
   5) select Add folders radio button
   6) click ok button
   7) add folder src/main/webapp/WEB-INF/classes
 
   Its not a great workaround since you have to do this with every test
   case run configuration.
 
   Another workaround is to run Project/clean on the project.
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post to this group, send email to
 google-web-toolkit@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.com.
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

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



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



Re: Cell Table, Remote Paging Issues

2011-07-30 Thread Andrei
This is a well known issue with Abstract Pager/SimplePager. I don't
like this behavior (and the look of the default SimplePager), so I
ended up writing my own pager along the following lines:

http://www.mail-archive.com/google-web-toolkit@googlegroups.com/msg62763.html

Basically, I had to overwrite lastPage(), firstPage(), nextPage() and
previousPage() with the behavior that I wanted.


On Jul 30, 3:29 am, BST babusri...@gmail.com wrote:
 I am trying out Remote Paging with a Cell Table  Implementation of Abstract
 Pager . For now I am limiting the CellTable to 30 rows for data. My Pager
 takes care of fetching the next batch of 30 rows from RemoteService, when
 the next or previous button is clicked.

 I get 30 rows of data from the service, which I put into a list and set it
 to the ListDataProvider. The List can have only 30 rows of data at a time. I
 am doing all the calculations for calculating which page I am in, and when
 do I have to fetch the data.

 Everything is working perfectly except for one scenario, I am on the last
 page which has only 20  rows, as the data is exhausted on the Server.

 When I go previous, I set the table Visible range to(20,10), 10 being the
 pageSize, then I get the previous batch of data so that when the
 listDataProvider gets the new List the table shows the last page. But I find
 that it always goes to the first page which is visible range (0,10)..

 The reason is that when I set the Visible Range to 20,10 since present table
 count is only 20, the visible range is not set properly..

 If i set the Visible Range after I get the data from the server, the problem
 is pretty much the same, since the server call for data is asynchronous and
 data comes much after I set the visible range.

 Only option is to use a timer but I don't think that would be wise. Any
 ideas is much appreciated? I guess it is just about a better logic to handle
 to handle the paging. Mine seems to be lacking..

-- 
You received 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: Support for IE6 isn't feasible in this format?

2011-07-30 Thread Kurtt
Oh, my bad, I've known about the png problem under IE6. Thanks a
million for your reply !
:-)


On Jul 30, 2:21 pm, Jim Douglas jdou...@basis.com wrote:
 http://groups.google.com/group/google-web-toolkit/browse_thread/threa...

 http://www.businessinsider.com/microsoft-launches-anti-marketing-camp...

 http://googleenterprise.blogspot.com/2010/01/modern-browsers-for-mode...

 On Jul 29, 11:01 pm, Kurtt kurtt@gmail.com wrote:







  In the section Image Sprites of this doc(http://code.google.com/
  webtoolkit/doc/latest/DevGuideClientBundle.html#ImageResource), Google
  says:

  =

  Support for IE6 isn't feasible in this format, because structural
  changes to the DOM are necessary to implement a windowing effect.
  Once it's possible to distinguish ie6 and ie7 in user.agent, we could
  revisit support for ie6. In the current implementation, the ie6 code
  won't render correctly, although is a purely cosmetic issue.

  =

  How do i understand why IE6 couldn't be supported? Does IE itself not
  support CSS sprite? Does this mean I won't benefit from GWT's image
  sprite feature if I want my application to run well on IE6?
  Any reply will be appreciated.

-- 
You received 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: Eclipse Analyzing Sources Slow

2011-07-30 Thread Alex Luya
I have installed this one,but problem still existed.
On Thu, 2011-07-28 at 20:30 -0700, gutto wrote:
 Pulled down an update for GPE today.
 
   Google Plugin for Eclipse 3.7   2.3.3.r37v201107211953
 com.google.gdt.eclipse.suite.e37.feature.feature.groupGoogle, Inc.
 
 Problem appears to have disappeared!
 
 On Jul 29, 11:27 am, gutto thomas.gutteri...@gmail.com wrote:
  Thanks, that's interesting. Obviously related. I had noticed that
  content assist in templates is slow the first time I tried to use it.
  I was quite pleased to see that in Indigo it will actually auto-
  complete, whereas in Helios it did nothing when I selected an entry
  from the suggestion list.
 
  On Jul 26, 8:17 pm, Thomas Broyer t.bro...@gmail.com wrote:
 
 
 
 
 
 
 
   They did:http://code.google.com/p/google-web-toolkit/issues/detail?id=5265
   Maybe not that many times, and *a priori* not at the same time (not when
   building the project, but when opening the XML files), but still.
 


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



DisclosurePanelImages alternative?

2011-07-30 Thread darkflame
DisclosurePanelImages is depreciated, so I wondered whats the correct
method for getting to the Disclosure panels default images?

(for, say, making a custom header)



My old code was;

final DisclosurePanelImages dpimages = (DisclosurePanelImages)
GWT.create(DisclosurePanelImages.class);

class DisclosurePanelHeader extends HorizontalPanel
{
AbstractImagePrototype closedImage =
dpimages.disclosurePanelClosed();
AbstractImagePrototype openImage =  
dpimages.disclosurePanelOpen();
Image arrowImage = closedImage.createImage();

public DisclosurePanelHeader()
{
..

-- 
You received 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 Page flows - want to start a open source project - thoughts

2011-07-30 Thread dreamer
Very good point. I have gone through same thought process.
After using designer to build composites (html pages), I came to
conclusion that this is what I want to build my web sites with.

Just drag and drop widgets and build pages, Yes we got new world for
page design and development, but web is
highly distributed network, it can never become thick client
application which just makes jdbc calls to server, or some thing like
that.

I was fascinated by JSF and its Idea, but it my fascination faded down
slowly after struggling few weeks.
But not with GWT and App engine.

I found what I am looking for, thing is how to make these better, so
that we can build more complex enterprise apps without much re-
engineering.

- venu
-  http://schoolk12.appspot.com/

On Jul 30, 12:38 am, Alain Ekambi jazzmatad...@googlemail.com wrote:
 Then what just you dont use JSP or  JSF  then ?
 GWT follows a  different paradigm then those technologies.
 I just cant see the benefit of similutationg JSP with GWT

 2011/7/30 dreamer venugopal.vasire...@gmail.com









  What if we need to port very complex web app with 100's of jsp/html
  pages into GWT ?

  Yes. swing and gwt got lot of similarities. But loosing web advantages
  being on web may be not cool.
  yep Swing is Forms flow with thick client nature. There is a huge
  paradigm shift between these two worlds.
  as per my understanding GWT is trying to simulate thick client (yep
  swing) where all the forms/pages
  are at client and makes rpc to create Models thus MVP to refresh GUI.

  My thought is to preserve the thin client nature, when you are getting
  completely new page,
  just make URL / URI call to load javascript component. Server serves
  Model and View, on client presenter
  can update view, before rendering GUI. this way application stays very
  light weight , just like HTML pages,
  I beleive complex application with hundereds of jsp/html pages can be
  easily ported into GWT. sure AJAX reduces # of pages.
  but not down to one or two pages.

  Partial refreshes will will be done as usual.

  - venu
  -  http://schoolk12.appspot.com/

  On Jul 29, 7:34 am, Juan Pablo Gardella gardellajuanpa...@gmail.com
  wrote:
   Is swing applications pageflow? I think not. Perhaps you can look at
   architecture proposed in ProGWT
   book
 http://books.google.com/books?id=OG816JSZYVcCprintsec=frontcoverdq=...
   .
   In this architecture you don't need use a whole page.

   2011/7/29 dreamer venugopal.vasire...@gmail.com

Hi,

I want to start a new opensource project - GWT page flows - similar
to struts.

With my moderate GWT knowledge, I did not find any way to weave
application with pages, though components are there.

Not all ajax applications are single page apps.

Here are my thoughts from very high level  -
===
Use composites (widgets) as pages - build using designer.
Weave all these pages with the help of something like struts-
config.xml.
==
It would have been great if GWT compilation is component by component
more transparently. Some thing under the hood is happening on these
lines. Even loading javascript into browser would have happened page
by page, only when it is needed.

Few questions:

Is it possible to build page flow on the above lines using GWT as is?
Are these features available in any other form, that I did not
realize? (UiBinder seems slightly different than I want)

Just I would like to brainstorm. Please share your thoughts.
- venu
-  http://schoolk12.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.

  --
  You received 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 API for  non Java based 
 platformshttp://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.



Re: GWT Page flows - want to start a open source project - thoughts

2011-07-30 Thread dreamer
I forgot to mention about JNLP based swing applications, I see lot
similarities with GWT.
Once difference is jar files will be downloaded instead of JavaScript
module. Ultimate jnlp app
runs in local jvm and makes some socket calls to server.

for sure, JNLP addressed issue of client deployment. Though JavaScript
runs on browser and makes ajax calls,
I am not seeing web concentric approach. All these efforts are leading
to P2P approach.

If I have to compare web with network models , I would say it works
like a start network model that way we can avoid
any initial downloads, cache issues, script engine version issues (we
got lot many jvm version issues with JNLP).
Just like web page build with pure HTML pages, user experience should
be same, no version issues, dll conflicts nothing.

I would even go one step forward and ask why java to javascript
compilation , why not
java to 'html+javascript' compilation ?  ( javascript for ajax).

DOM api should be able to generate HTML directly, where there is no
dynamic refresh, we don't need JavaScript.

- venu
-  http://schoolk12.appspot.com/



On Jul 30, 6:24 am, dreamer venugopal.vasire...@gmail.com wrote:
 Very good point. I have gone through same thought process.
 After using designer to build composites (html pages), I came to
 conclusion that this is what I want to build my web sites with.

 Just drag and drop widgets and build pages, Yes we got new world for
 page design and development, but web is
 highly distributed network, it can never become thick client
 application which just makes jdbc calls to server, or some thing like
 that.

 I was fascinated by JSF and its Idea, but it my fascination faded down
 slowly after struggling few weeks.
 But not with GWT and App engine.

 I found what I am looking for, thing is how to make these better, so
 that we can build more complex enterprise apps without much re-
 engineering.

 - venu
 -  http://schoolk12.appspot.com/

 On Jul 30, 12:38 am, Alain Ekambi jazzmatad...@googlemail.com wrote:







  Then what just you dont use JSP or  JSF  then ?
  GWT follows a  different paradigm then those technologies.
  I just cant see the benefit of similutationg JSP with GWT

  2011/7/30 dreamer venugopal.vasire...@gmail.com

   What if we need to port very complex web app with 100's of jsp/html
   pages into GWT ?

   Yes. swing and gwt got lot of similarities. But loosing web advantages
   being on web may be not cool.
   yep Swing is Forms flow with thick client nature. There is a huge
   paradigm shift between these two worlds.
   as per my understanding GWT is trying to simulate thick client (yep
   swing) where all the forms/pages
   are at client and makes rpc to create Models thus MVP to refresh GUI.

   My thought is to preserve the thin client nature, when you are getting
   completely new page,
   just make URL / URI call to load javascript component. Server serves
   Model and View, on client presenter
   can update view, before rendering GUI. this way application stays very
   light weight , just like HTML pages,
   I beleive complex application with hundereds of jsp/html pages can be
   easily ported into GWT. sure AJAX reduces # of pages.
   but not down to one or two pages.

   Partial refreshes will will be done as usual.

   - venu
   -  http://schoolk12.appspot.com/

   On Jul 29, 7:34 am, Juan Pablo Gardella gardellajuanpa...@gmail.com
   wrote:
Is swing applications pageflow? I think not. Perhaps you can look at
architecture proposed in ProGWT
book
  http://books.google.com/books?id=OG816JSZYVcCprintsec=frontcoverdq=...
.
In this architecture you don't need use a whole page.

2011/7/29 dreamer venugopal.vasire...@gmail.com

 Hi,

 I want to start a new opensource project - GWT page flows - similar
 to struts.

 With my moderate GWT knowledge, I did not find any way to weave
 application with pages, though components are there.

 Not all ajax applications are single page apps.

 Here are my thoughts from very high level  -
 ===
 Use composites (widgets) as pages - build using designer.
 Weave all these pages with the help of something like struts-
 config.xml.
 ==
 It would have been great if GWT compilation is component by component
 more transparently. Some thing under the hood is happening on these
 lines. Even loading javascript into browser would have happened page
 by page, only when it is needed.

 Few questions:

 Is it possible to build page flow on the above lines using GWT as is?
 Are these features available in any other form, that I did not
 realize? (UiBinder seems slightly different than I want)

 Just I would like to brainstorm. Please share your thoughts.
 - venu
 -  http://schoolk12.appspot.com/

 --
 You received this message because you are subscribed to the Google

Re: GWT Page flows - want to start a open source project - thoughts

2011-07-30 Thread Aidan O'Kelly
There is this,

http://claudiushauptmann.com/a-framework-for-gwt-multipage-applications.html

Which might be of interest to you.

On Fri, Jul 29, 2011 at 3:00 PM, dreamer venugopal.vasire...@gmail.com wrote:
 Hi,

 I want to start a new opensource project - GWT page flows - similar
 to struts.

 With my moderate GWT knowledge, I did not find any way to weave
 application with pages, though components are there.

 Not all ajax applications are single page apps.

 Here are my thoughts from very high level  -
 ===
 Use composites (widgets) as pages - build using designer.
 Weave all these pages with the help of something like struts-
 config.xml.
 ==
 It would have been great if GWT compilation is component by component
 more transparently. Some thing under the hood is happening on these
 lines. Even loading javascript into browser would have happened page
 by page, only when it is needed.


 Few questions:

 Is it possible to build page flow on the above lines using GWT as is?
 Are these features available in any other form, that I did not
 realize? (UiBinder seems slightly different than I want)

 Just I would like to brainstorm. Please share your thoughts.
 - venu
 -  http://schoolk12.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.



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



java to HTML+JavaScript cross compiler/generator - is this possible?

2011-07-30 Thread dreamer
Hi,

on the GWT lines, is it possible to cross compile/generate to HTML
+JavaScript.


Static ports to - HTML
Dynamic portions to - JavaScript

Please share your thoughts

-Venu
http://schoolk12.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.



Out of Memory when compiling for all browser combinations.

2011-07-30 Thread Abi
We are getting out of Memory issue when compiling our project for all
the browser combination.

Version using : GWT 2.3.0

Enabled  draftCompiletrue/draftCompile in pom.xml

extraJvmArgs -Xmx1024m -Djava.io.tmpdir=${basedir}/tmp/
extraJvmArgs

Can you please suggest why it is taking so much time to do a clean
compile?

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



Web-/Server Management Tool with GWT

2011-07-30 Thread any_nickname
Hi everybody!

I'm in charge of all the websites and web-plattforms in our company.
To make my and others life (maybe :-)) easier, I'm planning a kind of
web- and server management tool with GWT for our company.
I've read the whole GWT-Docs and at the moment I'm reading Essential
GWT by Federico Kereki.
Somehow I have some difficulties getting into the whole GWT-
stuff... :-)

Therefore I wanted to ask you, what you think about my plans and if
you have any suggestions on how to approach this. Also I'm interested
in suggestions, on how you would split up the modules.
In addition, there are a few functionalities I'm not even sure, if
they are possible to implement.

The tool should do the following:
- I thought of the following layout:
-- The tool could be split up into modules.
-- An overall tool is responsible for user authentication and
management and for embedding each of the modules. Also the settings
of each module are configured within the overall tool.

- The following modules I want to implement:
-- an already existing project management tool I wrote in PHP (this
I'm going to translate it into Java/GWT)
-- a calendar where each user can also share appointments with other
users
-- a task-tool (users can also share tasks)
-- we are using Microsoft Hosted Exchange - do you know, if it is
possible to make the HEX-Account accessible from within this tool? I
mean, the user would safe his credentials to the database and then,
each time, he logs in to the tool, he will be also authenticated to
HEX and he can access his E-Mails from the tool (without the need of
loading/authenticating another Website). I know, saving these
credentials to the database isn't really secure (maybe there are more
secure ways to do this).
-- Server Status: in this module I'd like to see different
information about the (Debian-)server, the tool is running on (like
CPU load, available memory, running services). And also the
possibility to start and stop some services (like Mail, FTP, Apache,
MySQL, etc.). In a future more advanced version, I could also imagine
registering all our servers and seeing their status.
-- module to manage one of our plattforms run on TYPO3 (nothing big,
just making DB-entries for a particular TYPO3-Extension)
-- Manage FTP-Users (PureFTP-Server)

The aim of the whole thing is also to provide a system, where a single
login is needed for all.

I'm curious about your comments.

Greets

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



Anonymous javascript function call using JSNI

2011-07-30 Thread RT
Hello friends,

If you have some idea how can I invoke Anonymous javascript function
using JSNI, then please let me know.

Thanks
Ritu

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



Dev Mode = Stale Cache?

2011-07-30 Thread clay
I'm using GWT 2.3, IntelliJ, and a Maven generated project.

It seems that dev mode rarely picks up my changes to static files.
When I make a simple change to a .css file, I often have lots of
trouble getting the dev mode to use the updated version of the file.
Even after stopping the dev mode, doing a complete rebuild, and
relaunching dev mode, I'm still seeing stale files that don't reflect
recent changes.

This issue is driving me nuts. Is there any way I can resolve?

-- 
You received 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/GPE 2.4.0 RC1 is available

2011-07-30 Thread James Wendel
To ask, does the DataGrid differ from CellTable only in the content
area being scrollable?  Are there are differences I'm not seeing?

Thanks,
-James

On Jul 27, 12:55 pm, David Chandler drfibona...@google.com wrote:
 GWT 2.4.0 adds a new DataGrid widget with scrollable data area and
 many enhancements to RequestFactory 
 (seehttp://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.



gwt python

2011-07-30 Thread fix3d
Is it possible to use python with gwt ?

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



Excluding Classes in a Legacy Application using GWT 2.3

2011-07-30 Thread Joe
1) My legacy application is setup like this:
com.app.model
com.app.exception
com.app.util
com.app.service
etc.

There are 20 classes in the model package, but I only want to
serialize and use 4 for RPC. The others have heavy code in them that
error out upon compilation.

2) There are references to apache log4j that the GWT cannot find
source for:
 No source code is available for type org.apache.log4j.Logger; did you
forget to inherit a required module?

This is the same for java.util.Calendar, org.junit.Assert, etc.
--

I have tried using the extend-configuration-property rpc.blacklist
like
extend-configuration-property name=rpc.blacklist value=-
java.util.Calendar/
But this seems to do nothing at compile time.

I have also tried to use the blacklist to exclude everything in the
model package except the classes I need, but the other classes still
error out.

Is there anyway to tell GWT to only compile certain classes, and
ignore others?

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



Web Workers in GWT

2011-07-30 Thread cidylle0
Hello,

I am currently playing around with GWT and I would like to implement
some HTML5 features with it like web workers. In the GWT documentation
I see that it supports a couple HTML5 features but no Web Workers. Are
there any libraries out there that would implement web workers in
GWT ? Or can anybody point me to a simple tutorial ? I would
appreciate. 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.



GWT project tree setup

2011-07-30 Thread Abi
We are re-writing our ERP system using Java/GWT/Spring.It is something
big. We would like to get some suggestion regarding the tree setup.

1. Application.gwt.xml
---

We have above 70 modules today. But all of it's having only one entry
point and is Application.gwt.xml.

But becuase of the same :

But each module seems we need to specify in main *.gwt.xml

eg.
source path='ecommerce/arn/client' /
source path='ecommerce/arn/shared' /
source path='ecommerce/bol/client' /
source path='ecommerce/bol/shared' /
source path='ecommerce/bkg/client' /
source path='ecommerce/bkg/shared' /

Instead of this, Is there any way to specify this source path using
file globs ?

for e.g:

ie,source path='ecommerce/*/{shared,client}' /

or ie,

source path='ecommerce/*/shared' /
source path='ecommerce/*/client' /

2. This is regarding css file.

Since each time if there is a change in the file, we seems need to
compile and run using GWT.
This is fine for a development server and via eclipse.

But for a very simple change in production server, may be just a font
issue,seems the entire tree need to compile. So we moved the resources
filed outside the .war file.

ie in a folder say

project/resources/css/bol/bol.css
project/resources/css/bol/arn.css
project/resources/images/a.png
project/resources/images/b.png

and applied the styles directly in the GWT files. But this found there
is no 'GWT-Cache' for images. Is there any fix around for this? Means
images are loading now like a normal website, taking time. We tried
GWT image pre-load as well, but not a good idea to re-load all the
images at single shot as there are many.


What is the best approach here else?

Please suggest.


















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



Layout and styling of HorizontalPanel/VerticalPanel

2011-07-30 Thread clay
The setStyleName method sets the CSS class of the generated table
element. Is there any way I can set the CSS class of the generated
td elements within the table?

What I want to do is add spacing *between* HorizontalPanel/
VerticalPanel cells but not around the outer edge of the
HorizontalPanel/VerticalPanel itself. I don't believe you can do this
at the table level in HTML. BTW, the setSpacing method sets the
cellspacing attribute of the table element which doesn't produce
the result that I'm looking for.

Also, if I may ask, why does VerticalPanel use table rather than
div? It seems to be there should be a Panel layout class that
generates a sequence of div elements, which is a very common layout
approach in raw HTML.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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 CSS URL Problem

2011-07-30 Thread clay
I have a CSS stylesheet defined at
projectroot/src/main/webapp/MyStyles.css
In my module's .gwt.xml file I reference this with:
stylesheet src='MyStyles.css'/

In dev mode, GWT generates the following CSS URL which results in a
404 not found error:
http://127.0.0.1:/module/MyStyles.css
The following URL works (when I try manually):
http://127.0.0.1:/MyStyles.css

In production mode, GWT generates the following CSS URL which results
in a 404 not found error:
http://localhost:8080/project/module/MyStyles.css
The following URL works (when I try manually):
http://localhost:8080/project/MyStyles.css

I'm using:

GWT 2.3
Project built with Maven archetype: mvn archetype:generate -
DarchetypeRepository=repo1.maven.org -
DarchetypeGroupId=org.codehaus.mojo -DarchetypeArtifactId=gwt-maven-
plugin -DarchetypeVersion=2.3.0-1
IntelliJ 10.5.x

What am I doing wrong? How can I resolve this?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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.2 and gwt-maps.jar not compatible

2011-07-30 Thread Alexander Bertram


On Jul 27, 3:20 am, André Nunes an...@hotmail.com wrote:
 Hi, how i can rebuild gwt-maps ?? I using gwt 2.3, what version of gwt-maps i
 should use ?
 tkxs !

I had the same issue, you can download from here:
You can download it from
http://nexus.bedatadriven.com/content/repositories/thirdparty/com/google/gwt/google-apis/gwt-maps/1.1.0/

If you use maven/ivy you can add it so:


dependency
groupIdcom.google.gwt.google-apis/groupId
artifactIdgwt-maps/artifactId
version1.1.0/version
classifiergwt23/classifier
scopeprovided/scope
/dependency

   repositories
repository
idbedatadriven-public/id
nameBedatadriven Public Repo/name
urlhttp://nexus.bedatadriven.com/content/groups/public/
url
snapshots
enabledtrue/enabled
/snapshots
/repository
/repositories

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



Google Code Tutorials and Documentation - GWT OAuth

2011-07-30 Thread Matthew Cote
Hello,
This message I hope finds its way to someone that works on the
Google Code Documentation and Tutorials for GWT for the greater good,
but I have taken a look at the posts and reply on this group and I am
aware there are many people out there that help others out with their
issues and I would appreciate that as well. I have been writing code
for less than 3 months, I normally move dirt with a shovel for a
living and I am determined to be a software engineer or something
cool like that in a year or so. I have created only one app in my
entire life, it is a chess program and it is not very good (yet!).
Just letting you geniuses out there know that I am an beginner and I
didn't go to college, I learned Java from a book I stole from the
library (it was written in 1995 and feels a bit dated, i.e. Java 2).
Note: I write using Eclipse.

THE ISSUE: GWT tutorials and documentation.

I am sure there are numerous reasons why you would use the GWT without
the app engine, but I am primarily interested in writing app engine
apps with the GWT - there is a annoying division of tutorials and
documentation regarding GWT and the Google App Engine. In the Google
App Engine site there are tutorials for OpenID, OAuth, and the like, I
cannot find a decent step by step tutorial for using OpenID with GWT.

I would really like to see more tutorials for the GWT - especially on
OpenID, but also - how to play audio, how to use the data store with
GWT, Single Sign-On, etc I guess what it comes down to is - How can I
apply the tutorials in App Engine Documentation to the GWT? Can the
GWT or App Engine doc site include an explanation of how the two work
together or how they relate - I want to use the GWT because it makes
writing client-side code very easy for me, I want to use the App
Engine because it makes deployment very easy for me. I want to use the
two together.

see for me App Engine is great because I can host my site for free, I
can publish my app on the Chrome Web Store. You got to try and imagine
how cool it is for a guy like me (im a loser and know it, just trying
to change it) to publish an application on Google Chrome Web Store - I
feel like I am learning things that can really change my life and for
a couple of months now its all I can think of.

to all those who may take the time to write me something - 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.



Re: gwt python

2011-07-30 Thread Matthew Cote
Short answer - no I am a beginner, I may be wrong, but from what i know GWT
is used exclusively for writing Java code that will be compiled to
Javascript. This helps because Java is OOP while Javascript is not, so with
GWT you can write classes or use ones that have been created by others. Hope
that helps. P.S. you may already know but you can write Python code for
Google App Engine

On Fri, Jul 29, 2011 at 3:13 AM, fix3d aleksandre...@gmail.com wrote:

 Is it possible to use python with gwt ?

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



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



Re: gwt python

2011-07-30 Thread Alain Ekambi
I also heard tha  there is a similat project like gwt for python. That turn
python code to JS.
You might want to check that one

2011/7/30 Matthew Cote mcjavalear...@gmail.com

 Short answer - no I am a beginner, I may be wrong, but from what i know GWT
 is used exclusively for writing Java code that will be compiled to
 Javascript. This helps because Java is OOP while Javascript is not, so with
 GWT you can write classes or use ones that have been created by others. Hope
 that helps. P.S. you may already know but you can write Python code for
 Google App Engine


 On Fri, Jul 29, 2011 at 3:13 AM, fix3d aleksandre...@gmail.com wrote:

 Is it possible to use python with gwt ?

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


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




-- 

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



ValueProxy Implementation Rule ?

2011-07-30 Thread Romain BIARD
Hi all,

I'm using valueProxies in order to give Criterias to a static method
find located in my ServerSide Entity.
Each ValueProxy had a setter and a getter.

But today I realized that only setter had to be used Client side so I
decided to remove all the getters on the Proxy but let them on
*.shared POJO which my proxy is a valueProxy for.

But It don't seems to work. The application is still compling but I'm
facing a RuntimeException:

Caused by: java.lang.IllegalArgumentException: searchKey
at
com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl.doCoderFor(AutoBeanCodexImpl.java:
524)
at
com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.setProperty(AbstractAutoBean.java:
276)

I didn't understand why but I suppose that RequestFactory don't manage
any ValueProxies without getters AND setters declared.

Maybe it has to call getters when object are created Server Side ???

If it is true, maybe this implementation rule should be documented.
Anybody in this case ?

-- 
You received 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 Page flows - want to start a open source project - thoughts

2011-07-30 Thread Brian Reilly
Note that the current build is for GWT = 2.1. If you're using 2.2+,
currently you'll need to get the source and build it against 2.2+ yourself.

I did some work a couple of months ago to create a jar that would work for
any version of GWT, but haven't committed it yet. In fact, that's the only
reason I hadn't already mentioned gwt-multipage in this thread. Now that it
has been mentioned, I'll make sure I commit my changes this weekend, at
least on a branch.

BTW, the project page is http://gwtmultipage.org/, and the google code page
is http://code.google.com/p/gwt-multipage/.


-- Brian


On Sat, Jul 30, 2011 at 10:42 AM, Aidan O'Kelly aida...@gmail.com wrote:

 There is this,


 http://claudiushauptmann.com/a-framework-for-gwt-multipage-applications.html

 Which might be of interest to you.

 On Fri, Jul 29, 2011 at 3:00 PM, dreamer venugopal.vasire...@gmail.com
 wrote:
  Hi,
 
  I want to start a new opensource project - GWT page flows - similar
  to struts.
 
  With my moderate GWT knowledge, I did not find any way to weave
  application with pages, though components are there.
 
  Not all ajax applications are single page apps.
 
  Here are my thoughts from very high level  -
  ===
  Use composites (widgets) as pages - build using designer.
  Weave all these pages with the help of something like struts-
  config.xml.
  ==
  It would have been great if GWT compilation is component by component
  more transparently. Some thing under the hood is happening on these
  lines. Even loading javascript into browser would have happened page
  by page, only when it is needed.
 
 
  Few questions:
 
  Is it possible to build page flow on the above lines using GWT as is?
  Are these features available in any other form, that I did not
  realize? (UiBinder seems slightly different than I want)
 
  Just I would like to brainstorm. Please share your thoughts.
  - venu
  -  http://schoolk12.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.
 
 

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



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



Re: ValueProxy Implementation Rule ?

2011-07-30 Thread Brian Reilly
I think this is a known bug. I saw it mentioned recently and thought that
there was a new issue filed, however I couldn't find it. I did however find
this older issue:

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

that appears to be related.

-- Brian


On Sat, Jul 30, 2011 at 11:32 AM, Romain BIARD biard.rom...@gmail.comwrote:

 Hi all,

 I'm using valueProxies in order to give Criterias to a static method
 find located in my ServerSide Entity.
 Each ValueProxy had a setter and a getter.

 But today I realized that only setter had to be used Client side so I
 decided to remove all the getters on the Proxy but let them on
 *.shared POJO which my proxy is a valueProxy for.

 But It don't seems to work. The application is still compling but I'm
 facing a RuntimeException:

 Caused by: java.lang.IllegalArgumentException: searchKey
at

 com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl.doCoderFor(AutoBeanCodexImpl.java:
 524)
at

 com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.setProperty(AbstractAutoBean.java:
 276)

 I didn't understand why but I suppose that RequestFactory don't manage
 any ValueProxies without getters AND setters declared.

 Maybe it has to call getters when object are created Server Side ???

 If it is true, maybe this implementation rule should be documented.
 Anybody in this case ?

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



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



Re: gwt python

2011-07-30 Thread Jeff Larsen
its called pyjamas

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



Re: ERROR: GWT 2.3 + gwt-maps

2011-07-30 Thread André Nunes
Hi, i prefer to use a official api v3, because i've a book that
explain very much the new things of this version. For use this annex,
I need to add this .jar in external jars in build path, and wich
inherits, script, or other things I need to add in .xml module ?
Can you explain this steps, that are before the compile time ? Because
use GWT, Google Maps, Eclipse, all this I've a knowledge, but doesn't
compile Gmaps.jar .
I really appreciate your help, and sorry for my bad english.



On 28 jul, 03:24, Bin Wu b...@bluepoint.net.au wrote:
 Qual biblioteca você realmente quer usar? O oficial do Google gwt-maps api
 ou a lib do 3o partido a partir 
 dehttp://code.google.com/p/gwt-google-maps-v3/?

 A lib do 3o partido apóia GMaps versão 3, mas já foi preterido por um
 ano. Então eu não sei muito sobre ele.

 O oficial do Google api parece suportar apenas mapas versão 2. Eu chequei o
 fonte e compilado com GWT2.3, até agora tudo que eu preciso só funciona bem. 
 Eu
 junto em anexo o jar lib com este post. Ver se isso ajuda.

 2011/7/27 André Nunes an...@ hotmail.com







  Oi, eu usando GWT 2.3 com gwt-maps.jar, mas eu tenho problemas, não
  Compilação, mas eu sigo todos os passos que guia.

  Uma parte dos problemas estão listados abaixo:

  [ERROR] Erros em 'jar: file: / C: / eclipse/gwt-maps-1.1.0/gwt-
  Maps3-0.2a.jar! / Com / google / gwt / maps / cliente / base / LatLng.java '
  [ERROR] Erro interno do compilador
  Java.lang.IncompatibleClassChangeError: interface encontrado
  Com.google.gwt.core.ext.typeinfo.JClassType, mas a classe era esperado
  Em

  Com.google.gwt.jsio.rebind.JSWrapperGenerator.generate 
  (JSWrapperGenerator.j ava:
  276)
  Em

  Com.google.gwt.core.ext.GeneratorExtWrapper.generate 
  (GeneratorExtWrapper.ja va:
  48)

  Alguém pode me ajudar?

  -
  Você recebeu esta mensagem porque está inscrito para o Google Groups
  Google Web Toolkit grupo.
  Para postar neste grupo, envie um e-mail para 
  google-web-toolkit@googlegroups.com.
  Para sair deste grupo, envie um email para
  Google-web-toolkit + unsubscr...@googlegroups.com.
  Para mais opções, visite este grupo em
 http://groups.google.com/group/google-web-toolkit?hl=en.



 gwt-maps.jar
 995KExibirdownload

-- 
You received 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: ValueProxy Implementation Rule ?

2011-07-30 Thread Ryan McFall
I posted a message about this recently, and was pointed to the bug
referenced by Brian below.

Currently you do need to have getters in order for AutoBean to know
the property exists.

Ryan

On Jul 30, 11:44 am, Brian Reilly brian.irei...@gmail.com wrote:
 I think this is a known bug. I saw it mentioned recently and thought that
 there was a new issue filed, however I couldn't find it. I did however find
 this older issue:

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

 that appears to be related.

 -- Brian

 On Sat, Jul 30, 2011 at 11:32 AM, Romain BIARD biard.rom...@gmail.comwrote:







  Hi all,

  I'm using valueProxies in order to give Criterias to a static method
  find located in my ServerSide Entity.
  Each ValueProxy had a setter and a getter.

  But today I realized that only setter had to be used Client side so I
  decided to remove all the getters on the Proxy but let them on
  *.shared POJO which my proxy is a valueProxy for.

  But It don't seems to work. The application is still compling but I'm
  facing a RuntimeException:

  Caused by: java.lang.IllegalArgumentException: searchKey
     at

  com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl.doCoderFor(Au 
  toBeanCodexImpl.java:
  524)
     at

  com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.setProperty(Ab 
  stractAutoBean.java:
  276)

  I didn't understand why but I suppose that RequestFactory don't manage
  any ValueProxies without getters AND setters declared.

  Maybe it has to call getters when object are created Server Side ???

  If it is true, maybe this implementation rule should be documented.
  Anybody in this case ?

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

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



Re: Google Code Tutorials and Documentation - GWT OAuth

2011-07-30 Thread Aidan O'Kelly
Well, if you've reached a point where you want to do stuff, that there
are no step-by-step tutorials for, you need to stop looking for
tutorials, and starting looking at reference material, ie, API
documentation, or documents/tutorials/papers on a specific technology.

You've touched upon it in your post, but GWT and App Engine are very
separate, and very different things. That the App Engine has a Java
runtime for you to run server-side code in, and that GWT compiles Java
to client-side code, is convenient, in that you stay in one language,
but that's all. Now, they DO make a good match, as they are both very
good at what they do (GWT on client-side, App-Engine on server-side)
but they are very different beasts, so you can't really 'apply
app-engine tutorials to GWT'.
  What you can do is, use them on App Engine, and then use the result
to power your GWT app. You might want to read up on the HTTP protocol,
Web Services / REST architecture, if you haven't already, as these are
the core protocols used to make your GWT app talk to your App Engine
back-end.

I'm pretty sure you understand that, but its important to have a clear
idea of your 'software stack'. What each component is, what it can 
can't do, what its responsible for. Perhaps make some toy projects
that only use App Engine(serving up static HTML), or only use GWT, to
get a better idea of where the separation is. (This works for any
other components/libraries you add later, it can be good to test them
in isolation before using them in tandem with other pieces of
software)

Just a quick note on OpenID.. I dont know it that well, I looked at
the specs a few years ago, and will be again soon, but unless you
really really need it, its probably best to stick with the Google
Authentication API at first, as its stable and a LOT less complicated
to get right.

Hope this helps, my main point is, API References/User Guides/Protocol
Specs  are your friends, when no-one has made a tutorial for a
specific case.
Good luck,
Aidan




On Sat, Jul 30, 2011 at 2:44 PM, Matthew Cote mcjavalear...@gmail.com wrote:

 I am sure there are numerous reasons why you would use the GWT without
 the app engine, but I am primarily interested in writing app engine
 apps with the GWT - there is a annoying division of tutorials and
 documentation regarding GWT and the Google App Engine. In the Google
 App Engine site there are tutorials for OpenID, OAuth, and the like, I
 cannot find a decent step by step tutorial for using OpenID with GWT.

 I would really like to see more tutorials for the GWT - especially on
 OpenID, but also - how to play audio, how to use the data store with
 GWT, Single Sign-On, etc I guess what it comes down to is - How can I
 apply the tutorials in App Engine Documentation to the GWT? Can the
 GWT or App Engine doc site include an explanation of how the two work
 together or how they relate - I want to use the GWT because it makes
 writing client-side code very easy for me, I want to use the App
 Engine because it makes deployment very easy for me. I want to use the
 two together.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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 Code Tutorials and Documentation - GWT OAuth

2011-07-30 Thread Matthew Cote
wow, thanks a lot for all that, I got to head out so I can't digest atm but
the sheer volume of advise here is incredible, gtg but Im gonna write back
later. thanks


On Sat, Jul 30, 2011 at 3:35 PM, Aidan O'Kelly aida...@gmail.com wrote:

 Well, if you've reached a point where you want to do stuff, that there
 are no step-by-step tutorials for, you need to stop looking for
 tutorials, and starting looking at reference material, ie, API
 documentation, or documents/tutorials/papers on a specific technology.

 You've touched upon it in your post, but GWT and App Engine are very
 separate, and very different things. That the App Engine has a Java
 runtime for you to run server-side code in, and that GWT compiles Java
 to client-side code, is convenient, in that you stay in one language,
 but that's all. Now, they DO make a good match, as they are both very
 good at what they do (GWT on client-side, App-Engine on server-side)
 but they are very different beasts, so you can't really 'apply
 app-engine tutorials to GWT'.
  What you can do is, use them on App Engine, and then use the result
 to power your GWT app. You might want to read up on the HTTP protocol,
 Web Services / REST architecture, if you haven't already, as these are
 the core protocols used to make your GWT app talk to your App Engine
 back-end.

 I'm pretty sure you understand that, but its important to have a clear
 idea of your 'software stack'. What each component is, what it can 
 can't do, what its responsible for. Perhaps make some toy projects
 that only use App Engine(serving up static HTML), or only use GWT, to
 get a better idea of where the separation is. (This works for any
 other components/libraries you add later, it can be good to test them
 in isolation before using them in tandem with other pieces of
 software)

 Just a quick note on OpenID.. I dont know it that well, I looked at
 the specs a few years ago, and will be again soon, but unless you
 really really need it, its probably best to stick with the Google
 Authentication API at first, as its stable and a LOT less complicated
 to get right.

 Hope this helps, my main point is, API References/User Guides/Protocol
 Specs  are your friends, when no-one has made a tutorial for a
 specific case.
 Good luck,
 Aidan




 On Sat, Jul 30, 2011 at 2:44 PM, Matthew Cote mcjavalear...@gmail.com
 wrote:

  I am sure there are numerous reasons why you would use the GWT without
  the app engine, but I am primarily interested in writing app engine
  apps with the GWT - there is a annoying division of tutorials and
  documentation regarding GWT and the Google App Engine. In the Google
  App Engine site there are tutorials for OpenID, OAuth, and the like, I
  cannot find a decent step by step tutorial for using OpenID with GWT.
 
  I would really like to see more tutorials for the GWT - especially on
  OpenID, but also - how to play audio, how to use the data store with
  GWT, Single Sign-On, etc I guess what it comes down to is - How can I
  apply the tutorials in App Engine Documentation to the GWT? Can the
  GWT or App Engine doc site include an explanation of how the two work
  together or how they relate - I want to use the GWT because it makes
  writing client-side code very easy for me, I want to use the App
  Engine because it makes deployment very easy for me. I want to use the
  two together.

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



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



Re: Google Code Tutorials and Documentation - GWT OAuth

2011-07-30 Thread Christian Goudreau
This open source book can also help you.

http://code.google.com/p/gwt-gae-book/

It is not up to date, it's on my todo list to update it and contribute to it
by the end of october.

Cheers,

On Sat, Jul 30, 2011 at 3:39 PM, Matthew Cote mcjavalear...@gmail.comwrote:

 wow, thanks a lot for all that, I got to head out so I can't digest atm but
 the sheer volume of advise here is incredible, gtg but Im gonna write back
 later. thanks


 On Sat, Jul 30, 2011 at 3:35 PM, Aidan O'Kelly aida...@gmail.com wrote:

 Well, if you've reached a point where you want to do stuff, that there
 are no step-by-step tutorials for, you need to stop looking for
 tutorials, and starting looking at reference material, ie, API
 documentation, or documents/tutorials/papers on a specific technology.

 You've touched upon it in your post, but GWT and App Engine are very
 separate, and very different things. That the App Engine has a Java
 runtime for you to run server-side code in, and that GWT compiles Java
 to client-side code, is convenient, in that you stay in one language,
 but that's all. Now, they DO make a good match, as they are both very
 good at what they do (GWT on client-side, App-Engine on server-side)
 but they are very different beasts, so you can't really 'apply
 app-engine tutorials to GWT'.
  What you can do is, use them on App Engine, and then use the result
 to power your GWT app. You might want to read up on the HTTP protocol,
 Web Services / REST architecture, if you haven't already, as these are
 the core protocols used to make your GWT app talk to your App Engine
 back-end.

 I'm pretty sure you understand that, but its important to have a clear
 idea of your 'software stack'. What each component is, what it can 
 can't do, what its responsible for. Perhaps make some toy projects
 that only use App Engine(serving up static HTML), or only use GWT, to
 get a better idea of where the separation is. (This works for any
 other components/libraries you add later, it can be good to test them
 in isolation before using them in tandem with other pieces of
 software)

 Just a quick note on OpenID.. I dont know it that well, I looked at
 the specs a few years ago, and will be again soon, but unless you
 really really need it, its probably best to stick with the Google
 Authentication API at first, as its stable and a LOT less complicated
 to get right.

 Hope this helps, my main point is, API References/User Guides/Protocol
 Specs  are your friends, when no-one has made a tutorial for a
 specific case.
 Good luck,
 Aidan




 On Sat, Jul 30, 2011 at 2:44 PM, Matthew Cote mcjavalear...@gmail.com
 wrote:

  I am sure there are numerous reasons why you would use the GWT without
  the app engine, but I am primarily interested in writing app engine
  apps with the GWT - there is a annoying division of tutorials and
  documentation regarding GWT and the Google App Engine. In the Google
  App Engine site there are tutorials for OpenID, OAuth, and the like, I
  cannot find a decent step by step tutorial for using OpenID with GWT.
 
  I would really like to see more tutorials for the GWT - especially on
  OpenID, but also - how to play audio, how to use the data store with
  GWT, Single Sign-On, etc I guess what it comes down to is - How can I
  apply the tutorials in App Engine Documentation to the GWT? Can the
  GWT or App Engine doc site include an explanation of how the two work
  together or how they relate - I want to use the GWT because it makes
  writing client-side code very easy for me, I want to use the App
  Engine because it makes deployment very easy for me. I want to use the
  two together.

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




-- 
Christian Goudreau
www.arcbees.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.



Celltable Cell Grouping (Rowspan, Colspan)

2011-07-30 Thread P.G.Taboada
Hi,

any tips on how to implement this?

brgds.

Papick

-- 
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/-/CfRqwR3K7E0J.
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: Celltable Cell Grouping (Rowspan, Colspan)

2011-07-30 Thread P.G.Taboada
Just found the answer.

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


On 31 Jul., 00:13, P.G.Taboada pgtabo...@googlemail.com wrote:
 Hi,

 any tips on how to implement this?

 brgds.

 Papick

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: Support for IE6 isn't feasible in this format?

2011-07-30 Thread Jim Douglas
Kurtt,

What's your situation with IE6?  Do you develop software for corporate
users who refuse to upgrade?

Did you look at the other links?  Google posted that note about IE6
more than a year and a half ago, and Microsoft is literally begging
people to stop using IE6.

http://www.ie6countdown.com/

This story is just funny:

http://edition.cnn.com/2011/TECH/web/07/29/internet.explorer.dumb/

On Jul 30, 5:22 am, Kurtt kurtt@gmail.com wrote:
 Oh, my bad, I've known about the png problem under IE6. Thanks a
 million for your reply !
 :-)

 On Jul 30, 2:21 pm, Jim Douglas jdou...@basis.com wrote:







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

 http://www.businessinsider.com/microsoft-launches-anti-marketing-camp...

 http://googleenterprise.blogspot.com/2010/01/modern-browsers-for-mode...

  On Jul 29, 11:01 pm, Kurtt kurtt@gmail.com wrote:

   In the section Image Sprites of this doc(http://code.google.com/
   webtoolkit/doc/latest/DevGuideClientBundle.html#ImageResource), Google
   says:

   =

   Support for IE6 isn't feasible in this format, because structural
   changes to the DOM are necessary to implement a windowing effect.
   Once it's possible to distinguish ie6 and ie7 in user.agent, we could
   revisit support for ie6. In the current implementation, the ie6 code
   won't render correctly, although is a purely cosmetic issue.

   =

   How do i understand why IE6 couldn't be supported? Does IE itself not
   support CSS sprite? Does this mean I won't benefit from GWT's image
   sprite feature if I want my application to run well on IE6?
   Any reply will be appreciated.

-- 
You received 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 Code Tutorials and Documentation - GWT OAuth

2011-07-30 Thread Matthew Cote
For Aidan O'Kelly -I just got back from that thing and I couldn't wait to go
through this email slowly. I think the main points of this email should be
posted on the getting started sites of  App Engine and GWT - its brilliant,
I mean I can't explain to you how perfect this is for me, you have surely
saved me time. Thanks - I am serious,

 Now, they DO make a good match, as they are both very
good at what they do (GWT on client-side, App-Engine on server-side)
but they are very different beasts, so you can't really 'apply
app-engine tutorials to GWT'.
 What you can do is, use them on App Engine, and then use the result
to power your GWT app. You might want to read up on the HTTP protocol,
Web Services / REST architecture, if you haven't already, as these are
the core protocols used to make your GWT app talk to your App Engine
back-end.

I needed that, I can't wait to get into it, it makes perfect sense too, my
client-side code is done and what I want to do is use the app engine
server-side. Now stop me if I am wrong, lets say I want to use only google
technology, cause it rocks and its free, and I want to create a rich
client-side UI that communicates with the cloud - and I mean google's
cloud - then I want to use the GWT and the App Engine together like
described above? If this is the case, then i feel there ought to be more on
the joining of the two in the Tutorials - like a Advanced Tutorial. However,
I rather like the idea of figuring it out on my own as you also described in
your email, I am sure to learn more and for me that is what it is all about,
but you definitely set me in the right direction. Peace.



On Sat, Jul 30, 2011 at 3:35 PM, Aidan O'Kelly aida...@gmail.com wrote:

 Well, if you've reached a point where you want to do stuff, that thereIf
 are no step-by-step tutorials for, you need to stop looking for
 tutorials, and starting looking at reference material, ie, API
 documentation, or documents/tutorials/papers on a specific technology.

 You've touched upon it in your post, but GWT and App Engine are very
 separate, and very different things. That the App Engine has a Java
 runtime for you to run server-side code in, and that GWT compiles Java
 to client-side code, is convenient, in that you stay in one language,
 but that's all. Now, they DO make a good match, as they are both very
 good at what they do (GWT on client-side, App-Engine on server-side)
 but they are very different beasts, so you can't really 'apply
 app-engine tutorials to GWT'.
  What you can do is, use them on App Engine, and then use the result
 to power your GWT app. You might want to read up on the HTTP protocol,
 Web Services / REST architecture, if you haven't already, as these are
 the core protocols used to make your GWT app talk to your App Engine
 back-end.

 I'm pretty sure you understand that, but its important to have a clear
 idea of your 'software stack'. What each component is, what it can 
 can't do, what its responsible for. Perhaps make some toy projects
 that only use App Engine(serving up static HTML), or only use GWT, to
 get a better idea of where the separation is. (This works for any
 other components/libraries you add later, it can be good to test them
 in isolation before using them in tandem with other pieces of
 software)

 Just a quick note on OpenID.. I dont know it that well, I looked at
 the specs a few years ago, and will be again soon, but unless you
 really really need it, its probably best to stick with the Google
 Authentication API at first, as its stable and a LOT less complicated
 to get right.

 Hope this helps, my main point is, API References/User Guides/Protocol
 Specs  are your friends, when no-one has made a tutorial for a
 specific case.
 Good luck,
 Aidan




 On Sat, Jul 30, 2011 at 2:44 PM, Matthew Cote mcjavalear...@gmail.com
 wrote:

  I am sure there are numerous reasons why you would use the GWT without
  the app engine, but I am primarily interested in writing app engine
  apps with the GWT - there is a annoying division of tutorials and
  documentation regarding GWT and the Google App Engine. In the Google
  App Engine site there are tutorials for OpenID, OAuth, and the like, I
  cannot find a decent step by step tutorial for using OpenID with GWT.
 
  I would really like to see more tutorials for the GWT - especially on
  OpenID, but also - how to play audio, how to use the data store with
  GWT, Single Sign-On, etc I guess what it comes down to is - How can I
  apply the tutorials in App Engine Documentation to the GWT? Can the
  GWT or App Engine doc site include an explanation of how the two work
  together or how they relate - I want to use the GWT because it makes
  writing client-side code very easy for me, I want to use the App
  Engine because it makes deployment very easy for me. I want to use the
  two together.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email 

Re: Google Code Tutorials and Documentation - GWT OAuth

2011-07-30 Thread Bala Sankar
. figuring it out on your own.

Just an observation:

Google is a pathless land.  It is not a highway.

Most of the time, companies build highway and developers just follow the
users guide and build applications to fit on that highway.
Development will be much easier and simpler; but creativity and innovations
are limited by the width and breadth of the highway.
Moreover, all applications may look similar; may be on different flavors.
Many vehicles are on the highway;
Flavors may be different; sports vehicle; hybrid; bike, van, suv, limo,
truck and bus.
But all are just vehicles.

In a pathless land, developers have total and complete freedom.
No boundary. It is a pathless land.
You build totally new and fresh applications.

Figuring it out on your own - gives you total and complete freedom.
Come up with creative and innovative idea.
Identify the API and try to use them;
If the current API doesn't meet your requirements, ask for new API;
Google may build it for you.

Again, Google is a pathless land.
Enjoy the total and complete freedom.

Regards,
Bala



On Sat, Jul 30, 2011 at 5:14 PM, Matthew Cote mcjavalear...@gmail.comwrote:

 For Aidan O'Kelly -I just got back from that thing and I couldn't wait to
 go through this email slowly. I think the main points of this email should
 be posted on the getting started sites of  App Engine and GWT - its
 brilliant, I mean I can't explain to you how perfect this is for me, you
 have surely saved me time. Thanks - I am serious,

  Now, they DO make a good match, as they are both very
 good at what they do (GWT on client-side, App-Engine on server-side)
 but they are very different beasts, so you can't really 'apply
 app-engine tutorials to GWT'.
  What you can do is, use them on App Engine, and then use the result
 to power your GWT app. You might want to read up on the HTTP protocol,
 Web Services / REST architecture, if you haven't already, as these are
 the core protocols used to make your GWT app talk to your App Engine
 back-end.

 I needed that, I can't wait to get into it, it makes perfect sense too, my
 client-side code is done and what I want to do is use the app engine
 server-side. Now stop me if I am wrong, lets say I want to use only google
 technology, cause it rocks and its free, and I want to create a rich
 client-side UI that communicates with the cloud - and I mean google's
 cloud - then I want to use the GWT and the App Engine together like
 described above? If this is the case, then i feel there ought to be more on
 the joining of the two in the Tutorials - like a Advanced Tutorial. However,
 I rather like the idea of figuring it out on my own as you also described in
 your email, I am sure to learn more and for me that is what it is all about,
 but you definitely set me in the right direction. Peace.



 On Sat, Jul 30, 2011 at 3:35 PM, Aidan O'Kelly aida...@gmail.com wrote:

 Well, if you've reached a point where you want to do stuff, that thereIf

 are no step-by-step tutorials for, you need to stop looking for
 tutorials, and starting looking at reference material, ie, API
 documentation, or documents/tutorials/papers on a specific technology.

 You've touched upon it in your post, but GWT and App Engine are very
 separate, and very different things. That the App Engine has a Java
 runtime for you to run server-side code in, and that GWT compiles Java
 to client-side code, is convenient, in that you stay in one language,
 but that's all. Now, they DO make a good match, as they are both very
 good at what they do (GWT on client-side, App-Engine on server-side)
 but they are very different beasts, so you can't really 'apply
 app-engine tutorials to GWT'.
  What you can do is, use them on App Engine, and then use the result
 to power your GWT app. You might want to read up on the HTTP protocol,
 Web Services / REST architecture, if you haven't already, as these are
 the core protocols used to make your GWT app talk to your App Engine
 back-end.

 I'm pretty sure you understand that, but its important to have a clear
 idea of your 'software stack'. What each component is, what it can 
 can't do, what its responsible for. Perhaps make some toy projects
 that only use App Engine(serving up static HTML), or only use GWT, to
 get a better idea of where the separation is. (This works for any
 other components/libraries you add later, it can be good to test them
 in isolation before using them in tandem with other pieces of
 software)

 Just a quick note on OpenID.. I dont know it that well, I looked at
 the specs a few years ago, and will be again soon, but unless you
 really really need it, its probably best to stick with the Google
 Authentication API at first, as its stable and a LOT less complicated
 to get right.

 Hope this helps, my main point is, API References/User Guides/Protocol
 Specs  are your friends, when no-one has made a tutorial for a
 specific case.
 Good luck,
 Aidan




 On Sat, Jul 30, 2011 at 2:44 PM, Matthew Cote 

Re: RequestFactoryEditorDriver example?

2011-07-30 Thread Nick
Vasily, can you post the updated snippet for PhoneListEditor and related UI 
code.

-- 
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/-/VlHFEGDAeWwJ.
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 python

2011-07-30 Thread Saeed Zarinfam
Hi
You can use python only on server side of a GWT application and then
you will not be able to use RPC mechanism (because of using python on
server side ).

-- 
You received 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: Cell Table, Remote Paging Issues

2011-07-30 Thread BST

I didn't think of overriding last Page  first Page. Thanks for the 
pointer.. I shall look into the link.

-- 
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/-/S4Q4OUsM4y8J.
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] [google-web-toolkit] r10482 committed - Improve error message when a RequestFactory 2.3 request is received....

2011-07-30 Thread codesite-noreply

Revision: 10482
Author:   b...@google.com
Date: Sat Jul 30 02:03:17 2011
Log:  Improve error message when a RequestFactory 2.3 request is  
received.

Issue 6628.
http://gwt-code-reviews.appspot.com/1503803/
Patch by: bobv
Review by: rjrjr

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

Modified:
  
/trunk/user/src/com/google/web/bindery/requestfactory/server/SimpleRequestProcessor.java
  
/trunk/user/test/com/google/web/bindery/requestfactory/gwt/client/RequestFactoryTest.java


===
---  
/trunk/user/src/com/google/web/bindery/requestfactory/server/SimpleRequestProcessor.java	 
Fri Jun 17 03:15:41 2011
+++  
/trunk/user/src/com/google/web/bindery/requestfactory/server/SimpleRequestProcessor.java	 
Sat Jul 30 02:03:17 2011

@@ -126,7 +126,6 @@
 try {
   process(req, responseBean.as());
 } catch (ReportableException e) {
-  e.printStackTrace();
   // Create a new response envelope, since the state is unknown
   responseBean = FACTORY.response();
   responseBean.as().setGeneralFailure(createFailureMessage(e).as());
@@ -200,7 +199,12 @@
 final RequestState source = new RequestState(service);

 // Make sure the RequestFactory is valid
-service.resolveRequestFactory(req.getRequestFactory());
+String requestFactoryToken = req.getRequestFactory();
+if (requestFactoryToken == null) {
+  // Tell old clients to go away
+  throw new ReportableException(The client payload version is out of  
sync with the server);

+}
+service.resolveRequestFactory(requestFactoryToken);

 // Apply operations
 processOperationMessages(source, req);
===
---  
/trunk/user/test/com/google/web/bindery/requestfactory/gwt/client/RequestFactoryTest.java	 
Fri Jun 17 03:15:41 2011
+++  
/trunk/user/test/com/google/web/bindery/requestfactory/gwt/client/RequestFactoryTest.java	 
Sat Jul 30 02:03:17 2011

@@ -15,6 +15,7 @@
  */
 package com.google.web.bindery.requestfactory.gwt.client;

+import com.google.web.bindery.autobean.shared.AutoBeanCodex;
 import com.google.web.bindery.requestfactory.shared.EntityProxy;
 import com.google.web.bindery.requestfactory.shared.EntityProxyChange;
 import com.google.web.bindery.requestfactory.shared.EntityProxyId;
@@ -23,6 +24,8 @@
 import com.google.web.bindery.requestfactory.shared.Receiver;
 import com.google.web.bindery.requestfactory.shared.Request;
 import com.google.web.bindery.requestfactory.shared.RequestContext;
+import com.google.web.bindery.requestfactory.shared.RequestTransport;
+import  
com.google.web.bindery.requestfactory.shared.RequestTransport.TransportReceiver;

 import com.google.web.bindery.requestfactory.shared.ServerFailure;
 import com.google.web.bindery.requestfactory.shared.SimpleBarProxy;
 import com.google.web.bindery.requestfactory.shared.SimpleBarRequest;
@@ -31,7 +34,10 @@
 import com.google.web.bindery.requestfactory.shared.SimpleFooRequest;
 import com.google.web.bindery.requestfactory.shared.SimpleValueContext;
 import com.google.web.bindery.requestfactory.shared.SimpleValueProxy;
+import  
com.google.web.bindery.requestfactory.shared.impl.MessageFactoryHolder;
 import  
com.google.web.bindery.requestfactory.shared.impl.SimpleEntityProxyId;
+import  
com.google.web.bindery.requestfactory.shared.messages.ResponseMessage;
+import  
com.google.web.bindery.requestfactory.shared.messages.ServerFailureMessage;


 import java.math.BigDecimal;
 import java.math.BigInteger;
@@ -563,6 +569,49 @@
   }
 });
   }
+
+  /**
+   * Tests the server behavior when an empty JSON object is sent.
+   */
+  public void testEmptyRequestBlankObject() {
+delayTestFinish(DELAY_TEST_FINISH);
+RequestTransport transport = req.getRequestTransport();
+transport.send({}, new TransportReceiver() {
+  @Override
+  public void onTransportFailure(ServerFailure failure) {
+fail();
+  }
+
+  @Override
+  public void onTransportSuccess(String payload) {
+ResponseMessage resp =
+AutoBeanCodex.decode(MessageFactoryHolder.FACTORY,  
ResponseMessage.class, payload).as();

+ServerFailureMessage failure = resp.getGeneralFailure();
+assertNotNull(failure);
+finishTestAndReset();
+  }
+});
+  }
+
+  /**
+   * Tests the server behavior when a zero-length payload is sent.
+   */
+  public void testEmptyRequestZeroLength() {
+delayTestFinish(DELAY_TEST_FINISH);
+RequestTransport transport = req.getRequestTransport();
+transport.send(, new TransportReceiver() {
+  @Override
+  public void onTransportFailure(ServerFailure failure) {
+// Expect a 500 since the payload is malformed
+finishTestAndReset();
+  }
+
+  @Override
+  public void onTransportSuccess(String payload) {
+fail(Should not have succeeded);
+  }
+});
+  }

   /**
* Tests that enum values used only as method parameters in a  

[gwt-contrib] [google-web-toolkit] r10483 committed - Integrate r10482 into GWT 2.4 branch....

2011-07-30 Thread codesite-noreply

Revision: 10483
Author:   b...@google.com
Date: Sat Jul 30 02:20:04 2011
Log:  Integrate r10482 into GWT 2.4 branch.
Issue 6628.

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

Modified:
  
/releases/2.4/user/src/com/google/web/bindery/requestfactory/server/SimpleRequestProcessor.java
  
/releases/2.4/user/test/com/google/web/bindery/requestfactory/gwt/client/RequestFactoryTest.java


===
---  
/releases/2.4/user/src/com/google/web/bindery/requestfactory/server/SimpleRequestProcessor.java	 
Fri Jun 17 05:16:47 2011
+++  
/releases/2.4/user/src/com/google/web/bindery/requestfactory/server/SimpleRequestProcessor.java	 
Sat Jul 30 02:20:04 2011

@@ -126,7 +126,6 @@
 try {
   process(req, responseBean.as());
 } catch (ReportableException e) {
-  e.printStackTrace();
   // Create a new response envelope, since the state is unknown
   responseBean = FACTORY.response();
   responseBean.as().setGeneralFailure(createFailureMessage(e).as());
@@ -200,7 +199,12 @@
 final RequestState source = new RequestState(service);

 // Make sure the RequestFactory is valid
-service.resolveRequestFactory(req.getRequestFactory());
+String requestFactoryToken = req.getRequestFactory();
+if (requestFactoryToken == null) {
+  // Tell old clients to go away
+  throw new ReportableException(The client payload version is out of  
sync with the server);

+}
+service.resolveRequestFactory(requestFactoryToken);

 // Apply operations
 processOperationMessages(source, req);
===
---  
/releases/2.4/user/test/com/google/web/bindery/requestfactory/gwt/client/RequestFactoryTest.java	 
Fri Jun 17 05:16:47 2011
+++  
/releases/2.4/user/test/com/google/web/bindery/requestfactory/gwt/client/RequestFactoryTest.java	 
Sat Jul 30 02:20:04 2011

@@ -15,6 +15,7 @@
  */
 package com.google.web.bindery.requestfactory.gwt.client;

+import com.google.web.bindery.autobean.shared.AutoBeanCodex;
 import com.google.web.bindery.requestfactory.shared.EntityProxy;
 import com.google.web.bindery.requestfactory.shared.EntityProxyChange;
 import com.google.web.bindery.requestfactory.shared.EntityProxyId;
@@ -23,6 +24,8 @@
 import com.google.web.bindery.requestfactory.shared.Receiver;
 import com.google.web.bindery.requestfactory.shared.Request;
 import com.google.web.bindery.requestfactory.shared.RequestContext;
+import com.google.web.bindery.requestfactory.shared.RequestTransport;
+import  
com.google.web.bindery.requestfactory.shared.RequestTransport.TransportReceiver;

 import com.google.web.bindery.requestfactory.shared.ServerFailure;
 import com.google.web.bindery.requestfactory.shared.SimpleBarProxy;
 import com.google.web.bindery.requestfactory.shared.SimpleBarRequest;
@@ -31,7 +34,10 @@
 import com.google.web.bindery.requestfactory.shared.SimpleFooRequest;
 import com.google.web.bindery.requestfactory.shared.SimpleValueContext;
 import com.google.web.bindery.requestfactory.shared.SimpleValueProxy;
+import  
com.google.web.bindery.requestfactory.shared.impl.MessageFactoryHolder;
 import  
com.google.web.bindery.requestfactory.shared.impl.SimpleEntityProxyId;
+import  
com.google.web.bindery.requestfactory.shared.messages.ResponseMessage;
+import  
com.google.web.bindery.requestfactory.shared.messages.ServerFailureMessage;


 import java.math.BigDecimal;
 import java.math.BigInteger;
@@ -563,6 +569,49 @@
   }
 });
   }
+
+  /**
+   * Tests the server behavior when an empty JSON object is sent.
+   */
+  public void testEmptyRequestBlankObject() {
+delayTestFinish(DELAY_TEST_FINISH);
+RequestTransport transport = req.getRequestTransport();
+transport.send({}, new TransportReceiver() {
+  @Override
+  public void onTransportFailure(ServerFailure failure) {
+fail();
+  }
+
+  @Override
+  public void onTransportSuccess(String payload) {
+ResponseMessage resp =
+AutoBeanCodex.decode(MessageFactoryHolder.FACTORY,  
ResponseMessage.class, payload).as();

+ServerFailureMessage failure = resp.getGeneralFailure();
+assertNotNull(failure);
+finishTestAndReset();
+  }
+});
+  }
+
+  /**
+   * Tests the server behavior when a zero-length payload is sent.
+   */
+  public void testEmptyRequestZeroLength() {
+delayTestFinish(DELAY_TEST_FINISH);
+RequestTransport transport = req.getRequestTransport();
+transport.send(, new TransportReceiver() {
+  @Override
+  public void onTransportFailure(ServerFailure failure) {
+// Expect a 500 since the payload is malformed
+finishTestAndReset();
+  }
+
+  @Override
+  public void onTransportSuccess(String payload) {
+fail(Should not have succeeded);
+  }
+});
+  }

   /**
* Tests that enum values used only as method parameters in a  
RequestContext


--