Hi there, I'm using and action-set to do some processing based on request parameters before I generate the XML for the Pipeline. I use 2 actions in this set to get different attributes set for the XML generation (done by an aggregation of a XSP and a Generator we created). Everything is working fine except for a small problem with passing parameters from one of the action-set actions to the pipeline it's called from. Our action-set is the following:
<map:action-sets> <map:action-set name="FileActions"> <map:act type="FileFetcher" src="fotos/{autor_id}/"> <map:act type="CreateThumbnail" src="{local_file}"/> </map:act> </map:action-set> </map:action-sets> and the sitemap only gets the parameters from the CreateThumbnail action. (Note: CreateThumbnail is nested inside FileFetcher because it needs the parameter {local_file} set by the 1rst action) Is there anything wrong with this that might cause this behaviour? I'm running this in a sub-sitemap on Cocoon 2.3. If I repeat the FileFetcher action without having anything nested inside it the parameteres are all passed from the 2 actions onto the pipeline calling the action-set: <map:action-sets> <map:action-set name="FileActions"> <map:act type="FileFetcher" src="fotos/{autor_id}/"> <map:act type="CreateThumbnail" src="{local_file}"/> </map:act> <map:act type="FileFetcher" src="fotos/{autor_id}/"/> </map:action-set> </map:action-sets> If I don't nest the 2 actions the parameters from FileFetcher are not passed to CreateThumbnail and that's not what I want: <map:action-sets> <map:action-set name="FileActions"> <map:act type="FileFetcher" src="fotos/{autor_id}/"/> <map:act type="CreateThumbnail" src="{local_file}"/> </map:action-set> </map:action-sets> I'd appreciate a little help on this if possible, thanks a lot!! Have a great 2003. Kind regards, Tiago Dias http://ptsoft.net/tdd/ Student at FCT-UNL (http://di.fct.unl.pt) --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>