cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <>
Subject RE: portal-html-eventlink transformer and req-params ?
Date Mon, 28 Jun 2004 13:33:09 GMT
If I understand you correctly, the problem is in the pipeline calling
your coplet pipeline (calling page2?a=1).

The statement is in the sitemap in coplets/html/sitemap.xmap:


"{coplet:temporaryAttributes/application-uri}" should be replaced with the
original URI: page2?a=1, so the src for the generator will be


which is obviously not a valid URL. If you don't need the coplet id in your
pipeline, you could remove the "?copletid={coplet:#}" from the statement.

If this is your problem, we could solve it by either using a different
to build the uri or by always including the copletid in the uri. This could
be done by the html-eventlink transformer.


> -----Original Message-----
> From: Philippe Guillard [] 
> Sent: Monday, June 28, 2004 6:42 AM
> To:
> Subject: portal-html-eventlink transformer and req-params ?
> Hi,
> On last cvs 2.1, with cachingURI coplet adapter and 
> portal-html-eventlink transformer, links like <a 
> href="page2?a=1">page2</a> are transformed in action=x&event=y
> I discovered the original request-params like "a" are put 
> before the question mark in the query string :
> a=1?copletid=app-test-1&cocoon-portal-action=1&cocoon-portal-event=21 
> I get the request param "a" that is before "?" from sitemap 
> or XSP Ok, but i don't know which method i should use to get 
> it directly from the servlet, i can only get what is behind 
> the "?". Any idea?
> Regards,
> Phil

View raw message