Re: How to force a Save As prompt?

2008-10-10 Thread Derek Hohls
David I agree with your examples below - I guess its been quite a long time since I had to work with systems that made me add .php or .jsp to my URLs. We are spoiled by Cocoon :) Derek On 2008/10/09 at 03:30, in message [EMAIL PROTECTED], David Legg [EMAIL PROTECTED] wrote: Derek,

Re: How to force a Save As prompt?

2008-10-09 Thread Derek Hohls
Dave Before getting into detail, I'd like to say that I do agree in principle with what you said below. My real issue probably lies in the fact that I have been around computers too long. If I look at archives of my files from the early 90's; when DOS still reigned supreme, I see names

Re: How to force a Save As prompt?

2008-10-09 Thread David Legg
Derek, Please add the reference/link for why URLs in Cocoon should not have an extension - I know its required, but why is it bad? It's not specific to Cocoon. I only mentioned that because Cocoon's sitemap makes it particularly easy to map a URL without an extension to some content.

RE: How to force a Save As prompt?

2008-10-09 Thread Geert Josten
Matthias, Simplest solution is to write multiple matches, one for each type of serializer you want to use. That's what I do.. Precompilation of the sitemap prevents the use of variables in for instance the type attributes of generators, transformers and serializers. The sitemap processor

Re: How to force a Save As prompt?

2008-10-09 Thread David Legg
Derek, Before getting into detail, I'd like to say that I do agree in principle with what you said below. Oh Good! I was worried for a moment when I saw the size of your response ;-) My real issue probably lies in the fact that I have been around computers too long. Ah yes... I

Re: How to force a Save As prompt?

2008-10-09 Thread Derek Hohls
David Please add the reference/link for why URLs in Cocoon should not have an extension - I know its required, but why is it bad? Derek On 2008/10/09 at 12:47, in message [EMAIL PROTECTED], David Legg [EMAIL PROTECTED] wrote: Mmmm... Does anyone still care about IE4 - the stats from

Re: How to force a Save As prompt?

2008-10-08 Thread Derek Hohls
Does anyone still care about IE4 - the stats from different sites suggest not: http://www.w3schools.com/browsers/browsers_stats.asp http://www.upsdell.com/BrowserNews/stat.htm http://www.thecounter.com/stats/2008/September/browser.php Looks like IE5 usage is down below 1% and no one even

AW: How to force a Save As prompt?

2008-10-08 Thread Matthias Müller
Aah, thanks for that, Geert's workaround works in my case. BTW, I don't care about older browser versions. The users of my project all uses at least IE6 best regards, matthias - Ursprüngliche Mail Von: David Legg [EMAIL PROTECTED] An: users@cocoon.apache.org Gesendet: Dienstag, den

AW: How to force a Save As prompt?

2008-10-08 Thread Matthias Müller
Hey, one more question: in your example you serialize your stream as xml. i want to be flexible with this, e.g. for xml or pdf files. matthias - Ursprüngliche Mail Von: Geert Josten [EMAIL PROTECTED] An: users@cocoon.apache.org users@cocoon.apache.org Gesendet: Dienstag, den 7.

Re: AW: How to force a Save As prompt?

2008-10-08 Thread Joerg Heinicke
On 08.10.2008 09:25, Matthias Müller wrote: Hey, one more question: in your example you serialize your stream as xml. i want to be flexible with this, e.g. for xml or pdf files. That's not a problem at all. Actually wrapping map:serialize in map:act is pointless in this case. Just have the

Re: How to force a Save As prompt?

2008-10-08 Thread David Legg
Mmmm... Does anyone still care about IE4 - the stats from different sites suggest not: By chance I came across another item [1] which seems to suggest that perhaps the problem is not exclusive to IE4. Maybe IE5 and IE6 are involved too. The article gets a few developers worked up

RE: How to force a Save As prompt?

2008-10-07 Thread Geert Josten
Hi, I typically do something like this: map:match pattern=download/*/** map:generate src=cocoon:/{2}/ map:act type=set-header map:parameter name=Content-Type value=application/x-download/ map:parameter name=Content-Disposition value=attachment ;

Re: How to force a Save As prompt?

2008-10-07 Thread David Legg
is there a way or workaround how i can force a Save As prompt for my cocoon output? The problem is that the browser knows the mime types of the generated files (xml, pdfs) and displays it instead of prompting. See

How to force a Save As prompt?

2008-10-07 Thread Matthias Müller
Hi there, is there a way or workaround how i can force a Save As prompt for my cocoon output? The problem is that the browser knows the mime types of the generated files (xml, pdfs) and displays it instead of prompting. regards, matthias

RE: How to force a Save As prompt?

2008-10-07 Thread Jasha Joachimsthal
-Original Message- From: Matthias Müller [mailto:[EMAIL PROTECTED] Sent: dinsdag 7 oktober 2008 14:28 To: users cocoon.apache.org Subject: How to force a Save As prompt? Hi there, is there a way or workaround how i can force a Save As prompt for my cocoon output? The