cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] FileUploadsWithFlow Main Thu Feb 12 01:00:07 2004
Date Thu, 12 Feb 2004 00:00:08 GMT
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:
+ {{{
+   <map:flow language="javascript" />
+     <map:script src="upload.js" />
+   </map:flow>
+ }}}
+ 
- Finally, change the <cocoon> element in WEB-INF/cocoon.xconf to read:
? ^^ ^^^^^

+ ...and change the <cocoon> 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).


Page: http://wiki.cocoondev.org/Wiki.jsp?page=Main , version: 338 on Wed Feb 11 23:24:48 2004
by 217.228.144.1

- 
+ vnvnbvnvnvbn



Mime
View raw message