Thank you Thomas! I changed the function to parent.
It seams as if the parent.saveButton() function is unreachable from within an IFRAME. The IFRAME is the window to display the legacy code which is plain HTML.. This is the container definition: private static Frame myFrame = new Frame(); This frame is populated through http gets to the server. Could this be true about being unreachable? I have not figured out how to debug this other that it does not work. Ed Lang On Fri, Apr 1, 2011 at 6:25 AM, Thomas Broyer <[email protected]> wrote: > Your JSNI looks good. Your JavaScript is broken though: should be > onclick="parent.saveButton()" (I'd however probably put it in the onsubmit > of the form though...) > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
