Re: GWT and SOAP - an easier way?

2011-11-16 Thread Luis Montes
GWT is to generate client code. I'm not sure why you'd want to access SOAP services directly from a webpage. You can make simple calls from the client with GWT-rpc, or AJAX REST or even JSON-RPC. SOAP is really heavy for this, and isn't built to work cross-domain. If you just need

Two GWT scripts in one page.

2011-10-27 Thread Luis Montes
So I've gotten GWT to make a cross domain script with the xsiframe linker and it works ok. However one problem: In my local GWT app i'm developing, I'm doing something like this: script type=text/javascript language=javascript src= http://otherhost.com/xsapp/xsapp.nocache.js;/script script

Re: Two GWT scripts in one page.

2011-10-27 Thread Luis Montes
That's the problem. I still need to use dev mode. There really should be some configuration for this. On Thu, Oct 27, 2011 at 9:23 AM, Thomas Broyer t.bro...@gmail.com wrote: You can use several GWT modules in the same HTML page, but then the DevMode applies for all of them. (at least I'm

Re: jquery?

2011-10-25 Thread Luis Montes
Maintaining JS doesn't have to become a nightmare on large projects. Other toolkits besides jquery have taken things like modularity,dependency management, and modularity into account. Write in GWT if you want to write in Java. On Tue, Oct 25, 2011 at 11:33 AM, Tomasz Gawel tomaszga...@op.pl

Cross domain builds

2011-10-19 Thread Luis Montes
I'm trying to get a cross domain build of my app, so I added: add-linker name=xs / to my module xml file I'm getting: [ERROR] Invalid linker name 'xs' I found an example where I could define the linker as: define-linker name=xs class=com.google.gwt.dev.linker.XSLinker / but that class doesn't

Re: Cross domain builds

2011-10-19 Thread Luis Montes
I've added an xsiframe linker. Should I have gotten an additional -xs.js file? The standard looking js file it created doesn't work loaded from a different domain. Luis On Wed, Oct 19, 2011 at 12:00 PM, Thomas Broyer t.bro...@gmail.com wrote: I didn't remember the linker being removed, but

Re: Cross domain builds

2011-10-19 Thread Luis Montes
Ok, the build output just looks like the standard linker was used. Since its still the nocahe.js and html files The output error looked the same as before: Unsafe JavaScript attempt to access frame with URL http://localhost:8080/webclient/ from frame with URL

Re: Global Event Bus ?

2011-10-17 Thread Luis Montes
Thanks for the help guys. I got it working using a modified version Tomasz's implementation. I think the main difference with mine was that it's only taking JavascriptObject for an event object and that the bus itself is an javascript object. Luis On Fri, Oct 14, 2011 at 5:25 PM, Stefan

Global Event Bus ?

2011-10-13 Thread Luis Montes
for this to be fixed. Is there a better way to achieve Pub/Sub globally on separately compiled GWT apps? Can whatever mechanism that is be exported to be used by non-GWT code? Thanks, Luis Montes -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group