I have problem with passing map:parameters into space described as <!-- on
action:set-success -->
Please read my comments in order [[1]], [[2]], [[3]]
Any idea, pls?
<map:resources>
<map:resource name="stage1">
<map:act type="xsp-action" src="act_something.xsp">
<!-- [[3]] I tried to uncomment following line it did not fix
anything -->
<!-- <map:parameter name="myparam" value="{myparam}"/> -->
<!-- on action:set-success -->
<map:call resource="stage2">
<map:parameter name="myparam" value="{myparam}"/>
<!-- [[2]] HERE {myparam} reference DOES NOT WORK -->
</map:call>
</map:act>
<!-- on action:set-failure -->
<!-- [[1]] if I use here {myparam} it works -->
<!-- [[4]] I can always make my action to swap set-success with
set-failure, but it's not good solution (to place code which needs params
here) -->
<map:redirect-to uri="wrong">
</map:resource>
</map:resources>
let's say that "stage2" resource is good working set of generate, transform
and serialize tasks..
and in pipelines also all is correct..
<map:pipelines>
<map:pipeline>
<map:match pattern="this-one">
<map:call resource="stage1">
<!-- and here we set parameter -->
<map:parameter name="myparam" value="123456"/>
</map:call>
</map:match>
</map:pipeline>
</map:pipelines>
--
Hubert Trzewik
Prosystel Sp. z o.o.
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]