cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volker Schneider" <volker.schnei...@danet.de>
Subject RE: Form submission - results to a new window? [OT?]
Date Mon, 10 Jun 2002 10:44:30 GMT
Hi Derek,

I'm afraid you have to do it with JavaScript:

<a href="javascript:doThis()" target="_blank">Do this</a>

With:

function doThis()
{
  document.forms[0].action = "forms/dothis";
  document.forms[0].submit();
}

Best regards
- Volker -

-----Original Message-----
From: Derek Hohls [mailto:DHohls@csir.co.za]
Sent: Montag, 10. Juni 2002 11:54
To: cocoon-users@xml.apache.org
Subject: Form submission - results to a new window? [OT?]


Hi

I appreciate that this is not strictly a Cocoon issue - but thought
there
might be a guru here to help....

I have a form which will be submitted to Cocoon for processing. 

>>From the XSLT:

<input type="submit" name="@target" value="Submit" />

where @target will obviously correspond to some Cocoon 
pipeline match entry eg.   "forms/dothis"

The question is - is it possible to force the output to appear 
in a new browser window - with <a href>, one could just 
use <a href="forms/dothis" target="_blank">
but can the equivalent be done for a form??

Thanks
Derek



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message