cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastien Gabel" <Sebastien.Ga...@edag.de>
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}"/>
     </map:call>
     </map:act>
</map:match>

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.

Sebastien




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message