Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 1677 invoked from network); 20 Feb 2005 16:22:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Feb 2005 16:22:49 -0000 Received: (qmail 98500 invoked by uid 500); 20 Feb 2005 16:22:45 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 98485 invoked by uid 500); 20 Feb 2005 16:22:45 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 98471 invoked by uid 99); 20 Feb 2005 16:22:45 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp-vbr15.xs4all.nl (HELO smtp-vbr15.xs4all.nl) (194.109.24.35) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 20 Feb 2005 08:22:43 -0800 Received: from [10.0.0.152] (daigeert.xs4all.nl [80.127.22.250]) (authenticated bits=0) by smtp-vbr15.xs4all.nl (8.12.11/8.12.11) with ESMTP id j1KGMe5n059453 for ; Sun, 20 Feb 2005 17:22:40 +0100 (CET) (envelope-from Geert.Josten@daidalos.nl) Message-ID: <4218B952.5030102@daidalos.nl> Date: Sun, 20 Feb 2005 17:22:42 +0100 From: Geert Josten Organization: Daidalos BV User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Save pipeline results on client References: <4218A376.3080005@openskysolutions.ca> In-Reply-To: <4218A376.3080005@openskysolutions.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Nick, I think your approach is the best bet. Isn't there a way to trigger the Save dialog from JavaScript, the way some sites are able to trigger the printing dialog? Cheers > Hi everybody, > > Thank you for reading this post. I need some help with storing pipeline > results on the client side. The ultimate goal is to have somewhere a > button, which, when clicked, will provide a "Save as" dialog box, so > that the user will be able to save the produced XML to his or her file > system. > > When I was trying to implement that, I could not come up with anything > better, than having a JavaScript enabled button, that will open a new > browser window. Window's location will point to a pipeline which ends > with an XML serializer with some non-default mime type (or I guess, I > can make a reader for this purpose). As the result, the browser will not > try to render the content, but rather offer a dialog box that prompts > user to either select a suitable application to work with the file with > or to save it to disk. > > Are there any more elegant solutions? Thank you very much for your time. > > Sincerely, > Nick Goupinets. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > > -- Geert.Josten@Daidalos.nl IT-consultant at Daidalos BV, Zoetermeer (NL) http://www.daidalos.nl/ tel:+31-(0)79-3316961 fax:+31-(0)79-3316464 GPG: 1024D/12DEBB50 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org