Re: Release 0.3 of gwt-platform

2010-07-22 Thread cretz
I love this library and am currently using it in a large scale application I am writing. Keep up the good work (now off to rename all my imports :-) On Jul 22, 3:28 am, Peter Simun wrote: > Phillipe, thank you for your great work. > > Peter > > On 21. Júl, 22:50 h., PhilBeaudoin > wrote: > > > I

Re: xs linker does not support all GWT features?

2010-07-06 Thread cretz
http://code.google.com/p/google-web-toolkit/issues/detail?id=5046 mentions it's already in trunk and will likely make the 2.1 final release. On Jul 5, 9:22 pm, Jay wrote: > Is there an issue in the issue tracker in regards to this? I would > like to track when and if this fix makes it into a rele

Re: How GWT-RPC handles polymorphic serialization?

2010-07-06 Thread cretz
Class.getName() is emulated On Jul 6, 9:04 am, Paul Stockley wrote: > You need to use deferred binding i.e. GWT.create and write a code > generator. I suggest you check out the GWT source code from SVN and > look at their RPC generator code. > > On Jul 6, 8:54 am, André Moraes wrote: > > > ? > >

Re: GWT DevMode and gwt.codesvr parameter

2010-05-26 Thread cretz
You should join us in voting for http://code.google.com/p/google-web-toolkit/issues/detail?id=4367 On May 26, 9:24 am, Adam wrote: > Jeff, > > Yeah I have a working prototype of that working now. The route we've > decided to take though is to have a developer mode and if set a > request filter w

Re: equivalent GWT Runtime in Java

2010-05-25 Thread cretz
I have not tried this, but you may be able to grab the emul folder out of the gwt-user.jar (http://google-web-toolkit.googlecode.com/svn/ trunk/user/super/com/google/gwt/emul/) and make a new JAR out of it. The only problem you have here is that if you don't keep the JRE on the classpath you can't

Re: Load different html

2010-05-17 Thread cretz
You can do many things here. I personally have a servlet mapped to index.html that can serve several pages based on several server-side. This even works well in development mode (need it for my openid provider). Otherwise, you can make separate modules sharing code or just use the same module and h

Re: Tutorial Request: Glassfish / Eclipse / GWT - With Hot Deploy

2010-05-17 Thread cretz
Looks like you can deploy as normal (I use ANT's sync after my build) then just touch a top-level .reload file in your WAR. On May 15, 1:36 pm, CodeMonkey wrote: > Hey guys, > > I'm new to this forum and was wondering if anyone had a good tutorial > on how to setup a new project in Eclipse that u

Re: java.io, java.nio emulation?

2010-04-26 Thread cretz
There's nothing like this out there per se since most of it won't work anyways. You can see where some of the Google guys faked it w/ HTML 5 stuff (local storage, web sockets, etc) at https://quake2-gwt-port.googlecode.com/hg/src/com/google/gwt/corp/emul/java/io/ and https://quake2-gwt-port.google

Re: Can we Integrate reCaptcha with GWT FormPanel

2010-04-14 Thread cretz
IIRC, recaptcha doesn't allow you to retrieve to element name, so it is not handled via a common form submission. If you must, add two hiddens to your panel and add a submit handler. In the submit handler, just populate the hidden widgets with the challenge and response from the recaptcha JS API. I

Re: how to run multiple gwt apps in eclipse

2010-04-12 Thread cretz
I have a similar problem and would love to see it addressed. I have an OpenID provider and an OpenID consumer both with the frontends written in GWT. It would save me tons of time if I could debug them both at the same time. Star this issue and maybe it will get looked at: http://code.google.com/p

Re: Checkstyle/PMD/FindBugs for GWT 2.0.3 projects

2010-04-12 Thread cretz
I always use Checkstyle in my projects. I don't believe in the true sense of http://checkstyle.sourceforge.net/config_design.html#VisibilityModifier so I always allow protected and package-private. The only problem I really run into is when I have really long method signatures in my JSNI and it tri

Re: Flex communication problems

2010-03-30 Thread cretz
You can always attempt to marshal/unmarshal yourself, but that usually isn't the best way. I recommend http://noon.gilead.free.fr/gilead/. On Mar 30, 6:30 am, terje_sverje wrote: > Hi, > > I am desperately trying to get pwrlscript Array objects from GWT to > Flash. > So far I have only been able

Re: Server side: start independent Thread at deploy on server

2010-03-25 Thread cretz
I have had marginal success integrating http://code.google.com/p/gwt-websockets/ with http://github.com/gimite/web-socket-js with http://jwebsocket.org/. The latter project is lacking in some quality aspects which made me switch to a custom solution based on the latest Netty (which has this patch h

GWT Compiler extension points?

2010-03-06 Thread cretz
Are there any extension points in the GWT compiler? I don't need a custom code generator, but rather I want to add an extension point in GenerateJavaASTor some form of custom visitor on the AST. I was just curious if anyone knew if this was present before I use some AOP or javassist to add my own.

Re: Interportlet communication on client-side

2010-03-03 Thread cretz
It would probably be best to write some form of message handler tied to a common API. Basically just call a JSNI method in onModuleLoad that checks whether something like $wnd.MyMsgHandler is present. If not, build it. I figure it would accept functions to callback and messages to send to the regis

Re: How do i use Spring security with open id in GWT ?

2010-03-03 Thread cretz
I didn't use Spring security with my OpenID impl. I simply use a hacked version of http://code.google.com/p/openid4java/source/browse/trunk/samples/consumer-servlet/src/main/java/org/openid4java/samples/consumerservlet/ConsumerServlet.java and redirect there when a user selects OpenID (or "login vi

Re: Integrate GWT with Windows Applications

2010-03-01 Thread cretz
I would recommend JNI on the server side. I have used things like JNative in the past for simple things, and JNI for more complicated ones. For your specific issue, make it platform independent. Simply have another thread (JMS, EJB asynchronous, etc) that uses a ProcessBuilder and Process#waitFor.

Re: NumberFormat/DateTimeFormat reusability

2010-02-24 Thread cretz
Since you are in JavaScript, thread safety should not matter as far as concurrent updates to object state. Regardless, you can see from the code in both classes that the state is not really changed once the pattern has been parsed. Of course, there can be memory size issues if you store lots objec

Re: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0

2010-02-11 Thread cretz
I too have seen many negative comments on SmartGWT. I am not associated with the project in any way, but I do use it for several projects lately. I do agree that some of it is difficult to debug/ understand do to the extensive use of JSNI. However, I have received great forum-based support, and I u

Re: Changed war destination no refresh

2010-02-05 Thread cretz
t 1:18 PM, cretz wrote: > > "A GWT Compilation is not necessary to run your application in > > development mode" > > > I don't necessarily agree with this. There have been times I have > > entered my application via development mode and it tells me "GWT

Re: Changed war destination no refresh

2010-02-05 Thread cretz
"A GWT Compilation is not necessary to run your application in development mode" I don't necessarily agree with this. There have been times I have entered my application via development mode and it tells me "GWT module 'MODULE_NAME' may need to be (re)compiled". I assume this only occurs when you

Re: Deprecation warning

2010-02-04 Thread cretz
Nope, even @Deprecated isn't an acceptable workaround :-( On Feb 4, 4:20 pm, cretz wrote: > I have a class w/ a couple of static JSNI methods referencing itself. > I deprecated the class, but when the GWT compiler comes across my > static JSNI method in the deprecated class, i

Deprecation warning

2010-02-04 Thread cretz
I have a class w/ a couple of static JSNI methods referencing itself. I deprecated the class, but when the GWT compiler comes across my static JSNI method in the deprecated class, it shoots out a warning saying I am referencing a deprecated class like so: [WARN] Warnings in 'file:/C:/dir/src

Re: JsonpRequestBuilder only works across domains?

2010-01-19 Thread cretz
I had this same issue. What I found out was that my script response from my JSONP service was failing, and that caused the timeout. Specifically, what my JSONP service did was add a couple of underscores to the beginning of the callback name as the variable name and use var to put the JSON in it. W

Re: Google Eclipse Plugin issue w/ GWT 1.7.1 and hosted mode

2009-10-22 Thread cretz
Duh! IE cache issue. Clearing cache resolves issue. On Oct 22, 11:25 am, cretz wrote: > Thank you very much for the quick reply. Sorry, I should have added > one more step: > > 6. Now go back and run testapp1 again. > > By the way, the 404 is not on the HTML, but rather t

Re: Google Eclipse Plugin issue w/ GWT 1.7.1 and hosted mode

2009-10-22 Thread cretz
Duh! Appears to be an IE cache issue on the HTML itself which was looking for the wrong resources. Clearing IE's cache solves the problem. On Oct 22, 11:25 am, cretz wrote: > Thank you very much for the quick reply. Sorry, I should have added > one more step: > > 6. Now go back

Re: Google Eclipse Plugin issue w/ GWT 1.7.1 and hosted mode

2009-10-22 Thread cretz
g the saved launch > configurations via the toolbar menu instead of using the Run As -> Web > Application menu item. > > Let me know what you find, > > Keith > > On Wed, Oct 21, 2009 at 5:24 PM, cretz wrote: > > > I am posting here before I post an issue to th

Google Eclipse Plugin issue w/ GWT 1.7.1 and hosted mode

2009-10-21 Thread cretz
I am posting here before I post an issue to the tracker to see if anyone has run across it. I am using Eclipse 3.4.2, but I doubt it's specific to an Eclipse version. Basically, if you have two unrelated Web Application projects in the same workspace that have the same HTML filename then running a