On 12 nov, 12:34, 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?

FormPanel form = new FormPanel("_blank"); // equivalent to
target=_blank in HTML
form.setAction("http://action_script";);
form.setMethod(FormPanel.METHOD_POST);

// TODO: add some panels and your controls


--~--~---------~--~----~------------~-------~--~----~
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-Toolkit@googlegroups.com
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