Re: Why not put FooService and FooServiceAsync in one file?

2010-08-22 Thread Stefan Bachert
 And, IIUC, you CAN'T put the client and server code in the same
 package.

 Greg


Hi Greg,

shared code IS running on both sides.
It it easier to separate when code is in different packages.

Stefan Bachert
http://gwtworld.de

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



Re: mobilescrollpanel entry point?

2010-08-22 Thread Stefan Bachert
Hi,

there is no need for widgets to have an entry point.
Your app need an entry point.

Stefan Bachert
http://gwtworld.de


On 20 Aug., 15:37, asianCoolz second.co...@gmail.com wrote:
 i try to use mobilescrollpanel in my project. in my project, i put

 inherits name=com.google.gwt.mobile.Mobile/

 but when i open up Mobile.gwt.xml, there is not entry point pre-
 defined.

 i get below error:

 Module has no entry points defined

 how to fix it?

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



Re: copyright on GWT skin

2010-08-22 Thread jbroquefere
i mean on my professional visit cards (real ones, not virtuals)

On Aug 21, 5:41 pm, jbroquefere jeanbaptiste.roquef...@gmail.com
wrote:
 Good evening,

 Am I authorized to use DialogBox skin for my own visit cards?

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



Sticky Surface Source Code

2010-08-22 Thread Raghunath
Hi

I'm looking for source code for gwt sample application Sticky Surface.
That is listed in http://code.google.com/webtoolkit/examples/.

Unfortunately I'm did not find the project in the GWT SDK Sample or in
GWT Svn. please let me know where can I find this.

Thanks
raghu

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

2010-08-22 Thread raghu
:) thanks, i was just searching in gwt sdk ..
thanks a lot



-raghu


On Mon, Aug 23, 2010 at 1:53 AM, Christian Goudreau 
goudreau.christ...@gmail.com wrote:

 Well, it's written that it's included into the AppEngine SDK :D

 Cheers,

 On Sun, Aug 22, 2010 at 4:21 PM, Raghunath visuma...@gmail.com wrote:

 Hi

 I'm looking for source code for gwt sample application Sticky Surface.
 That is listed in http://code.google.com/webtoolkit/examples/.

 Unfortunately I'm did not find the project in the GWT SDK Sample or in
 GWT Svn. please let me know where can I find this.

 Thanks
 raghu

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




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


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



Re: Sticky Surface Source Code

2010-08-22 Thread Christian Goudreau
Well, it's written that it's included into the AppEngine SDK :D

Cheers,

On Sun, Aug 22, 2010 at 4:21 PM, Raghunath visuma...@gmail.com wrote:

 Hi

 I'm looking for source code for gwt sample application Sticky Surface.
 That is listed in http://code.google.com/webtoolkit/examples/.

 Unfortunately I'm did not find the project in the GWT SDK Sample or in
 GWT Svn. please let me know where can I find this.

 Thanks
 raghu

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




-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Why not put FooService and FooServiceAsync in one file?

2010-08-22 Thread Rodrigo
Also Greg, he means putting FooService and FooServiceAsync (both
client-side) in the same file, while still maintaining FooServiceImpl
(server-side) separate.

On Aug 22, 5:06 am, Stefan Bachert stefanbach...@yahoo.de wrote:
  And, IIUC, you CAN'T put the client and server code in the same
  package.

  Greg

 Hi Greg,

 shared code IS running on both sides.
 It it easier to separate when code is in different packages.

 Stefan Bacherthttp://gwtworld.de

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



Re: Database and GWT

2010-08-22 Thread Carl Pritchett
Hi,

 iBATIS sounds interesting so i just looked it up... has support been
 discontinued as of june 2010?  there's something on the top of the
 page saying it's been put in apache's attic, which is not something
 i'm familiar with but it doesn't sound promising.

It's just moving from Apache to google code - the new address is
http://www.mybatis.org/

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

2010-08-22 Thread asianCoolz
when i included inherits name=com.google.gwt.mobile.Mobile/  in my
application. it mentioned  Mobile.gwt.xml do not have entry point. I
do have entry point in my application

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



Re: How to send data back to client side code?

2010-08-22 Thread Tan Duy
Hi,
Did you view example at 
http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html
?
Please refer 
http://blog.hivedevelopment.co.uk/2009/08/google-web-toolkit-gwt-mvp-example.html
This is a excellent tutorial.
I also think it's so difficult to me, but I will try to learn more :)

On Aug 20, 1:56 am, Sree ... gattasrika...@gmail.com wrote:
 also.. please post back here if you succeed!
 Am also trying to implement the DTO but not sure how far i can do that :)

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



Sticky Sample in Internet Explorer

2010-08-22 Thread Raghunath
Hi

I'm testing sticky sample gwt sample application(http://
code.google.com/webtoolkit/examples/).

I just opened it in Internet explorer 8, header and icons are really
disturbed. Is there any problem fix for this.

http://sticky.appspot.com/


-raghu

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



Re: [gwt-contrib] PlaceHistoryManager

2010-08-22 Thread Patrick Julien
I am familiar with SecurityProvider but it's used from the server, not
place history.  SecurityProvider works on the server to determine if
an operation is allowed, which is just checking for the @Service
annotation right now.

I am talking about the new methods in RequestFactory that provide
support for bookmarble locations based on Records.  So for
UserAccountRecord, requestFactory.getToken(record); will produce a
string

com.yourcompany.records.UserAccountRecord-id

which is big

On Sun, Aug 22, 2010 at 12:37 AM, Ray Cromwell cromwell...@gmail.com wrote:


 On Sat, Aug 21, 2010 at 11:13 AM, Patrick Julien pjul...@gmail.com wrote:

 1. The tokens are big, they include the full path to the class, so all
 packages and the name of the class.  It's a lot.  In our case, it also
 exposes the name of the contractor to the user of the application.


 This is only temporarily, if you look, there's a class called
 SecurityProvider, eventually, all tokens will be mapped through this
 supporting arbitrary schemes. I believe we are looking at payload
 compression/minification for M4 or M5. I'll let Ray Ryan answer the others.


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

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


[gwt-contrib] Re: Fix for date serialization problem in JsonRequestProcessor. Datanucleus returns custom subtypes ... (issue790801)

2010-08-22 Thread Amit Manjhi
LGTM.

On Sun, Aug 22, 2010 at 2:07 AM, cromwell...@google.com wrote:

 Reviewers: amitmanjhi, rjrjr,

 Description:
 Fix for date serialization problem in JsonRequestProcessor. Datanucleus
 returns custom subtypes of java.util.Date from the datastore, which
 causes Dates to be serialized as english strings.


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

 Affected files:
  M user/src/com/google/gwt/requestfactory/server/JsonRequestProcessor.java


 Index:
 user/src/com/google/gwt/requestfactory/server/JsonRequestProcessor.java
 ===
 --- user/src/com/google/gwt/requestfactory/server/JsonRequestProcessor.java
 (revision 8616)
 +++ user/src/com/google/gwt/requestfactory/server/JsonRequestProcessor.java
 (working copy)
 @@ -320,7 +320,7 @@
 if (Boolean.class == type) {
   return value;
 }
 -if (Date.class == type) {
 +if (Date.class.isAssignableFrom(type)) {
   return String.valueOf(((Date) value).getTime());
 }
 if (Enum.class.isAssignableFrom(type)) {




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

[gwt-contrib] [google-web-toolkit] r8619 committed - Fix for date serialization problem in JsonRequestProcessor. Datanucleu...

2010-08-22 Thread codesite-noreply

Revision: 8619
Author: gwt.mirror...@gmail.com
Date: Sun Aug 22 07:49:19 2010
Log: Fix for date serialization problem in JsonRequestProcessor.  
Datanucleus returns custom subtypes of java.util.Date from the datastore,  
which causes Dates to be serialized as english strings.


Review at http://gwt-code-reviews.appspot.com/790801

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

Modified:
  
/trunk/user/src/com/google/gwt/requestfactory/server/JsonRequestProcessor.java


===
---  
/trunk/user/src/com/google/gwt/requestfactory/server/JsonRequestProcessor.java	 
Fri Aug 20 08:33:30 2010
+++  
/trunk/user/src/com/google/gwt/requestfactory/server/JsonRequestProcessor.java	 
Sun Aug 22 07:49:19 2010

@@ -320,7 +320,7 @@
 if (Boolean.class == type) {
   return value;
 }
-if (Date.class == type) {
+if (Date.class.isAssignableFrom(type)) {
   return String.valueOf(((Date) value).getTime());
 }
 if (Enum.class.isAssignableFrom(type)) {

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


[gwt-contrib] [google-web-toolkit] r8620 committed - svn merge https://google-web-toolkit.googlecode.com/svn/trunk -r8618:8...

2010-08-22 Thread codesite-noreply

Revision: 8620
Author: gwt.mirror...@gmail.com
Date: Sun Aug 22 16:25:33 2010
Log: svn merge https://google-web-toolkit.googlecode.com/svn/trunk  
-r8618:8619 .

updated branch-info.txt

Patch by: amitmanjhi

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

Modified:
 /branches/2.1M3/branch-info.txt
  
/branches/2.1M3/user/src/com/google/gwt/requestfactory/server/JsonRequestProcessor.java


===
--- /branches/2.1M3/branch-info.txt Fri Aug 20 17:52:57 2010
+++ /branches/2.1M3/branch-info.txt Sun Aug 22 16:25:33 2010
@@ -14,4 +14,7 @@
   r8608 Ignoring __gwt_ObjectId in AbstractRequest#processRelated
   r8609 Snip stray debugging println.
 commited as r8611
+  r8619 svn merge https://google-web-toolkit.googlecode.com/svn/trunk  
-r8618:8619 .

+commited as r8620
 r8613: Removed the expenses sample from samples
+
===
---  
/branches/2.1M3/user/src/com/google/gwt/requestfactory/server/JsonRequestProcessor.java	 
Fri Aug 20 17:45:10 2010
+++  
/branches/2.1M3/user/src/com/google/gwt/requestfactory/server/JsonRequestProcessor.java	 
Sun Aug 22 16:25:33 2010

@@ -320,7 +320,7 @@
 if (Boolean.class == type) {
   return value;
 }
-if (Date.class == type) {
+if (Date.class.isAssignableFrom(type)) {
   return String.valueOf(((Date) value).getTime());
 }
 if (Enum.class.isAssignableFrom(type)) {

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


Re: [gwt-contrib] PlaceHistoryManager

2010-08-22 Thread Ray Cromwell
Right, it's not implemented now, but planned. In M4+, all of these tokens
will change from getClass().getName() to an obfuscated identifier (e.g.
getToken(Foo.class) - xW). The security provider implementation on the
server will know how to decode these. I realize that, like pretty and short
URLs, it would be nice go have compact history encoding, as well as options
to control the look and feel if you want 'pretty/readable' tokens.  I think
Ray Ryan's currently designed encoding is just a place holder.

-Ray


On Sun, Aug 22, 2010 at 5:56 AM, Patrick Julien pjul...@gmail.com wrote:

 I am familiar with SecurityProvider but it's used from the server, not
 place history.  SecurityProvider works on the server to determine if
 an operation is allowed, which is just checking for the @Service
 annotation right now.

 I am talking about the new methods in RequestFactory that provide
 support for bookmarble locations based on Records.  So for
 UserAccountRecord, requestFactory.getToken(record); will produce a
 string

 com.yourcompany.records.UserAccountRecord-id

 which is big

 On Sun, Aug 22, 2010 at 12:37 AM, Ray Cromwell cromwell...@gmail.com
 wrote:
 
 
  On Sat, Aug 21, 2010 at 11:13 AM, Patrick Julien pjul...@gmail.com
 wrote:
 
  1. The tokens are big, they include the full path to the class, so all
  packages and the name of the class.  It's a lot.  In our case, it also
  exposes the name of the contractor to the user of the application.
 
 
  This is only temporarily, if you look, there's a class called
  SecurityProvider, eventually, all tokens will be mapped through this
  supporting arbitrary schemes. I believe we are looking at payload
  compression/minification for M4 or M5. I'll let Ray Ryan answer the
 others.
 
 
  --
  http://groups.google.com/group/Google-Web-Toolkit-Contributors

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


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