On Thu, 2004-04-08 at 17:29, Andreas Hartmann wrote:
> Hi Cocoon users,
> 
> [Setup: Cocoon 2.1.5-dev from CVS]
> 
> I'm using an input module (page-envelope) in a pipeline
> of a flowscript view:
> 
> <map:match pattern="form-select.xml">
>    ...
>    <map:transform src="lenya/xslt/common/submit-select.xsl">
>      <map:parameter name="use-request-parameters" value="true"/>
>      <map:parameter name="areabase"
> value="{request:contextPath}/{page-envelope:publication-id}/{page-envelope:area}"/>
>    </map:transform>
>    ...
> </map:match>
> 
> The problem is that the module gets a request object with
> the view URI:
>     /lenya2/mypub/form-select.xml
> 
> Some weeks ago it used to be the browser URI:
>     /lenya2/mypub/authoring/foo/bar/baz.html
> 
> Sylvain made some changes to the AbstractInterpreter, is it
> possible that they cause this behaviour?

It does not help, but I had the same problem with the same Input module
and it worked some weeks ago. So, I noticed the browser uri is only
available in the very first pipeline matching the initial browser
request. 

I found a way to workaround that:

In the first pipeline you have to encode the uri params, normally u
obtain from the page-envelope module, within the "internal" request uris
like we do it already in some places in Lenya i.e.

<map:pipeline>
  <map:match patter ="**verfirstrequest**"
  <map:generate
src="cocoon:/{page-envelope:publication-id}-{page-envelope:whatever}/furtherpath"/>
<map:pipeline>

<map:pipeline>
  <map:match patter ="*/*/**"
  <!-- do it -->
<map:pipeline>

BUT, I also switched back my app to older cocoon versions and that did
not help. I'm not really sure, because I did not track it further down,
but may have sth. changed in the PageEnveleopeInputModule?


-- 
Regards,

    Rolf Kulemann


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

Reply via email to