What happens if compiled script (iframe content) is loaded after outer page is parsed

2014-12-28 Thread Jose María Zaragoza
Hello: Reading the GWT Bootstrap on Googles page http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html#DevGuideBootstrap I wonder what happens if host page is parsed before iframe's contents are loaded. Does it wait for it ? Does it do anything ? I know onInjectionDone() funct

Run GWT app by demand + xs linker

2013-01-08 Thread Jose María Zaragoza
Hello: I'm using GWT 2.3 I want to run a GWT application by demand, i.e, clicking an external HTML button ( I mean, this button doesn't belong to GWT application ) I can do that when I use std linker (iframe bootstrap mechanism). I do it by modifying DOM with Javascript But now I need to use

Generate -xs.noche.js doesn't work

2013-01-04 Thread Jose María Zaragoza
Hi: I'm using GWT 2.3 I need to generate -xs.noche.js for my GWT module. I compile it with ANT like this I included into my Module

iframe + radio button + flash

2012-12-05 Thread Jose María Zaragoza
Hello: There is a issue in Chrome about pages with flash objects and iframes containing radio button. The problem is a white border around this widget. http://code.google.com/p/chromium/issues/detail?id=141412 In this page there is an example It's a Chrome bug ( and very old , by the way

ImageBundle + PNG transparency + GWT 2.3

2012-11-06 Thread Jose María Zaragoza
Hello: I'm using GWT 2.3 and I've read that ImageBundle manages in a right way the IE5+ issue about PNG transparency ? Is it right ? Respect about others images not bundled ( background images in CSS ) , what do you recommend to fix this question ? Thanks and regards -- You received this

setHTML example , unsafe ?

2012-10-30 Thread Jose María Zaragoza
Hi: I'm reading about XSS attacks and GWT unsafe code. I've got a method ( client side) public void print(String message) { widget.setHTML(message) } And this method is invoked by others methods (client side) on this way: this.print("This is an error"); this.print("This is another error")

Re: Destroy a widget

2012-10-30 Thread Jose María Zaragoza
El lunes, 29 de octubre de 2012 21:46:34 UTC+1, Jens escribió: > > When you create two HelloWorld widgets each of them receives its own > events. If you use @UiHandler in your UiBinder widget and you want to stop > receive events for a widget without removing the widget itself from the > paren

Re: Destroy a widget

2012-10-30 Thread Jose María Zaragoza
> > If you want to "destroy" h1, and have it stop reacting to events, simply > remove it from the dom and ensure it is garbage collected (ie. set your > reference to null): > > panel.remove(h1); > h1 = null; > Thanks Garbage collected? I thought that we were in a Javascript world Setting to n

Destroy a widget

2012-10-29 Thread Jose María Zaragoza
Hi: I use GWT 2.3 and this question may sound a little bit weird I create a Widget component calling initWidget(uiBinder.createAndBindUi(this)) into uibinder owner constructor method. public HelloWorld() { initWidget(uiBinder.createAndBindUi(this)); } Therefore, uibinder owner implem

Detect *only* when browser is closing (WindowCloseListener)

2011-08-12 Thread Jose María Zaragoza
Hi: I would like to detect *only* when browser is closing About WindowCloseListener documentation, events are fired after the browser window closes or navigates to a different site. And I dont want to do anything when go to another site How I can to know this ? Thanks and regards -- You rece

GWT + Tomcat + Realm FORM authentication

2011-07-14 Thread Jose María Zaragoza
Hi: I would like to use realm FORM authentication in my GWT application, running on Tomcat 7.x I got it working using by FormPanel ( with target = "_top" ) and web.xml configuration as /login.jsp /error.jsp As I said, all works fine. But there is a pr