You can't post a response to two browser windows at the same time. The second window doesn't even exist yet.
You have to open the second window using javascript in the onLoad event of teh page containing the html. In the window.open command add the url of the pdf and your's done.
Don't try to solve everything using the sitemap. Regular web site building techniques still apply in Cocoon!
Bert
At 22:21 28/01/2003 +0100, you wrote:
Just a warning. There has been a study recently that quite well confirms that using popups in a commercial web site is a good way to drive traffic AWAY from that site. Personally, they annoy the shit out of me. If I really needed to get my penis enlarged Id look it up on google.de. Getting offered it from half the web sites on the internet could be bad for self confidence. =)-- Robert ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 28, 2003 10:27 AM Subject: How to open 2 windows? > Hi, > > I want to open 2 windows on one "event". The xml/xsp (I mean the data) > would be the same, but the output would be: first window html, second > window pdf. > > e.g. my "dummy" sitemap: > ... > <!-- on submit generate *.html and *.pdf output --> > <map:match pattern="html-pdf"> > <map:generate type="serverpages" src="html-pdf.xsp"/> > <!-- generate a window with html output > <map:transform src="html.xsl"/> > <map:serialize> > --> > <!-- generate another window with pdf output > <map:transform src="pdf.xsl"/> > <map:serialize type="fo2pdf"/> > --> > </map:match> > > How can I manage this? Can I mange this from my sitemap? > > Cheers > Jonny > --------------------------------------------------------------------------- ------------------------- > > This electronic message contains information from the mmo2 plc Group which > may be > privileged or confidential. The information is intended to be for the use > of the > individual(s) or entity named above. If you are not the intended recipient > be aware > that any disclosure, copying, distribution or use of the contents of this > information > is prohibited. If you have received this electronic message in error, > please notify > us by telephone or email (to the numbers or address above) immediately. > > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
--------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>