google-code-export / gwt-test-utils

Automatically exported from code.google.com/p/gwt-test-utils
1 stars 0 forks source link

GWT overlay types support #133

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Trying to use an object that extends JavaScriptObject causes an error in 
tests. 

Hello, is there any update on when gwt-test-util will support GWT overlay 
types? I saw a post from November that this requires alot of work and isn't a 
priority, but I was wondering if there was any progress since then and could 
you provide an estimate on when in the future this could be supported? 

I have another question. We have a requirement to use GWT overlay types and run 
JSNI on server side. We were hoping to accomplish this with gwt-test-utils, but 
now we're thinking of using Rhino as a fallback. What course of action would 
you recommend? Have you ever encountered this kind of requirement and is there 
any other library you had good experiences with?  

Thank you in advance,

Mihovil  

Original issue reported on code.google.com by airm...@gmail.com on 4 Apr 2012 at 1:04

GoogleCodeExporter commented 9 years ago
Hi,

No, unfortunately I didn't have any time to start the support for overlay 
types, since I had to provide day-to-day support and am now implementing 
support for Editors.

I think Overlay support will be my next challenge I'll start, in about 3 or 4 
weeks from now. I think it will take me about 3 weeks (I'm working on 
gwt-test-utils at night) to get something working...

For the other question,  gwt-test-utils could be a candidate only if you can 
substitue your server's classloader with GwtClassLoader. And note you would 
have to provide a Java equivalent for each custom JSNI method you wrote, which 
could become really painful.
I never use Rhino or even considere to run JSNI on server side, but if Rhino is 
really able to run your existing JSNI methods in Java, you should definitly 
chose this solution.

HTH

Gael

Original comment by gael.laz...@gmail.com on 4 Apr 2012 at 2:59

GoogleCodeExporter commented 9 years ago
Support for Overlay is a prerequisite for GXT 3.0 support (because of XElement, 
which a central overlay type in GXT) . So I'm starting it right now !

Original comment by gael.laz...@gmail.com on 30 Jun 2012 at 4:59

GoogleCodeExporter commented 9 years ago
Overlay types are now fully supported in gwt-test-utils-0.40-SNAPSHOT !

Before updating, you should read this carefully : 
http://code.google.com/p/gwt-test-utils/wiki/MigrationTo040

Could you please give it a try and post some feedback ?

Cheers

Original comment by gael.laz...@gmail.com on 8 Jul 2012 at 12:23