cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bert Van Kets <>
Subject Re: How to open new windows and return control to the opener
Date Fri, 03 May 2002 15:13:14 GMT
Your question is not very clear.
I assume you want to open a new window and keep using the same window when 
data in the first window is changed and submitted again.
If you add the target attribute in the form tag using a name instead of 
"_blank", a new window will open.  ex. use <form target="newWindow" 
method="post" action="newURL.html">, then a new window will open named 
"newWindow".  Leave this window open and submit again from the first 
window.  The "newWindow" window will update.

You can access the data in the new window using JavaScript from BOTH 
windows.  Also keep in mind that both windows are in the same session (at 
least in IE).

Regarding your error in the new window, check your sitemap.  Are you sure 
you use the correct URL?  Is your expression in the pipeline correct?


At 16:30 3/05/2002 +0200, you wrote:
>Dear colleagues,
>does anybody know how to open a new cocoon page in a new window (I can use
>JavaScript and if the opened window has submitted I want to
>make a request to the opener window so that their values can be updated.
>Every time after opening the window, cocoon returns a dispatcher error. It
>seems like a sitemap has not be found. What is the best way  to do this with
>Thank you, best regards
>- Volker -
>Please check that your question has not already been answered in the
>FAQ before posting. <>
>To unsubscribe, e-mail: <>
>For additional commands, e-mail: <>

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message