You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by do...@cocoon.apache.org on 2004/07/10 03:33:49 UTC
[Cocoon Wiki] Updated: WyonaFileUpload
Date: 2004-07-09T18:33:49
Editor: JoergHeinicke <jo...@gmx.de>
Wiki: Cocoon Wiki
Page: WyonaFileUpload
URL: http://wiki.apache.org/cocoon/WyonaFileUpload
no comment
Change Log:
------------------------------------------------------------------------------
@@ -44,7 +44,7 @@
need to add a pipeline which invokes the action.</p>
<section><title>actions</title>
- <source><![:CDATA[<map:actions>[...]
+ <source><![CDATA[<map:actions>[...]
<map:action logger="action.upload" name="file-upload"
src="org.apache.lenya.cms.cocoon.acting.!ArticleImageUploadCreatorAction">
<images-dir href="resources/images" />
@@ -56,7 +56,7 @@
]]></source>
</section>
<section><title>pipeline</title>
- <source><![:CDATA[<map:matchpattern="upload"><map:acttype="file-upload"><!--iftheactionsuceedsitreturnstherefererandwesimplyredirecttoit.--><map:redirect-touri="{$referer}"/></map:act><!--otherwisetheactioncouldnotvalidatesomeoftheinputandwepresenttheuploadformagain--><map:generatetype="serverpages"src="../../content/upload-image.xsp"/><map:transformsrc="../../xslt/upload-image.xsl"/><map:serializetype="html"/></map:match>]]></source>
+ <source><![CDATA[<map:matchpattern="upload"><map:acttype="file-upload"><!--iftheactionsuceedsitreturnstherefererandwesimplyredirecttoit.--><map:redirect-touri="{$referer}"/></map:act><!--otherwisetheactioncouldnotvalidatesomeoftheinputandwepresenttheuploadformagain--><map:generatetype="serverpages"src="../../content/upload-image.xsp"/><map:transformsrc="../../xslt/upload-image.xsl"/><map:serializetype="html"/></map:match>]]></source>
</section>
</section>
@@ -81,18 +81,18 @@
<dl>
<dt>images-dir</dt>
<dd>
- <![:CDATA[<images-dirhref="resources/images"/>]]>
+ <![CDATA[<images-dirhref="resources/images"/>]]>
store the upload images at this path (relative to the
publication).
</dd>
<dt>images-dir</dt>
- <dd><![:CDATA[<meta-dirhref="docs/metaDir"/>]]>
+ <dd><![CDATA[<meta-dirhref="docs/metaDir"/>]]>
store the xml files containing the meta information
(dublin core) for the uploaded file at this
path(relative to the publication).
</dd>
<dt>insert-image-before</dt>
- <dd><![:CDATA[<insert-image-beforevalue="false"/>]]>
+ <dd><![CDATA[<insert-image-beforevalue="false"/>]]>
Insert the media tag before the xpath if true
(default). Insert after otherwise.
</dd>