Hi,
On 10/01/2008, Nicolas M <[EMAIL PROTECTED]> wrote:
>
>
> Thanks for th answer but have you got a way to implement it ???
>
> I try to do the same as the add document action which is using the
> actions.js ( So when you try to create a new document which already exists
> the user got an alert )
>
> in the sitemap there s this matcher :
>
> <map:match pattern="copy(**,**/*)">
> <map:call function="copy">
> <map:parameter name="source" value="{repository:files}{1}"/>
> <map:parameter name="destination"
> value="{repository:files}{2}/{3}"/>
> <map:parameter name="collection" value="{2}"/>
> <map:parameter name="uriPrefix" value="{repository:files}"/>
> <map:parameter name="rename" value="false"/>
> </map:call>
> </map:match>
>
> And i don t how or where is it called ???
I can't find any reference to it elsewhere so it's either (a) not used or
(b) called by something that's dynamically-generated (like the workflow
actions).
> So my question is ; How and where the first matcher is called ???
My guess is that it's (b), from the dynamically-generated cform for
workflow.
Andrew.
--
Sourcesense: Making sense of Open Source
Tel: +44 (0)870 741 6658 Fax: +44 (0)700 598 1135
Web: http://www.sourcesense.com/
********************************************
Hippocms-dev: Hippo CMS development public mailinglist