Hi,
does anyone have an idea how to open a new window on a form submit in woody
?
I have the following template:
<wt:form-template action="formselector" method="POST">
<wt:continuation-id/>
<table border="0">
.
.
.
.
<tr>
<td valign="top">
<wt:widget-label id="typ"/>
</td>
<td valign="top">
<wt:widget id="typ">
<wi:styling submit-on-change="true"/>
</wt:widget>
</td>
</tr>
</table>
<br/>
<wt:widget id="message"/>
<br/>
<br/>
<input type="submit" value="Go!"/>
</wt:form-template>
My javascript function looks like this:
function selectForm() {
var form = new Form("forms/formselector_form.xml");
form.showForm("formselector-view");
var project_no = form.getWidget("projekt");
cocoon.request.setAttribute("formselectorform", form.getWidget());
cocoon.sendPage(Project_no.getValue());
}
On submitting the above form Woody selects a pipline and generates a svg
graphic.
I'd like to have this svg on a new window, but I have no clue how to do
this, since putting an onclick="..." into the <input>Tag in the template does not
work as WoodytemplateTransformer does not support this.
Is there anybody out there who can help me out ?
Greetz,
Katharina
p.s: maybe there's a possibility for opening a new window with
cocoon.sendPage(), but I was looking at the docs and couldn't find anything...
--
HAKUNA MATATA !!!
+++ GMX - die erste Adresse f�r Mail, Message, More +++
Neu: Preissenkung f�r MMS und FreeMMS! http://www.gmx.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]