)}
and then on the ButtonElement you set the value i.e. setValue(clickMe())
it worked as well
anyway
you're welcome
Il 28/10/2012 01:29, Hugues ha scritto:
Just to let you know i tried something like that :
The wrap work perfectly with an element of the current dom
, October 28, 2012 11:37:15 AM UTC-5, Hugues wrote:
In fact it does not work :-/
I don't understand. In my debug i see the correct element but the wrap
fail. I suppose the wrap fail because the element is not attached to the
main DOM.
Is it possible in gwt to wrap an element from an iframe
();
DOM.eventPreventDefault(event);
break;
}
}
}
Thanks Fabio for your help.
On Sunday, October 28, 2012 11:41:13 AM UTC-5, Hugues wrote:
Ok i see why , look at the source code of anchor :
public static Anchor wrap(Element element) {
// Assert that the element is attached
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
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
, 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
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
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
:16 PM UTC-5, Fabio wrote:
EXACTLY
get the Document, creaate a ButtonElement from the Document.
But you must also create a ScriptElement and set the text of the function
and then call click from the ButtonElement
Il 27/10/2012 23:48, Hugues Lara ha scritto:
So i should get my
I have a gwt client app that need to call a servlet to get the data.
The call to the servlet need to be inside the same server because of
browsers security feature.
I can figure out how to do it in production mode, but I want to do it
also in development mode to avoid compiling the app for every
On 12 nov, 18:39, hugues huguespisa...@gmail.com wrote:
On 12 nov, 13:35, Daniel Kurka kurka.dan...@googlemail.com wrote:
I found a very UGLY solution to my problem (which enables me to continue
working).
I replaced in LowLevelSaf.java public static native void gcUnprotect(int,
int
a file for GWT 1.5.3 on that same pattern if people are
insterested... but I've got nowhere to put it. It's +9MB.
- Hugues
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com
12 matches
Mail list logo