cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastien Gabel" <>
Subject use tokens during flowscript call in a pipeline
Date Tue, 24 Aug 2004 14:31:21 GMT
Hi !
I'm surprised.....and I'm going to explain my problem ;
I would like to write a pipeline using action and flowscript :

<map:match pattern="*/*/display-xml">
      <map:act type="create-xml">
     <map:parameter name="file" value="{session-attr:curFile}"/>
     <map:parameter name="url" value="{request:reauestURI}"/>
     <map:call function="goTo">
          <map:parameter name="filename" value="{1}/{2}/{tempname}"/>

Ok my problem is here :
<map:parameter name="filename" value="{1}/{2}/{tempname}"/>
{1} and {2} are not found but all work correctly  if I put them in static.
e.g "{1}/{2}" becomes "dir1/dir2"
Nevertheless, {tempname} (result from the action) is found.

My question is why tokens {1} and {2} are no available ?
what can I do to avoid that ?

Thank you very much for any advice.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message