Re: JPA alternatives?

2011-09-12 Thread maticpetek
Last three year we are using iBatis and MyBatis with GWT project and we are 
very happy with it. Just must be a programmer that loves writing SQL.. 

Regards,
   Matic
--
GWT stuff twitter  - http://twitter.com/#!/gwtstuff

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



Re: RequestFactory error

2011-09-12 Thread Pavel Byles
Hi Thomas,
thanks for the link.

Alexander, my host page url is: http://127.0.0.1:/ and I also tried ur
solution. If I set the url-pattern to something wrong I do get a 404. So I
think I'm getting a genuine 500 internal server error.

Console says I need to run the "ValidationTool" for my RequestFactory type.

I then followed
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation,
then removed my maven reqeustfactory-server.jar and replaced w/ the stock
GWT requestfactory-server.jar and voila!!

Works!!! Awesome I'm definitely excited about this!!
Thanks all for the help!!

On Mon, Sep 12, 2011 at 4:43 PM, Thomas Broyer  wrote:

> The default URL is relative to the "host page base URL", not the module, so
> it doesn't matter how your module is compiled, only how it's loaded (or
> rather, where it's loaded from); so /gwtRequest is actually fine in most
> cases.
>
> See
> http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/web/bindery/requestfactory/gwt/client/DefaultRequestTransport.html#URL
>
> As for the 500 status, server logs should tell more about it.
>
> --
> 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/-/L6FTjop-w74J.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
--
Pav

-- 
You received 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: JPA alternatives?

2011-09-12 Thread yur...@gmail.com
Thanks Paul.  I'm currently sticking with Jetty+JPA but Spring and MyBatis
is something I'd like to look into if it is possible to setup debugging
without GWT re-compilation.

On Mon, Sep 12, 2011 at 7:43 PM, Paul Stockley  wrote:

> That should be possible. I also use mybatis generator to generate all the
> maps/dto's. I created a plugin because I needed to customize the code
> generated to support GWT RPC plus some application specific stuff. It would
> be pretty easy to add optimistic locking automatically.
>
>
>
>  --
> 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/-/GzK-D8PxigYJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email 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: Autoboxing

2011-09-12 Thread Y2i
-style PRETTY GWT compiler 
optionis
 a good tool to understand what kind of output is generated.

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



Re: Autoboxing

2011-09-12 Thread gutto
Please excuse my ignorance, I'm surprised to see the emulator code is
Java. I'd have thought it would be in JavaScript. Is the point that
the emulator is Java that the translator can handle?

I wonder what Integer.valueOf looks like in JavaScript?

Perhaps by explicitly writing Integer.valueOf I am forcing the
creation of additional JavaScript that would otherwise be omitted as
unnecessary?!

(I'm well aware of the "premature optimisation" adage. If by arming
yourself with a little knowledge you can avoid writing code that you
know might harm performance without sacrificing readability or
implementation time, that has to be a good thing.)

On Sep 12, 10:56 pm, Thomas Broyer  wrote:
> Generally speaking, it's a waste of time to worry about performance
> implications of such small things until you've proven that it's a
> performance issue for your app. Choose the right type for the job, and
> forget about autoboxing implications until it comes knocking at the door.
> “premature optimization is the root of all evil” — Donald Knuth
> Seehttp://en.wikipedia.org/wiki/Program_optimization#When_to_optimize
>
> FYI, 
> Integer.valueOfis
>  not "trivial", but I believe there are many other places in your app (and
> unfortunately within GWT itself) that needs to be optimized before thinking
> about autoboxing; starting with DOM manipulation, which is awfully slow in
> many browsers (much slower than creating a new JS object that wraps a
> number).

-- 
You received 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: JPA alternatives?

2011-09-12 Thread Paul Stockley
That should be possible. I also use mybatis generator to generate all the 
maps/dto's. I created a plugin because I needed to customize the code 
generated to support GWT RPC plus some application specific stuff. It would 
be pretty easy to add optimistic locking automatically.


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



Re: need a class which can be used on server as well as client.

2011-09-12 Thread doles
ty. i will try this.

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



multiple entry points, project structure

2011-09-12 Thread Marcin Biegan
Hello,

I am wondering how does your project structure look like with more
then one entry point module.
It seems that gwt compiler requires all classes in the client
directory to be 'compilable', that is - to have source for every
reachable class. So, an example project structure:
src/com/company/ModuleA.gwt.xml
src/com/company/ModuleB.gwt.xml
src/com/company/client/EntryPointA.java
src/com/company/client/EntryPointB.java
src/com/company/client/DragAndDropForModuleA.java

Lets say that DragAndDropForModuleA uses gwt-dnd and gwt-dnd module is
inherited by ModuleA. If we try to compile ModuleB then compiler will
complain about missing sources of gwt-dnd in
DragAndDropForModuleA.java, but ModuleB doesn't even use that class.

How are you handling this problem? Are you creating src directory (or
subproject) per entry point? Some other solution? Or maybe this
behavior changes since the last time I checked?

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



Was the Lightweight Collections in GWT effort killed off?

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

Was this effort killed off?

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

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

thanks

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



Re: JSNI to Java type conversion

2011-09-12 Thread Y2i
You probably need to call java.lang.Double constructor to deal with this.
Also, have you tried to use double instead of Double in toRadians()? 

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



JSNI to Java type conversion

2011-09-12 Thread Jésica
Hi, I'm facing a problem when calling a Java method from a JSNI one.
The error is due to a lack of consistence between the type expected as
parameter (Java Double) and the actual value (JS int). Code snippet is
below:

//Java code
public Double toRadians(Double degrees){
return Math.PI * (degrees/180);
}

//JSNI code
public native void testValueConversion()/*-{

   for (var x = 0; x <= 360; x+=10) {
   (...)
  var xRadians = this.@test.client::toRadians(D)(x);
   (...)
   }

}*-/

Is there any way of casting x variable in order to match Java method
signature, taking into account that I need to preserve Java Double
type here?
Thanks,
Jésica.

-- 
You received 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: setRowStyles method of the CellTable Class

2011-09-12 Thread Tony Kennah
I mis-spelled background in the CSS rule!  BACKGOUND - Dyslexic sorry!

Thanks for all the help!

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



Re: CellTable & CSS (still!)

2011-09-12 Thread Tony Kennah
I mis-spelled background in the CSS rule!  BACKGOUND - Dyslexic sorry!

Thanks for all the help!

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



Re: Quartz and slf4j in Eclipse

2011-09-12 Thread Juan Pablo Gardella
Add some logger implementation and the provider to the classpath, as log4j
and sl4j-log4j.

2011/9/12 randal cobb 

> Hello all,
>
> I'm running into an annoying issue in DEV mode and I cant sem to properly
> Google a result...  I have a servlet that uses Quartz scheduler in my app
> and it runs fine in compiled mode.  However, if I run in EcIipse using the
> latest GWT Eclipse plugin in DEV mode, I get a ClassNotFound exception on
> the servlet's startup (it can't load org.slf4j.LoggerFactory).  I am using
> Maven to build the project and it DOES run succesfully and Quartz does start
> up if I run ”mvn jetty:deploy-war” via command-line.  I've tried explicitly
> adding slf4j-api.jar to the launcher's classpath, but no joy.  Anyone have
> any recommendations?
>
> Cheers, and thanks in advance!
> Randy
>
> --
> You received 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 Developer Plugin for Firefox 6

2011-09-12 Thread Chris Conroy
On Mon, Sep 12, 2011 at 3:09 PM, snayrb99  wrote:

>
> Would it make sense to modify the plugin build to work with any future
> of firefox (something like *?) rather
> than tie to a specific version of firefox? I understand the reason for
> being strict about versions in the past but with FF on a fast release
> cycle it seems unlikely that plugin contract will change as newer
> versions of firefox are released.

This will not work. Under the new rapid release regime we must link against
the gecko libraries with the proper module::kVersion set or the plugin will
fail to load at runtime.



> At a minimum, older versions of the
> contract should be supported for a few releases giving FF plugin
> developers a chance to migrate to newer versions of the contract on a
> different release cycle.
>

Indeed, hopefully we get some deprecation period before the API actually
changes, but this is up to Mozilla. Recently they were going to remove
nsIDomWindowInternal (an API that we and many other plugins use) and have
since backtracked and announced just a deprecation for FF8. Other APIs that
we rely on may not be so lucky.



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



Quartz and slf4j in Eclipse

2011-09-12 Thread randal cobb
Hello all,

I'm running into an annoying issue in DEV mode and I cant sem to properly
Google a result...  I have a servlet that uses Quartz scheduler in my app
and it runs fine in compiled mode.  However, if I run in EcIipse using the
latest GWT Eclipse plugin in DEV mode, I get a ClassNotFound exception on
the servlet's startup (it can't load org.slf4j.LoggerFactory).  I am using
Maven to build the project and it DOES run succesfully and Quartz does start
up if I run ”mvn jetty:deploy-war” via command-line.  I've tried explicitly
adding slf4j-api.jar to the launcher's classpath, but no joy.  Anyone have
any recommendations?

Cheers, and thanks in advance!
Randy

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



XsrfToken + GWTTestCase = ERROR: GWT.create() is only usable in client code!

2011-09-12 Thread Shawn Brown
Hi,

I'm trying to test rpc calls.

As I am using Xsrf protection, I tried getting a token via the same
code I use in my module:

final XsrfTokenServiceAsync xsrf = (XsrfTokenServiceAsync)
GWT.create(XsrfTokenService.class);

However, this does not work and I see:


 java.lang.UnsupportedOperationException: ERROR: GWT.create() is only
usable in client code!  It cannot be called, for example, from server
code.  If you are running a unit test, check that your test case
extends GWTTestCase and that GWT.create() is not called from within an
initializer or constructor.

1) my unit test does extend GWTTestCAse
2) GWT.create() is not called from within an initializer or constructor

 I am calling from within
 @Test public void test() {

...
final XsrfTokenServiceAsync xsrf = (XsrfTokenServiceAsync)
GWT.create(XsrfTokenService.class);
...
}

Is this sort of usage not viable?

I intend to make rpc calls via syncProxy but can't get by my xsrf protection.

Shawn

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



Re: setRowStyles method of the CellTable Class

2011-09-12 Thread Jeff Larsen
I'm using it. It seems to be working fine. What is your issue? 


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



Re: RequestFactory error

2011-09-12 Thread Thomas Broyer
The default URL is relative to the "host page base URL", not the module, so 
it doesn't matter how your module is compiled, only how it's loaded (or 
rather, where it's loaded from); so /gwtRequest is actually fine in most 
cases.

See 
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/web/bindery/requestfactory/gwt/client/DefaultRequestTransport.html#URL

As for the 500 status, server logs should tell more about it.

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



Re: RequestFactory error

2011-09-12 Thread Alexander Orlov
On Monday, September 12, 2011 6:36:45 PM UTC+2, Pavel Byles wrote:
>
> So now I'm getting a 500 error: Problem accessing /gwtRequest
>

500? You would get Error 404 when */* isn't your app context what's mostly 
the case. My url-pattern is *planer/gwtRequest *because in my *.gwt.xml 
I've **. If you're using Maven this would be the 
absolute minimal 
configurationto
 get RF working. 

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



setRowStyles method of the CellTable Class

2011-09-12 Thread Tony Kennah
Has anyone actually used this method successfully and can share their
code?  I'm finding it absolutely impossible to get it working and
there is zero to no documentation about this.

Tony

-- 
You received 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: Validation in GWT 2.4 How To?

2011-09-12 Thread objectuser
Replying to my own post ... it looks to me that you don't need the sources 
jars in your WEB-INF/lib, just your compile path for the GWT compile phase. 
 Not having them in WEB-INF/lib could be important if you're using GAE.

If anyone's interested, here's how I did it:

http://objectuser.wordpress.com/2011/09/12/gwt-bean-validation-how-to/

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



Drag n drop 2.4

2011-09-12 Thread Deepak Singh
Hi,

With the latest release of GWT 2.4, now we have drag n drop support. But
where is the documentation for this?

I did not find anything for this in new release feature.

Let me know if i can know how to use this drag n drop feature.

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 Developer Plugin for Firefox 6

2011-09-12 Thread snayrb99

Would it make sense to modify the plugin build to work with any future
of firefox (something like *?) rather
than tie to a specific version of firefox? I understand the reason for
being strict about versions in the past but with FF on a fast release
cycle it seems unlikely that plugin contract will change as newer
versions of firefox are released. At a minimum, older versions of the
contract should be supported for a few releases giving FF plugin
developers a chance to migrate to newer versions of the contract on a
different release cycle.

Just a thought.



On Sep 10, 11:54 pm, mo  wrote:
> Works for me too, thx.
> FF 6.0 on Gentoo / 64bit
>
> On 31 Aug., 12:34, Michael Vogt  wrote:
>
>
>
>
>
>
>
> > Hello.
>
> > > Can you pass the path to download the plugin?
>
> > I got it from 
> > here:http://google-web-toolkit.googlecode.com/svn/trunk/plugins/xpcom/preb...
>
> > Greetings,
> > Michael

-- 
You received 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 SDK 2.4 jars

2011-09-12 Thread Ido
Thanks a lot for the information!

-- 
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/-/3GiX0TXjO9sJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
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 & CSS (still!)

2011-09-12 Thread Eric Metcalf
I think you should use @external like so..

@external .bbcolor;
.bbcolor {
  backgound-color: red !important;
}

To start debugging this, you should inspect the table row (using
Chrome or firebug in Firefox) and see if it was given the bbcolor
class name.  Then you can find out if the problem is with the css or
the code.


On Sep 12, 6:30 am, Tony Kennah  wrote:
> Hi
>
> I've managed to make a CellTable use my own CSS rules by extending
> CellTable.Resources with my own resources which overrides
> cellTableStyle, simple.  I provide a link to my own CSS file within
> the extended Resources  I can now construct a CellTable using this
> resource and it will render as I wish, the problem is I can't seem to
> use setRowStyles() on my CellTable or at least using setRowStyles()
> seems useless as no style seems to be getting set.
>
> Given my CellTable is using my CSS I use setRowStyles like this:
>
> table.setRowStyles(new RowStyles() {
>     @Override
>     public String getStyleNames(Contact p, int rowIndex) {
>     {
>         return "bbcolor";
>     }
>     }
>
> });
>
> I am currently trying things out using a default
> WebAppplicationProject from within Eclipse and I'm setting the CSS
> rule .bbcolor like this (in my CSS file):
>
> @external .bbcolor {
>   backgound-color: red !important;
>
> }
>
> ...using @external as I'm getting errors about unobfuscated use of
> this bbcolor.  I'm also using the same CSS rule in the default CSS
> file for the template application (just in case but without the
> @external).
>
> Still no red background...  Could someone tell me why I'm not getting
> a red background on my table rows please?
>
> FULL STORY
> 
>
> My CellTable is dynamic as in the rows move up and down depending on
> what the user does with some sliders so I want the background of the
> rows to be coloured so its easy to see them move up and down rather
> than having to keep your eye on a text element (which seems
> difficult).  If you want to see it in action you'll have to register
> and login (simple and free) here:  http://www.pluckier.co.uk
>
> Thanks again

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



Re: RequestFactory: Child proxy is null on client side

2011-09-12 Thread Julian
Thank you Aidan! 

.with("video") solved the problem :)

Somehow I thought it only applied to ValueProxies.

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



Re: RequestFactory error

2011-09-12 Thread Thomas Broyer
You don't need gwt-servlet-deps if you add org.json:json and 
javax.validation:validation-api (see 
http://search.maven.org/#artifactdetails%7Ccom.google.gwt%7Cgwt-servlet%7C2.4.0%7Cjar
 copy/paste 
the dependenciesand remove the true); or you can simply 
use requestfactory-server instead, which has those dependencies as "non 
optional": 
http://search.maven.org/#artifactdetails%7Ccom.google.web.bindery%7Crequestfactory-server%7C2.4.0%7Cjar

See also http://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven
 and 
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation#Maven_builds
 (to 
be used instead of the requestfactory-apt dependency, depending on how your 
code is spread among maven modules).

...of course, if the error happens in DevMode (with embedded Jetty server), 
then it depends how/when you launch the DevMode. See 
http://code.google.com/eclipse/docs/faq.html#gwt_with_maven (and use the "If 
you're *not* able to use Eclipse for Java EE" steps)

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



Re: Validation in GWT 2.4 How To?

2011-09-12 Thread objectuser
I just think you need to make sure that the libs in WEB-INF/lib are up to 
date, including the validation jars (the API and sources and the 
Hibernate implementation and sources).

-- 
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/-/5nmw69UZoTYJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
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 chunked and gzip decoding using RequestBuilder

2011-09-12 Thread Thomas Broyer
This is something the browser is in charge of decoding. response.getText() 
should give you the "de-chunked" data. If that's not the case, that probably 
means your server sends chunked data unconditionally, i.e. even if the 
browser doesn't tell it it accepts it.

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



Re: RequestFactory error

2011-09-12 Thread Pavel Byles
Here's what I have:


  requestFactoryServlet

com.google.web.bindery.requestfactory.server.RequestFactoryServlet



  requestFactoryServlet
  /gwtRequest


On Mon, Sep 12, 2011 at 11:43 AM, Alexander Orlov 
wrote:
>
> in your case maybe: /gwtRequest
>
> --
> 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/-/BuTwBMjVxgQJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.



--
--
Pav

-- 
You received 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: Validation in GWT 2.4 How To?

2011-09-12 Thread Bing
Thanks for your reply, objectUser! Yes. The error message does come from 
deployment. 
 
I installed GWT 2.4 SDK and GWT Desinger through eclipse plugin. Here are 
the sites I used and what I selected to install.
GWT-2.4 SDK - http://dl.google.com/eclipse/plugin/3.6
(I selected Google Plugin for Eclipse(required), GWT Designer for 
GPE(recommended), and SDKs)
GWT-Designer - http://dl.google.com/eclipse/inst/d2gwt/latest/3.6
(GWT Designer and WindowBuilder Engine(required))
 
I didn't have any error message during installation. Can you tell what I did 
wrong to cause this Validation issue? Thanks for your help!

-- 
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/-/4LIVPvT-9MoJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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 chunked and gzip decoding using RequestBuilder

2011-09-12 Thread sasha linder
I'm a new with  GWT and am using RequestBuilder to send and receive a
request to a server which is sending me a response which has transfer
encoding "chunked" and content encoding gzipped. In the response when
I do "response.getText().Length()".

What is the right way to handle such responses?
I'm trying to work with the http://www.google.com/finance/info?infotype=quote&q=
quote service.

I saw the same questions online but no answers.
I can handle it on the server side , but I prefer if it possible to
use the client side.
What am I missing?

-- 
You received 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: JPA alternatives?

2011-09-12 Thread Y2i
How do you debug your application?  For production I use the same version of 
Jetty that comes with GPE, so I can debug my application (both server and 
client) without changing any configuration and without going through GWT 
re-compilation.  Is it possible to do the same when using Spring container?

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



Re: RequestFactory error

2011-09-12 Thread Alexander Orlov
in your case maybe: */gwtRequest*

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



Re: RequestFactory error

2011-09-12 Thread Alexander Orlov
Did you add a corresponding RF servlet handler to your web.xml?


reqFactory

com.google.web.bindery.requestfactory.server.RequestFactoryServlet


reqFactory
planer/gwtRequest


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



Re: Validation in GWT 2.4 How To?

2011-09-12 Thread objectuser
I think your issue is just a deployment issue.  I don't think you have GWT 
2.4 properly installed in your web app.

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



Re: RequestFactory error

2011-09-12 Thread Pavel Byles
I added the gwt-servlet-deps.jar btw.

On Mon, Sep 12, 2011 at 11:29 AM, Alexander Orlov  wrote:

> "Compile" scope in Maven means that it's also available at runtime. I had
> exact the same error several times and as far as I remember I solved it by
> adding gwt-servlet-deps.jar to the system scope which is basically the same
> as the compile scope in Maven.
>
> Also gwt-servlet-deps.jar has *JSONException* you're missing.
>
> --
> 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/-/jdYtjVd09NAJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
--
Pav

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



Re: RequestFactory error

2011-09-12 Thread Pavel Byles
Hi Alexander,
I removed my hibernate-validator (because I was getting errors from that for
some reason about missing org.loggerfactory).

I'm making progress!!! (I think)

So now I'm getting a 500 error: Problem accessing /gwtRequest

On Mon, Sep 12, 2011 at 11:29 AM, Alexander Orlov  wrote:

> "Compile" scope in Maven means that it's also available at runtime. I had
> exact the same error several times and as far as I remember I solved it by
> adding gwt-servlet-deps.jar to the system scope which is basically the same
> as the compile scope in Maven.
>
> Also gwt-servlet-deps.jar has *JSONException* you're missing.
>
> --
> 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/-/jdYtjVd09NAJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
--
Pav

-- 
You received 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: Validation in GWT 2.4 How To?

2011-09-12 Thread Bing
I Also have an issue with Validation.jar file. 
 
I can't build my application with GWT 2.4. but I can build the same 
application with GWT 2.0. Here is list of software I use.
 
GWT 2.4
Spring 2.5.4
Hibernate 3.7
 
This is my 'workaround'. I remove the validation-api-1.0.0.GA.jar from my 
eclipse plugin directory. 
(C:\MyProgram\eclipse\plugins\com.google.gwt.eclipse.sdkbundle_2.4.0.r36v201108301710\gwt-2.4.0).
 
Then I can build my application. I need better 'working' solution of it. 
 
Please refer to the error message attached below. Thanks for your help!
 
 
 
[WARN] Server class 'javax.validation.Validation' could not be found in the 
web app, but was found on the system classpath

[WARN] Adding classpath entry 
'file:/C:/AuditProgram/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.r36v201108301710/gwt-2.4.0/validation-api-1.0.0.GA.jar'
 
to the web app classpath for this session

For additional info see: 
file:/C:/AuditProgram/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.r36v201108301710/gwt-2.4.0/doc/helpInfo/webAppClassPath.html

[ INFO] 09/08/11 16:47:39 
:
 


Destroying singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@bb70ad: 
defining beans 
[userAdminDataSource,userInfoSource,transactionManager,sessionFactory,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.config.internalTransactionAdvisor,ldapDAO,usersDao,userAdminDao,userService,emailNotificationService,mailSender];
 
root of factory hierarchy

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



Re: RequestFactory error

2011-09-12 Thread Alexander Orlov
"Compile" scope in Maven means that it's also available at runtime. I had 
exact the same error several times and as far as I remember I solved it by 
adding gwt-servlet-deps.jar to the system scope which is basically the same 
as the compile scope in Maven.

Also gwt-servlet-deps.jar has *JSONException* you're missing.

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



Re: JPA alternatives?

2011-09-12 Thread Ashton Thomas
I use Spring/JDBC/MyBatis

Like it so far

On Sep 12, 10:55 am, Jens  wrote:
> Thanks I'll take a look at it. Hopefully I can dynamically set a DataSource
> to mybatis and don't have to configure them statically in xml.
>
> -- J.

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



Re: RequestFactory error

2011-09-12 Thread Y2i
Not sure what to say...

May be, if you are in Eclipse, type Ctrl+Shift+T and search for 
JSONException.  How many do you see?  My hope is you'll see more then one.
Another option is trying to add org.json to your class path if it's not 
there yet (but if it was required for compilation, you would not be able to 
compile, so I'm not sure if this would help).

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



Re: RequestFactory error

2011-09-12 Thread Pavel Byles
It happens at run time.
I have 0 errors and 0 warnings at compile time.

On Mon, Sep 12, 2011 at 12:26 AM, Y2i  wrote:

> Does java.lang.**NoClassDefFoundError: org/json/JSONException happen
> during compilation or run-time?
>
>  --
> 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/-/YdU22sjPqKMJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
--
Pav

-- 
You received 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: Please suggest me what widgets are suitable to have the attached UI

2011-09-12 Thread Y2i
Also take a look at Split Layout 
Panel
.

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



Re: Please suggest me what widgets are suitable to have the attached UI

2011-09-12 Thread Ali Thabet
Hi,

For the widget number 1 you can use a CaptionPanel.
For the second you can use a simple div wth an appropriate css style to make
it like a vertical line.

-- 
You received 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: Validation in GWT 2.4 How To?

2011-09-12 Thread objectuser
I have it "working", just not sure if it's the best way.

What are your problems?  Maybe I can help.

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



Re: JPA alternatives?

2011-09-12 Thread Jens
Thanks I'll take a look at it. Hopefully I can dynamically set a DataSource 
to mybatis and don't have to configure them statically in xml.

-- J.

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



Re: JPA alternatives?

2011-09-12 Thread Juan Pablo Gardella
If you wan't have problem with lazy loading, N+1; you must write a custom
jpaql query to fetch the properties do you need. You have N queries, so q1
fetch X properties, q2 Y properties. This is the way I found to resolve the
problems that you mark with JPA.

Always you will final must tunning your queries when have a lot of data.

Juan



2011/9/12 Juan Pablo Gardella 

> jdbc
>
> 2011/9/12 Jens 
>
>> In a current project I use JPA for persistence. JPA works and you can have
>> a fast start with it but it has its pitfalls.
>> For example having lazy attributes sounds nice but as soon as you have
>> more complex logic and queries you want to fetch these properties eagerly to
>> avoid hundreds of querys (N+1 for collections). But you can not make
>> everything eagerly because then simple queries would fetch lots of data that
>> is not needed at all. So you have to use JOIN FETCH but thats not defined
>> for multiple tiers/properties in the JPA spec. So you end up using vendor
>> specific features and its not that nice anymore to use JPA.
>> Also if anything gets wrong with your queries its hard to debug the
>> internals of JPA.
>>
>> So I wonder if there are any nice alternatives to JPA?
>>
>> What do you guys use for persistence assuming you can not use AppEngine
>> and thus Objectify?
>>
>> -- J.
>>
>> --
>> 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/-/qvOQ0Ln1sQIJ.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email 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: issue with menues and iframes

2011-09-12 Thread singh
Hi

Nobody out there with an idea ? The issue seems to be quite well
known,
see #4064, but didn't find any hint, how to fix. It prevents my webapp
from working
with IE7.

regards, singh

On 6 Sep., 13:19, singh  wrote:
> In my web application there is a top menu and an iframe rendering xml
> (with css). In IE7, after clicking the menu, the menu item appears to
> be hidden by the iframe. This seems to happen only if the iframe
> contains xml. With html, there is no problem. The issue seems to be
> similar to http://code.google.com/p/google-web-toolkit/issues/detail?id=4064,
> but I couldn't find a fix yet, any ideas ?
>
> regards, singh

-- 
You received 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: JPA alternatives?

2011-09-12 Thread Jens
Haven't looked into it in detail but I think it doesn't match my needs. I 
can not use an embedded database on server side (clustered application 
server / database environment).

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



Re: JPA alternatives?

2011-09-12 Thread Y2i
Thanks Thomas, these look interesting.

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



Re: JPA alternatives?

2011-09-12 Thread Y2i
Does DataStoreGwt support WITH RECURSIVE sql features?  I need to 
efficiently traverse large graphs within the database before returning small 
result sets as opposed to returning large result sets and traversing them on 
either client or server.

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



Re: JPA alternatives?

2011-09-12 Thread Thomas Broyer
Never used them, but Spring's JdbcTemplate with RowMapper, and MyBatis seem 
appealing (for the ORM part; AFAIK, versionning has to be done by hand, but 
I suspect this is by design)

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



Re: JPA alternatives?

2011-09-12 Thread Paul Stockley
Take a look at mybatis

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



Re: JPA alternatives?

2011-09-12 Thread J.Ganesan
If I may suggest, please try out DataStoreGwt. It does lazy loading,
enables optimistic concurrency control from client side and does
automatic versioning of objects.

J.Ganesan
www.DataStoreGwt.com


On Sep 12, 7:03 pm, Y2i  wrote:
> When you use JDBC, what do you use to map between the database records and
> Java objects?  Also, what do you do to deal with optimistic concurrency
> control?  JPA automatically uses versioning.  Do you have to implement the
> same mechanism by hand or are there tools that help with 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: Autoboxing

2011-09-12 Thread Thomas Broyer
Yes it is: https://bugzilla.mozilla.org/show_bug.cgi?id=514309

(yes, the bug actually was with hasOwnProperty rather than getting/setting 
properties of objects, and has been fixed back in Firefox 3.6, but still, it 
led to workarounds in GWT: 
http://code.google.com/p/google-web-toolkit/source/detail?r=7060 & 
http://code.google.com/p/google-web-toolkit/source/detail?r=7063 )

Please note that I was explicitly pointing out that JS distinguishes between 
values and objects, so the difference in typeof and instanceof is indeed not 
a bug (but oh so many JS libs are buggy –or should explicitly document their 
behavior– because their developers don't account for both String values and 
String objects; including GWT in a few edge cases: 
http://code.google.com/p/google-web-toolkit/issues/detail?id=4301 )

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



Re: scalable server backend for browser games

2011-09-12 Thread Philip Rogers
Angry Birds for Chrome has the same use-case you mention, and runs on 
AppEngine.

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



Re: JPA alternatives?

2011-09-12 Thread Y2i
When you use JDBC, what do you use to map between the database records and 
Java objects?  Also, what do you do to deal with optimistic concurrency 
control?  JPA automatically uses versioning.  Do you have to implement the 
same mechanism by hand or are there tools that help with this?


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



Re: JPA alternatives?

2011-09-12 Thread Juan Pablo Gardella
jdbc

2011/9/12 Jens 

> In a current project I use JPA for persistence. JPA works and you can have
> a fast start with it but it has its pitfalls.
> For example having lazy attributes sounds nice but as soon as you have more
> complex logic and queries you want to fetch these properties eagerly to
> avoid hundreds of querys (N+1 for collections). But you can not make
> everything eagerly because then simple queries would fetch lots of data that
> is not needed at all. So you have to use JOIN FETCH but thats not defined
> for multiple tiers/properties in the JPA spec. So you end up using vendor
> specific features and its not that nice anymore to use JPA.
> Also if anything gets wrong with your queries its hard to debug the
> internals of JPA.
>
> So I wonder if there are any nice alternatives to JPA?
>
> What do you guys use for persistence assuming you can not use AppEngine and
> thus Objectify?
>
> -- J.
>
> --
> 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/-/qvOQ0Ln1sQIJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email 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.



JPA alternatives?

2011-09-12 Thread Jens
In a current project I use JPA for persistence. JPA works and you can have a 
fast start with it but it has its pitfalls. 
For example having lazy attributes sounds nice but as soon as you have more 
complex logic and queries you want to fetch these properties eagerly to 
avoid hundreds of querys (N+1 for collections). But you can not make 
everything eagerly because then simple queries would fetch lots of data that 
is not needed at all. So you have to use JOIN FETCH but thats not defined 
for multiple tiers/properties in the JPA spec. So you end up using vendor 
specific features and its not that nice anymore to use JPA. 
Also if anything gets wrong with your queries its hard to debug the 
internals of JPA.

So I wonder if there are any nice alternatives to JPA? 

What do you guys use for persistence assuming you can not use AppEngine and 
thus Objectify? 

-- J.

-- 
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/-/qvOQ0Ln1sQIJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
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-ms sql

2011-09-12 Thread Juan Pablo Gardella
You can't connect with jdbc in client side. You must connect in server
side.

2011/9/12 Adilkun 

> Hi, I can't connect to Microsoft Sql Server with GWT. I couldn't find
> sources about that problem. Can you help me?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received 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 SDK 2.4 jars

2011-09-12 Thread James Horsley
Thomas, you've cleared up all the questions I had so many thanks for your
super informative answer! Seems like this should be in a wiki somewhere on
the main GWT site or perhaps worth a posterous entry from yourself?

Cheers,
James

On 12 September 2011 13:38, Thomas Broyer  wrote:

> I unfortunately don't think you'll find any "official statement" (or maybe
> in documentation for older versions, but I cannot find any in the current
> documentation).
>
>
>- gwt-dev contains the compiler and the DevMode; i.e. the dev tools.
>It's only needed at compile-time, and shouldn't be needed by your code,
>unless you're coding generators or linkers (that somehow "plug" into the
>compiler and devmode, so their APIs are defined in gwt-dev)
>- gwt-user contains the "user library", i.e. what you'll use in your
>code that will either be compiled to JS or run on the server. gwt-user has
>an implicit dependency on gwt-dev, as it contains generators and linkers.
>It also contains a few tools (webAppCreator, i18nCreator, etc.), most
>of which a deprecated (webAppCreator, i18nCreator, etc.), and the JUnit
>support (GWTTestCase et al.)
>This is what you'll add as to your project as a dependency
>(compile-time only though). gwt-user bundles a few dependencies
>(javax.servlet, “Flute” the CSS parser from the W3C) so it's not to be
>deployed.
>- gwt-servlet is a subset of gwt-user (well, there are also a few
>classes from gwt-dev) containing code to be run on the server
>(RemoteServiceServlet, etc.)
>
> The line between gwt-dev and gwt-user is a bit blurry though, and a few
> utility classes from gwt-dev are used in gwt-servlet too. This is all
> historical. If GWT were to be repackaged today, classes would probably be
> split differently among JARs.
>
> Finally, unless you intend to contribute to GWT (or go into deep debug
> sessions of GWT itself), all you have to know is that your project should
> have gwt-user.jar as a dependency; possibly gwt-dev.jar too; and you'll only
> ever deploy gwt-servlet.jar. gwt-dev is used for the devmode or to compile
> your code (or as a dependency if you have a generator or linker in your
> code).
>
> Now, in GWT 2.4, there are a few new JARs:
>
>- requestfactory-client: client-side code for RequestFactory (includes
>RequestFactorySource), to be used in a VM (unit tests, stress-tests, or an
>Android or desktop app)
>- requestfactory-server: server-side code for RequestFactory (includes
>RequestFactoryServlet). If you only use RF on the server (no GWT-RPC, no
>SafeHtml, etc.) then you can deploy this JAR instead of gwt-servlet.jar.
>- requestfactory-apt: annotation processor, used at compile-time only.
>See
>
> http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation
>
> There's a large overlap between client and server, as "shared" code is in
> both JARs.
>
> Additionally, all three (client, server and apt) are bundled within
> gwt-user.
>
> --
> 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/-/frzl_Ljvo6wJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email 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: Autoboxing

2011-09-12 Thread Y2i
The most cited phrase is attributed to the man who invented his own assembly 
language to optimize every algorithm in his books and who spent 30 years on 
optimizing the the first 3 volumes :-)  He has so much yet to say to this 
world but because of the time he spends on optimization, I doubt we'll be 
able to see everything of what is 
planned:-(

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



Re: Autoboxing

2011-09-12 Thread Y2i
It's actually not buggy.  JavaScript distinguishes between objects and 
values, and objects are containers for 
values.
 
 So when JSON { a = "b", c = 2 } is evaluated, it actually assigns values to 
the properties (at least in Mozilla), not objects. Values are more efficient 
that objects.

"bar".length is automatically 
convertedto
 new String("bar").length, and the String object is discarded after the 
length property is used.

-- 
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/-/0gAdZUy8mqMJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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-ms sql

2011-09-12 Thread Adilkun
Hi, I can't connect to Microsoft Sql Server with GWT. I couldn't find
sources about that problem. Can you help me?

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



Please suggest me what widgets are suitable to have the attached UI

2011-09-12 Thread Raja Shekhar
Hi,

I need to have the mentioned UI design for my application.
i'm unable to find appropriate widgets to draw such containers.

Please let me know what widgets that will help in designing my UI.

Thanks,
Raja

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

<>

IE keeps reloading the EntryPoint

2011-09-12 Thread Joey Jallorina
Hi Guys,

I'm using GWT 2.3 implemented in MVP with AppController. Problem is
when using IE7 or IE8 everytime I change the token (via hyperlink or
typing directly in the address bar), the application reloads starting
from the EntryPoint. This is not happening in Firefox or Chrome.
Anybody who has the same experience?

Appreciate any help.

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.



how to maximize frame

2011-09-12 Thread yashujn
i created one portlet inclucing maximize and minimize tools.


in that portlet i put one frame in which i give google
link ..


but the problem is when i maximize that portlet size of frame remain
same it is not maximized.


can somebody guide me about this matter...


VLayout layout = new VLayout();
layout.setSize("450px", "550px");
Portlet portlet = new Portlet();
portlet.setSize("450px", "550px");
portlet.setTitle("Google");

Frame frame = new Frame("http://www.google.com";);
portlet.addItem(frame);
frame.setSize("437px", "336px");
layout.addMember(portlet);
rootPanel.add(layout, 10, 52);




this is my code ...

plz guide me

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



Re: How to send mail using Google App Engine?Very Urgent, I have been waiting for your reply.

2011-09-12 Thread Stephen Buergler
You are not using the python API 
http://code.google.com/appengine/docs/java/mail/overview.html
You are not currently on the App Engine group:
https://groups.google.com/forum/#!forum/google-appengine
https://groups.google.com/forum/#!forum/google-appengine-java
The init() method of the Java HTTP servlet is only called when the servlet 
instance is loaded.
What you are doing is similar to sending an email in a constructor.
Do what Shawn suggested and override the doGet or doPost methods (depending 
on what type
of http request you are going to use) and make sure that the Servlet is 
properly defined in the
deployment descriptor. 
http://code.google.com/appengine/docs/java/config/webxml.html#Servlets_and_URL_Paths
I looks like you will want something like:

http://java.sun.com/xml/ns/javaee"; version="2.5">  
  mailserver
MailServlet
mailserver
/mailserver/*



Also like Shawn said, if you are planning on using sessions you will need to 
enable them on App
Engine. 
http://code.google.com/appengine/docs/java/config/appconfig.html#Enabling_Sessions

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



Re: Validation in GWT 2.4 How To?

2011-09-12 Thread Saul Simhon
Im also having problems regarding client side bean validation using annotations 
in 2.4. Anyone have any info in this?



On Sep 10, 2011, at 9:25 PM, objectuser  wrote:

> I may be further from understanding that I thought, but I'm talking about 
> Bean Validation (javax.validation).  Is that post still applicable?
> -- 
> 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/-/XvXS8byEY0IJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email 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: scalable server backend for browser games

2011-09-12 Thread Thomas Broyer
Also: http://www.heroku.com, http://www.cloudbees.com and 
http://www.cloudfoundry.com

(I absolutely never used any of them, so I can't comment)

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



Re: GWT SDK 2.4 jars

2011-09-12 Thread Thomas Broyer
I unfortunately don't think you'll find any "official statement" (or maybe 
in documentation for older versions, but I cannot find any in the current 
documentation).


   - gwt-dev contains the compiler and the DevMode; i.e. the dev tools.
   It's only needed at compile-time, and shouldn't be needed by your code, 
   unless you're coding generators or linkers (that somehow "plug" into the 
   compiler and devmode, so their APIs are defined in gwt-dev)
   - gwt-user contains the "user library", i.e. what you'll use in your code 
   that will either be compiled to JS or run on the server. gwt-user has an 
   implicit dependency on gwt-dev, as it contains generators and linkers.
   It also contains a few tools (webAppCreator, i18nCreator, etc.), most of 
   which a deprecated (webAppCreator, i18nCreator, etc.), and the JUnit support 
   (GWTTestCase et al.)
   This is what you'll add as to your project as a dependency (compile-time 
   only though). gwt-user bundles a few dependencies (javax.servlet, “Flute” 
   the CSS parser from the W3C) so it's not to be deployed.
   - gwt-servlet is a subset of gwt-user (well, there are also a few classes 
   from gwt-dev) containing code to be run on the server (RemoteServiceServlet, 
   etc.)

The line between gwt-dev and gwt-user is a bit blurry though, and a few 
utility classes from gwt-dev are used in gwt-servlet too. This is all 
historical. If GWT were to be repackaged today, classes would probably be 
split differently among JARs.

Finally, unless you intend to contribute to GWT (or go into deep debug 
sessions of GWT itself), all you have to know is that your project should 
have gwt-user.jar as a dependency; possibly gwt-dev.jar too; and you'll only 
ever deploy gwt-servlet.jar. gwt-dev is used for the devmode or to compile 
your code (or as a dependency if you have a generator or linker in your 
code).

Now, in GWT 2.4, there are a few new JARs:

   - requestfactory-client: client-side code for RequestFactory (includes 
   RequestFactorySource), to be used in a VM (unit tests, stress-tests, or an 
   Android or desktop app)
   - requestfactory-server: server-side code for RequestFactory (includes 
   RequestFactoryServlet). If you only use RF on the server (no GWT-RPC, no 
   SafeHtml, etc.) then you can deploy this JAR instead of gwt-servlet.jar.
   - requestfactory-apt: annotation processor, used at compile-time only. 
   See 
   
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation

There's a large overlap between client and server, as "shared" code is in 
both JARs.

Additionally, all three (client, server and apt) are bundled within 
gwt-user.

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



Re: scalable server backend for browser games

2011-09-12 Thread J.Ganesan
I feel Google App Engine ideally suits the requirement. It creates
multiple instances whenever needed and  you program entirely in Java,
both UI and server. With Channel API, multi-player game also should be
possible.

J.Ganesan
DataStoreGwt.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: CellTables and css

2011-09-12 Thread Tony Kennah
Thanks that's brilliant it working :) - Stage 1 complete

Again thanks!

PS (my nearly the same but somehow different CellTable issue...(more
specific))
   
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/7997211b49d8210f#

-- 
You received 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: DateBox parseStrict

2011-09-12 Thread Thomas Broyer
AFAICT, all you need is implement your own DateBox.Format, possibly 
extending DateBox.DefaultFormat, and set it on the DateBox (either passing 
it to the constructor, or using setFormat).

Something like:
class MyFormat extends DefaultFormat {
  @Override
  public Date parse(DateBox dateBox, String dateText, boolean reportError) {
Date date = null;
try {
  if (!dateText.isEmpty()) {
date = getDateTimeFormat().parseStrict(dateText);
  }
} catch (IllegalArgumentException iae) {
  if (reportError) {
dateBox.addStyleName("dateBoxFormatError");
  }
}
return date;
  }
}

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



Re: Tracking multiple steps in a RPC request on the client

2011-09-12 Thread J.Ganesan
If we assume that the same servlet responds to all the requests, why
not maintain the intermediate data with a suitable id mechanism like
clientId+ReqestId in the servlet? A servlet transcends sessions.

J.Ganesan
www.DataStoreGwt.com



On Sep 10, 12:07 am, Nestor  wrote:
> Could you clarify that?
>
> My understanding is that once I send a response back to the client,
> the connection is closed.
>
> How do I then get a response for the next step? If I make another RPC
> request, is there a guarantee that I'll connect to the same session
> that executed the previous step?
>
> Let me try to illustrate what I'm going for:
>
> Client submits RPC request for Step 1
>
> Server receives request and executes Step 1
> Once Step 1 is complete, server sends response with progress update
>
> Client receives response and displays progress update to user
> Client sends RPC request for Step 2
>
> Server receives request
> Server takes data generated from Step 1 (preserved how?)
> Server executes Step 2 and sends response with progress update
>
> Client receives response and displays progress update
> Client sends RPC request for Step 3
>
> ...and so on.
>
> My main concern is how to preserve the interim data from one RPC call
> to the next.
>
> On Sep 6, 3:55 pm, mohit ranjan  wrote:
>
>
>
>
>
>
>
> > Make an async RPC call and update UI on OnSuccess/OnFailure()
>
> > Mohit
>
> > On Wed, Sep 7, 2011 at 1:13 AM, Nestor  wrote:
> > > I'm trying to find out how to implement the following functionality.
> > > Any help would be appreciated.
>
> > > The client sends a RPC request to the server for a set of data. The
> > > server has to query the data, then perform some additional processinf
> > > (e.g., filter, sort) before sending it back to the client. While this
> > > processing is going on, a progess bar is displayed to the user,
> > > indicating what step is being performed ("Retrieving", "Filtering",
> > > etc.)
>
> > > I've been looking at Server Push as a potential solution, but I'm not
> > > sure how to implement it for this situation. I suppose the server
> > > could send status messages indicating completion of each step in the
> > > process before sending the final result set. Am I on the right track?
>
> > > Thank you.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.-Hide quoted text -
>
> > - Show quoted text -

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



Let the user manually resize widgets

2011-09-12 Thread Sébastien Tromp
Hello,

I have been looking for a way to let a user manually resize the
widgets that are displayed on the page (e.g.
http://allen-sauer.com/com.allen_sauer.gwt.dnd.demo.DragDropDemo/DragDropDemo.html#WindowExample).
The above example is great, but the framework needs my containing
panel to be an AbsolutePanel, while I am using a LayoutPanel.

Would you know how I could achieve a similar effect?

Regards,
-- 
Sébastien Tromp

-- 
You received 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: scalable server backend for browser games

2011-09-12 Thread Juan Pablo Gardella
You can use Tomcat, but not standalone. You need load balance by software or
hardware inclusive. A Big company use this type architecture for online
games.

2011/9/9 Karel 

> Hey guys,
>
> I'm currently investigating the possibilities of using GWT to develop
> a facebook browser game. The client should pose no problem; the main
> issue here seems to be the server. For starters, I don't want to use a
> php backend, because that would give up one of the main advantages of
> using GWT: that you can share code between client and server. So I
> need a java-based solution for the server.
>
> I'm not sure if Tomcat is up to the task of being the backend for a
> browser game with potentially millions of concurrent users. I looked
> into alternatives, but I can't really find any suitable. Node.js seems
> interesting; it's very scalable and powerful, but it's obviously in
> javascript. If I could somehow use the client-side compiler to
> translate the server-side code from java to js as well, then I might
> be able to use a wrapper around node.js to build a java-based server
> which runs entirely on javascript. I'm not sure if this would be
> faster or more scalable than Tomcat though...
>
> What's your opinion? Do you think Tomcat is up to the task of hosting
> the backend of a farmville-style game, or not? And what of potential
> alternatives such as node.js? I would like to hear your opinion!
>
> Kind regards,
> Karel
>
> --
> You received 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.



alterate css sheets for FlowPanel CaptionPanel etc..

2011-09-12 Thread Elhanan
hi..
i've noticed here are not rules for these panels (and maybe others), has 
anyone created such rules?

-- 
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/-/gQzZFrXVrmcJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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 & CSS (still!)

2011-09-12 Thread Tony Kennah
Hi

I've managed to make a CellTable use my own CSS rules by extending
CellTable.Resources with my own resources which overrides
cellTableStyle, simple.  I provide a link to my own CSS file within
the extended Resources  I can now construct a CellTable using this
resource and it will render as I wish, the problem is I can't seem to
use setRowStyles() on my CellTable or at least using setRowStyles()
seems useless as no style seems to be getting set.

Given my CellTable is using my CSS I use setRowStyles like this:

table.setRowStyles(new RowStyles() {
@Override
public String getStyleNames(Contact p, int rowIndex) {
{
return "bbcolor";
}
}
});

I am currently trying things out using a default
WebAppplicationProject from within Eclipse and I'm setting the CSS
rule .bbcolor like this (in my CSS file):

@external .bbcolor {
  backgound-color: red !important;
}

...using @external as I'm getting errors about unobfuscated use of
this bbcolor.  I'm also using the same CSS rule in the default CSS
file for the template application (just in case but without the
@external).


Still no red background...  Could someone tell me why I'm not getting
a red background on my table rows please?

FULL STORY


My CellTable is dynamic as in the rows move up and down depending on
what the user does with some sliders so I want the background of the
rows to be coloured so its easy to see them move up and down rather
than having to keep your eye on a text element (which seems
difficult).  If you want to see it in action you'll have to register
and login (simple and free) here:  http://www.pluckier.co.uk

Thanks again

-- 
You received 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 SDK 2.4 jars

2011-09-12 Thread James Horsley
Is there a good breakdown of what each of the jars are for and at what point
in the dev lifecycle they're intended to be used? There seems to be a large
set of overlap between the various jars content wise. While I can make
educated guesses it'd be great to have an official statement of their
intents.

Cheers,
James

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



DateBox parseStrict

2011-09-12 Thread irene zeller sancho
Hi,

I have a problem with DateBox widget. I want to get the value with a
stricted  parse, but I haven't found the way. I found some solution based on
overriding the class DateBox.DefaultForm (
http://permalink.gmane.org/gmane.org.google.gwt/49297), but it didn't work
for me (I think because of the version).
Could somebody help me, please???
Thanks in advance!!

Irene Zeller

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



Re: How to send mail using Google App Engine?Very Urgent, I have been waiting for your reply.

2011-09-12 Thread Shawn Brown
On Mon, Sep 12, 2011 at 8:00 PM, Shawn Brown  wrote:
>>        public void init(ServletConfig config) throws ServletException {
>>                super.init(config);
>>                System.out.println("Mail Servlet is called");
>>                Properties properties = new Properties();
>>                Session session = Session.getDefaultInstance(properties, 
>> null);
>>                String message = "Welcome to WWW.DataStoreGwt.com";
>>                try
>
> Will you really have active session within the init method of a
> servlet?  I would think not.

try

@Override public void doPost(HttpServletRequest req,
HttpServletResponse resp) throws IOException {
//in here
}

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



Re: How to send mail using Google App Engine?Very Urgent, I have been waiting for your reply.

2011-09-12 Thread Shawn Brown
>        public void init(ServletConfig config) throws ServletException {
>                super.init(config);
>                System.out.println("Mail Servlet is called");
>                Properties properties = new Properties();
>                Session session = Session.getDefaultInstance(properties, null);
>                String message = "Welcome to WWW.DataStoreGwt.com";
>                try

Will you really have active session within the init method of a
servlet?  I would think not.

Shawn

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



Re: Autoboxing

2011-09-12 Thread Thomas Broyer
Generally speaking, it's a waste of time to worry about performance 
implications of such small things until you've proven that it's a 
performance issue for your app. Choose the right type for the job, and 
forget about autoboxing implications until it comes knocking at the door.
“premature optimization is the root of all evil” — Donald Knuth
See http://en.wikipedia.org/wiki/Program_optimization#When_to_optimize

FYI, 
Integer.valueOfis
 not "trivial", but I believe there are many other places in your app (and 
unfortunately within GWT itself) that needs to be optimized before thinking 
about autoboxing; starting with DOM manipulation, which is awfully slow in 
many browsers (much slower than creating a new JS object that wraps a 
number).

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



Re: Sb. uses the Unit Test pattern w/ GWT?

2011-09-12 Thread Alexander Orlov
On Monday, September 12, 2011 12:33:20 PM UTC+2, Thomas Broyer wrote:
>
> What do you mean by "GWT's JUnit"? (and actually how do you expect it to 
> shorten startup or re-compilation time?)


I mean GWT's GWTTestCase extending JUnit that's not redering any UI. 
Therefore the dev mode re-compilation time could be shortened (must not but 
could). 
 

>
> Unit-testing is about software quality.
> The most important gains are in the long run, because a set of automated 
> tests that can be replayed at any time will ensure you don't have 
> regressions.
>

For me JUnit is also about TDD. Avoiding regressions is another thing...
 

> With GWT, you should try as hard as possible to use "plain JUnit" (or 
> TestNG or whatever) tests vs. GWTTestCase, because the former are much 
> faster; and that's one of the main goals of using MVP (by mocking your view, 
> you no longer need a GWTTestCase to test your "presenter" logic).
>

I've hoped for this kind of tips.
 

> This is also where you'll have the most important productivity gains: 
> writing unit tests for your presenters allows you to develop in short 
> iterations, without the need to even start up the DevMode. You'd use the 
> DevMode either early on to design your view, and/or later on to do some 
> additional manual testing (and actually test your view, rather than your 
> presenter).
>

 ...and this kind. I guess, I'll give (this time "plain") JUnit another 
chance.

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



How to send mail using Google App Engine?Very Urgent, I have been waiting for your reply.

2011-09-12 Thread Abraham
I don't know what mistake i done on my code segment to  send e-mail
using Google App Engine. I refered the documentation of Google App
Engine from http://code.google.com/appengine/docs/python/mail/sendingmail.html.

I attach my code segment of client and server.

Clientside code.

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.http.client.Request;
import com.google.gwt.http.client.RequestBuilder;
import com.google.gwt.http.client.RequestCallback;
import com.google.gwt.http.client.RequestException;
import com.google.gwt.http.client.Response;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.RootPanel;

public class MainEntry implements EntryPoint {
RequestBuilder rb = null;

@Override
public void onModuleLoad() {
// Window.Location.replace("/hello");
rb = new RequestBuilder(RequestBuilder.POST, "mailserver");
rb.setCallback(new RequestCallback() {

@Override
public void onResponseReceived(Request request, 
Response response)
{
// TODO Auto-generated method stub
Window.alert("Mail send");
}

@Override
public void onError(Request request, Throwable 
exception) {
// TODO Auto-generated method stub

}
});
Button button = new Button("Mail service");
button.addClickHandler(new ClickHandler() {

@Override
public void onClick(ClickEvent event) {
// TODO Auto-generated method stub

try {
rb.send();
} catch (RequestException e) {

}
}
});

RootPanel.get().add(button);
}

Serverside code.

import java.io.UnsupportedEncodingException;
import java.util.Properties;

import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.AddressException;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

public class MailServlet extends HttpServlet {

/**
 *
 */
private static final long serialVersionUID = 1L;

public void init(ServletConfig config) throws ServletException {
super.init(config);
System.out.println("Mail Servlet is called");
Properties properties = new Properties();
Session session = Session.getDefaultInstance(properties, null);
String message = "Welcome to WWW.DataStoreGwt.com";
try
{
Message msg = new MimeMessage(session);
msg.setFrom(new InternetAddress("gan.tan...@gmail.com",
"Rajaganapathi velayutham"));
msg.addRecipient(Message.RecipientType.TO, new
InternetAddress("j.gane...@datastoregwt.com", "J.Ganesan"));
msg.setSubject("Invitation from www.tanya.com");
msg.setText(message);
Transport.send(msg);

}
catch (AddressException e1)
{

}
catch (MessagingException e2)
{

}
catch (UnsupportedEncodingException e)
{
e.printStackTrace();
}
}
}

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

2011-09-12 Thread Thomas Broyer
That's actually wrong.

typeof 1
"number"
typeof new Number(1)
"object"
1 instanceof Number
false
new Number(1) instanceof Number
true

But it's true however that GWT does not make any distinction between a 
"Number value" and a "Number object", because in practice it doesn't matter 
much (it only matters if you use the typeof or instanceof operators, or when 
some browsers are buggy –such as Firefox throwing for foo[new String("bar")] 
whereas foo["bar"] is OK–)

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



Re: Sb. uses the Unit Test pattern w/ GWT?

2011-09-12 Thread Thomas Broyer
What do you mean by "GWT's JUnit"? (and actually how do you expect it to 
shorten startup or re-compilation time?)

Unit-testing is about software quality.
The most important gains are in the long run, because a set of automated 
tests that can be replayed at any time will ensure you don't have 
regressions.

With GWT, you should try as hard as possible to use "plain JUnit" (or TestNG 
or whatever) tests vs. GWTTestCase, because the former are much faster; and 
that's one of the main goals of using MVP (by mocking your view, you no 
longer need a GWTTestCase to test your "presenter" logic).
This is also where you'll have the most important productivity gains: 
writing unit tests for your presenters allows you to develop in short 
iterations, without the need to even start up the DevMode. You'd use the 
DevMode either early on to design your view, and/or later on to do some 
additional manual testing (and actually test your view, rather than your 
presenter).

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



Re: Generated HTML Doesn't Display

2011-09-12 Thread Nick Apperley
Ran the application in Firefox instead of Chrome and found it displays
a funny looking blue box. Right clicked on it, selected View Image and
found that the image (an ordinary SVG file) is displayed just fine.
Talk about bizarre rendering behavior between browsers. Not sure why
the image map is no longer displayed properly as it used to work fine
in both browsers.


On Sep 11, 3:55 pm, Nick Apperley  wrote:
> Correction - Just tried the application using Jetty instead of
> Glassfish and the same problem occurs.
>
> > At a complete loss as to why the generated HTML isn't displayed, this
> > is absolutely bizarre. Any possible ideas as to why this is occurring?

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



How to override autobean enconder and decode for Dates

2011-09-12 Thread Eduardo Guardiola

The thing i want to do is to add a custom encoder/decoder using ISO
8601.

I think i can do that creating a custom version of GWT build but this
is not convenient...

Any ideas ? 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: Autoboxing

2011-09-12 Thread Alexander Orlov
I suppose: In JS there is no distinction between *Integer* and *int*. In JS 
there's only a single *var* type*.*

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



Sb. uses the Unit Test pattern w/ GWT?

2011-09-12 Thread Alexander Orlov
I've tried it and found that the GWT startup or re-compilation time wasn't 
shortened which was the primary reason I've tried it.

Has sb. gained real production advantages using *GWT's JUnit*?

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



Re: RequestFactory error

2011-09-12 Thread Alexander Orlov
Try to include gwt-servlet-deps.jar in compile scope, although you don't 
need it at all... This is the minimal configuration for 
RF
.

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



can we write a rpc via gpe?

2011-09-12 Thread wahaha
does gpe has this function to help us create a rpc interface and class
automatically?

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