cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robby Pelssers <robby.pelss...@nxp.com>
Subject RE: Delete, move or rename files
Date Mon, 24 Dec 2012 01:26:06 GMT
Hi Peter,

I don’t have any hands-on experience with 2.1.x anymore.   But did you already check this
page? http://cocoon.apache.org/2.1/userdocs/concepts/actions.html

And the best way to learn usage would really be to download the Cocoon sources and check how
other actions work.

Kind regards,
Robby

From: Peter Sparkes [mailto:peter@didm.co.uk]
Sent: Sunday, December 23, 2012 9:42 AM
To: users@cocoon.apache.org
Subject: Re: Delete, move or rename files

Thanks Robby,

On your suggestion I have tried to write an action to delete a file with out success.

Please has anyone got an example.

Peter

On 22/12/2012 15:47, Robby Pelssers wrote:
Not sure how you envisualize that?  Of course that is possible.  Any application can access
the filesystem it is installed on.  So you easily write code that will do any of the below
operations. But I guess your question is if Cocoon does this magically for you?  No.  It might
have components like a directory generator to easily get information about any folder. But
you will still need to write actions that can handle delete / move / rename events.

Robby

From: Peter Sparkes [mailto:peter@didm.co.uk]
Sent: Saturday, December 22, 2012 4:44 PM
To: users@cocoon.apache.org<mailto:users@cocoon.apache.org>
Subject: Delete, move or rename files

Hi,

Is there anyway of

  1.  deleting,
  2.  moving
  3.  renaming

xml files on the server.

Thanks

Peter


Mime
View raw message