Reading and passing parameters in the sitemap

2003-11-16 Thread Jan Wielgus
Hello,

here a sniplet from my sitemap:


 
  


  

 


and this is and excerpt from my xsl file where i have the form for
file uploading:




Name: 
Datei: 





so, the form action goes to the pipeline which I showed above. Now I
have the following problem: I would like to pass the parameter
"gr_name" to the redirect-uri which is used in the pipeline. How to
do this? Furthermore - I would like to pass the path of the saved
file there, are there any possibilities to do this?

Any help would be appreciated

Regards

Jan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Reading and passing parameters in the sitemap

2003-11-17 Thread Stefan Klein
Jan,

> have the following problem: I would like to pass the parameter
> "gr_name" to the redirect-uri which is used in the pipeline. 
Use input modules. The RequestParameterModule lets you do exactly that.
Just put {request-param:gr_name} into the redirect-uri.

(Also see http://wiki.cocoondev.org/Wiki.jsp?page=InputModules)


> Furthermore - I would like to pass the path of the saved
> file there, are there any possibilities to do this?
Would the pass not simply be
"e:/cocoon-2.1.2/build/webapp/LetterMan/grafiken/{1}/" as you as
parameter to the action? Or maybe
"e:/cocoon-2.1.2/build/webapp/LetterMan/grafiken/{1}/{request-param:gr_n
ame}" if you want the path+filename. If not, get back to me.

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]