cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira>
Subject Enabling global redirects in FOM
Date Thu, 22 Apr 2004 13:38:49 GMT
I would like to enable global redirects from within FOM, such as:

cocoon.redirectTo("", true);  where 'true' says 'global'.

This is why:

<map:match pattern="uv1">
  <map:redirect-to uri="cocoon:/uv2"/>

<map:match pattern="uv2">
  <map:call function="go"/>

function go() {

Going to http://localhost:8888/uv2 will redirect correctly. Going to 
http://localhost:8888/uv1 will not.

I do not see any reason why we shouldn't add this functionality to FOM.



View raw message