How to open 2 windows (again)?
Hi, I asked this before and I got an good answer. I want to open 2 windows on one event. The xsp (I mean the data) would be the same, but the output would be: first window html, second window pdf. I was told that I couldn't handle this in the sitemap. I'd rather put an open(thePdf) in the onLoad-event of the html-page. Ok. Makes sense. But in the beginning I'm passing parameters to the xsp to create the data dynamically. So this would mean I would have to again pass the parameters to the html-page, which would pass them again to the xsp page. The data there would now get created a second time (and the pdf would be created). Because its much data (reports with maybe up to 10.000 - 50.000 entries) this is somehow a lousy solution. Isn't there a simpler way to solve this problem? 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]
Antwort: How to open 2 windows (again)?
Hi! I think the big problem is not to write out two different outputs from one request, but the real problem is to send these responses on one request. It should be posible to write a pdf from the same request to disk (server), and the html in the browser (the original response) requests this pdf (already a file!) eg. with an onload event in the body tag. That could make sence for so much data. As far as i know, this solution is not supported by Cocoon yet, but the implementation should not be that effort. cheers manfred [EMAIL PROTECTED] am 30.01.2003 10:29:16 Bitte antworten an [EMAIL PROTECTED]@inet An: [EMAIL PROTECTED] Kopie: Thema: How to open 2 windows (again)? Hi, I asked this before and I got an good answer. I want to open 2 windows on one event. The xsp (I mean the data) would be the same, but the output would be: first window html, second window pdf. I was told that I couldn't handle this in the sitemap. I'd rather put an open(thePdf) in the onLoad-event of the html-page. Ok. Makes sense. But in the beginning I'm passing parameters to the xsp to create the data dynamically. So this would mean I would have to again pass the parameters to the html-page, which would pass them again to the xsp page. The data there would now get created a second time (and the pdf would be created). Because its much data (reports with maybe up to 10.000 - 50.000 entries) this is somehow a lousy solution. Isn't there a simpler way to solve this problem? 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]
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]
Re: How to open 2 windows?
On Tuesday 28 January 2003 17:27, [EMAIL PROTECTED] wrote: 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? I am far from an expert, but it seems like you are asking for something impossible (there is only a single destination). However, by applying your HTML knowledge, you can have the first html.xsl generate a OnLoad and automatic popup (different URL) that brings the PDF document in a separate window on the client with the second HTTP request. Maybe not clear enough, understand? Niclas - 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]
Antwort: Re: How to open 2 windows?
Hi! You are absolut right Niclas, ONE request = ONE response so the first window must have some Javascript inside which is called by an onload event in the body tag. This script opens the second window with the pdf inside. cheers Manfred [EMAIL PROTECTED] am 28.01.2003 10:28:53 Bitte antworten an [EMAIL PROTECTED]@inet An: [EMAIL PROTECTED] Kopie: Thema: Re: How to open 2 windows? On Tuesday 28 January 2003 17:27, [EMAIL PROTECTED] wrote: 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? I am far from an expert, but it seems like you are asking for something impossible (there is only a single destination). However, by applying your HTML knowledge, you can have the first html.xsl generate a OnLoad and automatic popup (different URL) that brings the PDF document in a separate window on the client with the second HTTP request. Maybe not clear enough, understand? Niclas - 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]
RE: How to open 2 windows?
Hi, If the event you mention is clicking a hyperlink in a html page, maybe you could use javascript in the the onClick event to open one window and open the second window with the hyperlink. Just a thought, Michael -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 28-1-2003 10:27 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]
Re: How to open 2 windows?
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]
Re: How to open 2 windows?
I agree, but there are occasions that opening two windows is very valid. 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]
Re: How to open 2 windows?
On Wednesday 29 January 2003 05:21, Robert Simmons 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. =) I agree ( where do you can you get the enlargement, you said?? ;o) ) A lot of people disables pop-ups, or (like me) have the browser ask me if I want it. First one on a site, I consider ok. If commercial, then permenantly turned off for that site. I can't turn it off all the time, since some sincere sites are using this technique, for other things than adverts. Niclas - 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]
Re: How to open 2 windows?
I had a great page today. The dumb shits put a JavaScript action on closing the page that popped up a dialog saying if you want to stay at our page, press ok. If you don't want to leave press cancel. The only way you could leave that page was to kill the browser with the task manager. They may think that is smart but I know one thing, Ill never buy a single product from them. I don't remember the URL though so don't ask. =) -- Robert - Original Message - From: Niclas Hedhman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 3:31 AM Subject: Re: How to open 2 windows? On Wednesday 29 January 2003 05:21, Robert Simmons 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. =) I agree ( where do you can you get the enlargement, you said?? ;o) ) A lot of people disables pop-ups, or (like me) have the browser ask me if I want it. First one on a site, I consider ok. If commercial, then permenantly turned off for that site. I can't turn it off all the time, since some sincere sites are using this technique, for other things than adverts. Niclas - 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]
AW: How to open 2 windows?
hi robert, you are right that commercial popups are annoying people and maybe keep them away from the sites, which using them, BUT do you consider cocoon only for publish internet website. I see cocoon as well as an framework to create web based user interfaces to backend applications. Therefore I would like to create a user centric interface, which is as most convinient for the user. Having more than one window per application is nothing new, right and at some point very helpful and time saving especially in the network world of the internet. regards Lars -Ursprüngliche Nachricht- Von: Robert Simmons [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 29. Januar 2003 05:21 An: [EMAIL PROTECTED] Betreff: Re: How to open 2 windows? 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]
Re: How to open 2 windows?
On Wednesday 29 January 2003 10:50, Robert Simmons wrote: I had a great page today. The dumb shits put a JavaScript action on closing the page that popped up a dialog saying if you want to stay at our page, press ok. If you don't want to leave press cancel. The only way you could leave that page was to kill the browser with the task manager. They may think that is smart but I know one thing, Ill never buy a single product from them. I don't remember the URL though so don't ask. =) I assume you are using IE. Not sure what you can customize with the JavaScript settings in it. If not much, I suggest you get a better browser. Opera or a Linux based one, like Konqueror (comes with KDE), gives the user the all the control it takes (control over window.open). Niclas - Original Message - From: Niclas Hedhman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 3:31 AM Subject: Re: How to open 2 windows? On Wednesday 29 January 2003 05:21, Robert Simmons 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. =) I agree ( where do you can you get the enlargement, you said?? ;o) ) A lot of people disables pop-ups, or (like me) have the browser ask me if I want it. First one on a site, I consider ok. If commercial, then permenantly turned off for that site. I can't turn it off all the time, since some sincere sites are using this technique, for other things than adverts. Niclas - 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]