Return-Path: Delivered-To: apmail-cocoon-docs-archive@www.apache.org Received: (qmail 85689 invoked from network); 11 Feb 2004 23:01:11 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Feb 2004 23:01:11 -0000 Received: (qmail 42545 invoked by uid 500); 11 Feb 2004 23:00:18 -0000 Delivered-To: apmail-cocoon-docs-archive@cocoon.apache.org Received: (qmail 42488 invoked by uid 500); 11 Feb 2004 23:00:18 -0000 Mailing-List: contact docs-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: docs@cocoon.apache.org Delivered-To: mailing list docs@cocoon.apache.org Received: (qmail 42359 invoked from network); 11 Feb 2004 23:00:17 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (157.193.121.51) by daedalus.apache.org with SMTP; 11 Feb 2004 23:00:17 -0000 Received: from otsrv1.iic.ugent.be (localhost [127.0.0.1]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id i1BN0MO19615 for ; Thu, 12 Feb 2004 00:00:23 +0100 Date: Thu, 12 Feb 2004 00:00:23 +0100 Message-Id: <200402112300.i1BN0MO19615@otsrv1.iic.ugent.be> From: stevenn@outerthought.org To: docs@cocoon.apache.org Subject: [WIKI-UPDATE] FileUploadsWithFlow Thu Feb 12 00:00:22 2004 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithFlow , version: 15 on Wed Feb 11 23:05:14 2004 by MarkLundquist - Then write the flow function: + Then write the flow function, let's call it 'upload.js': - sendPage("success.html"); + cocoon.sendPage("success.html"); ? +++++++ - sendPage("failure.html"); + cocoon.sendPage("failure.html"); ? +++++++ + + ...and register it in the sitemap: + {{{ + + + + }}} + - Finally, change the element in WEB-INF/cocoon.xconf to read: ? ^^ ^^^^^ + ...and change the element in WEB-INF/cocoon.xconf to read: ? ^^^^ ^ + + Finally, set the __enable-uploads__ parameter in WEB-INF/web.xml to __true__ (this is already done for you if you built Cocoon with 'cocoon.enable-uploads=true' in build.properties or local.build.properties).