iframe event / gwt 2.5

2012-10-27 Thread Hugues Lara
Hi, I want to fire a popup when i click in an iFrame and get the target element in order to recover his id. Why the ONCLICK event don't work ? The ONLOAD work perfectly. Thanks Code Sample : package com.exp.client; import com.google.gwt.user.client.DOM; import

com.google.gwt.user.client.ui.Frame + Event handler / GWT 2.5

2012-10-27 Thread Hugues Lara
Hi, I am actually migrate a web application to GWT. In order to reuse the existing page i put them in frame. However i have to develop a new popup for one of them and i would like to let this popup attached to the main module. Before i was parsing the html to get the element and with RootPanel

Re: com.google.gwt.user.client.ui.Frame + Event handler / GWT 2.5

2012-10-27 Thread Hugues Lara
, October 27, 2012 3:38:59 PM UTC-5, Fabio wrote: Hi did you add a ClickHandler ? it doesnt seems to implements a clickHandler bye Il 27/10/2012 22:07, Hugues Lara ha scritto: Hi, I am actually migrate a web application to GWT. In order to reuse the existing page i put them

Re: com.google.gwt.user.client.ui.Frame + Event handler / GWT 2.5

2012-10-27 Thread Hugues Lara
to CREATE a javascript, in that case everything has been already translated into javascript is that clear ? Il 27/10/2012 22:56, Hugues Lara ha scritto: Hi, My goal is to set gwt button inside my iFrame. If I do a RootPanel.get(my id).add(myButton) , it don't work because the id

Re: com.google.gwt.user.client.ui.Frame + Event handler / GWT 2.5

2012-10-27 Thread Hugues Lara
provides mechanism to manipulate html page and Javascript so your html page now must be handled by a reverse engineering and threat that button as a ButtonElement is that clear ? Il 27/10/2012 23:38, Hugues Lara ha scritto: To be honest i don't get it at all ... An other idea was to get