Many thanks for the JSNI approach. Could you elaborate a little bit on
"more elegant means too with server side efforts."?


On May 16, 9:06 pm, Joseph Lust <[email protected]> wrote:
> Working from memory, usually if you open a new window, the child retains a
> reference to its parent (opener). So, you can have it refer back to its
> parent <http://www.w3schools.com/jsref/prop_win_parent.asp> and ask for
> content.
>
> So, I think you could achieve this with:
>
>    1. Do your async call
>    2. Open a new window
>    3. New window is blank URL and simple JS to ask parent for content (ask
>    through a JSNI method to GWT)
>    4. Return the request from (3) with the HTML returned from your async.
>    5. Replace the content of the child window with the target HTML.
>
> That should do it, but you could also find more elegant means too with
> server side efforts.
>
> Sincerely,
> Joseph

-- 
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.

Reply via email to