cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathaniel Alfred" <>
Subject RE: [BUGS] cocoon 2.0.4 map:redirect-to
Date Wed, 08 Jan 2003 15:09:35 GMT
AFAIK, internal redirect is only implemented for the interpreted sitemap
and 2.0.x uses the compiled sitemap by default.

>From for 2.0.3:

	Handle request forwarding (aka internal redirects) using the
"cocoon:" pseudo-protocol : writing <map:redirect-to
uri="cocoon:/"/> makes a recursive call on the current sitemap
without going back to the browser (as usual, "cocoon://" uses the
root sitemap). This also keeps any data that have been stored as request
attributes. Note: this is only available in the interpreted sitemap
engine for now, and will come soon on the compiled engine. (SW) 

You need to dig into cocoon.xconf to change the <sitemap> configuration.
(I tried that with 2.0.3 but had then other problems like inheritance in
subsitemaps not working.
Since then I am staying an 2.1dev where the treeprocessor is the default
and working fine.)

HTH, Alfred.

-----Original Message-----
From: Timothy Larson []
Sent: Dienstag, 7. Januar 2003 22:48
Subject: Re: [BUGS] cocoon 2.0.4 map:redirect-to

Hello Joerg,

I say we have a bug because of loss of functionality.

If <map:call.../> is for internal redirects and
<map:redirect-to.../> is for client-side redirects,
then can we at least have <map:call uri="cocoon:/some-uri"/>
for internal redirects to uri's?

Client-side redirect to uri: <map:redirect-to uri=""/>
(Removed in 2.0.4) Internal redirect to uri: <map:redirect-to
(Proposed)Internal redirect to uri: <map:call uri="cocoon:/..."/>
Internal redirect to resource: <map:call resource=""/>
Backward-compatible internal redirect to resource <map:redirect-to


PS: My problem with the web page was just spelling.
"map:redirect" should have been spelled "map:redirect-to".

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

To unsubscribe, e-mail:
For additional commands, email:

View raw message