Thanks for your reply. I considered <form ... target="blank"> as well before I posted this question. However you should know that currently my architecture utilizes only one <form> trag to which various user inputs (e. g. buttons) submit. On serverside I gather the information which action was intended. The problem is that there is only one single button within my client view that would require to open a new browser window. Any others should remain updating the same browser window. Therefore I was asking if there is a possibility that cocoon could create a new browser window.
As a workaround I'm doing it as follows however in a future release of my application I'd like to avoid javascript at all: <form action="/xxx" method="get"> <input name="process" type="hidden"> ... <input type="submit" onclick="document.forms[0].process.value='regular'" value=" A regular action that should update current view "/> ... <input type="submit" onclick="document.forms[0].process.value='new', document.forms[0].target='_blank'" value="open new browser window! "/> ... </form> It seems that there is no way out to use my current design without javascript. Regards, Harald At 09:41 3/05/2002 +0200, you wrote: >You can achieve this in HTML by setting the target of your form to >"_blank" which will post the results to a newly openned window. >The javascript solution is better if you want more control over how the >newly openned window looks. > >Andrew > >On Fri, 2002-05-03 at 09:38, yuryx wrote: > > [EMAIL PROTECTED] wrote: > > > > >Currently my application consists of cocoon-actions that invoke xsp/xsl > > >files upon requests. As normal the new output always refreshes the > client's > > >browser view. > > >Based on some calculations at the actions I'm required to delegate the > > >response not to the current browser window but to a newly opened > browser window. > > >An examle would be a printable view of a web page. Is this possible with > > >cocoon2? How could I accomplish it? > > > > > >Thanks for your comments! > > > > > >Harald > > > > > try use javascript for open new window, and submit form within it. > > Yury. > > -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>