My Apologies and thank you Thomas. This is perfect. I failed to see
that you had added the alternate code to the quote.
Thanks again.
Robert.
On Jun 11, 1:32 am, Thomas Broyer t.bro...@gmail.com wrote:
Wouldn't it be easier to rewrite your openReportWindow in Java rather than
JSNI?
On
I wasn't talking about FormPanel and its SubmitCompleteEvent. Go back read
my previous message, I gave you almost all the code (if not all).
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Also, you can get a FormPanel to post to target=_blank if you like (or
target=whatever, or a NamedIframe widget if you prefer not opening a
window/tab).
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web
Actually I don't think it's as simple as you'd think. Gwt java objects
are pretty opaque to JSNI. Depending on what you need, i'd suggest
using JSONObject as a replacement for HashMap. That should probably
work for you.
On Jun 8, 9:19 pm, rsutton rsut...@asteriskit.com.au wrote:
I am trying to
Wouldn't it be easier to rewrite your openReportWindow in Java rather than
JSNI?
On Thursday, June 9, 2011 3:19:05 AM UTC+2, rsutton wrote:
var form = document.createElement(form);
FormElement form = Document.get().createFormElement();
form.setAttribute(method, post);
when I do a post from gwt, the generated html page is returned in an
object. there are 2 problems with this.
1. I want the browser to render the returned page
2. this report could be excess of 1GB.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
OK, I'll try this.
Thanks
On Jun 11, 12:03 am, Derek derekad...@gmail.com wrote:
Actually I don't think it's as simple as you'd think. Gwt java objects
are pretty opaque to JSNI. Depending on what you need, i'd suggest
using JSONObject as a replacement for HashMap. That should probably
work
I am trying to pass a Hashmap to a native method as can be seen below.
I have been unable to find any suitable example code. Any assistance
would be greatly appreciated.
I know this is simple, I just haven't done it before.
Thanks.
public void onClick(ClickEvent event)
{
MapString,
Hi all,
In my actual GWT Project, i have a strange error. I have a native
Javascript method for resizing the div, where my google map is in it.
The method works fine in the normal browser, but as soon as i run it
in the hosted mode, i get an error.
The method is:
public static native void
You can add the javascript through GWT like so:
// A Java method using JSNI
native void sayHelloInJava(String name) /*-{
$wnd.sayHello(name); // $wnd is a JSNI synonym for 'window'
}-*/;
For more examples go here:
Hi
I have no experience with javascript at all. In order to talk with an
addServer I need need to add following code to my gwt app:
script type='text/javascript'!--// ![CDATA[
/* [id120894] spood.me - Sky */
OA_show(120894);
// ]] --/scriptnoscripta target='_blank' href='http://
11 matches
Mail list logo