no, actually the parameter I want is not in URL, the only way to get it is process the request parameter in another pipeline, but the problem is these two pipeline both want the same match pattern, and I couldn't combine them, at least from my point of view. so is there any solution for that?
thanks
di
2006/7/18, Zbigniew Bomert OP <[EMAIL PROTECTED]>:
Do you mean howto access url parameters in the pipeline? Using
InputModule (see: http://wiki.apache.org/cocoon/InputModules), e.g.
Zhu Di wrote:
> hello all, I get some trouble when try to transmit parameter to <map:act>
>
> when I call a URL, like
> http://localhost/cocoon/exercise/test/en/get.xml?param1=**¶m2
> <http://localhost/cocoon/exercise/test/en/get.xml?param1=**¶m2 >=**
>
> < map:match pattern="/*/*/*/get.xml">
> <map:act type="serverpages" src="" href="file:///C:/test.xml">file:///C:/test.xml">
> <map:parameter name="data" value="/{1}/"/>
> <map:parameter name="testcase" value="{------}"/>
<map:parameter name="xxx" value="{request-param:param1}"/>
> <map:generate src=""
> <map:serialize type="html"/>
> </map:act>
> <map:generate src="">> <map:serialize type="html"/>
> </map:match >
>
> but now the problem is, for the value of parameter "testcase", the only
> way to get the value is from another pipeline, which process those
> request parameters (param1, param2). I try to add this process before
> "act", but it couldn't work, because I have 2 "generate". then How can
> I transmit the parame value to <map:act>.
Is that, what you need?
Zbigniew
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
