What I am hearing here is that in the existing system, a response or
redirect occurs after you POST to the action_script URL, which
replaces the document in the current window. But you want to use GWT
to make that same document open in a new window? And you have no
control over the server side implementation? I think you're stuck.
What comes back from the POST is a page reload, and that means your
GWT javascript in the original page is gone. Did I misunderstand the
plumbing?
If you want to open a new window to a known location in GWT, it looks
like this:
Window.open(new_url_string, unique_window_name, "");
I don't know if that helps though.
Walden
On Nov 12, 6:34 am, Cesc <[EMAIL PROTECTED]> wrote:
> Hi all,
> I've searching all around the discussions and although there were a
> few hints, I couoldn't find a suitable solution.
>
> In HTML, I have a form like:
>
> --------------
> <form name="retrieve" method="POST"action="http://action_script">
> <input type="submit" value="submit">
>
> <table >
> <tR>
> <td align=center><div style="padding: 1px 1px 1px 1px; background-
> color: rgb(0,255,0); border: solid black 1px;"><input name="dataset"
> type="checkbox" value="datasetID"></div></td><td>Dataset</td></tr>
> </table>
> </form>
> ----------------
>
> When I click on submit, a new url is opened and process the datasetID
> accordingly, for example, a new html page displaying: "You have
> selected datasetID="...." ".
>
> I want to reproduce this behaviour with GWT, submitting some
> parameters via POST, opening a new browser window with that datasetID
> being passed.
>
> Anyone with similar experience?
>
> Note: The action_script is not changable, requires data being passes
> via POST, I cannot do anything in that side.
>
> Thanks!!!!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---