On 20 Feb 2004, at 13:06, [EMAIL PROTECTED] wrote:
I've found that by using the cocoon:// "Internal" protocol, the redirect
takes place internally and
not on the client side. You might try:
<!-- Handle app?id=123 by redirecting to a bookmark URL which does the right thing --> <map:match pattern="app"> <map:redirect-to uri="cocoon://bookmark?top=0&leftnav-home=0 &home-apps=1 &app1={request-param:id} &app2={request-param:id}"/> </map:match>
Actually I couldn't get that to work (it produces a blank page), but this works fine:
<map:match pattern="app"> <map:generate src="cocoon://bookmark?top=0&leftnav-home=0 &home-apps=1 &app1={request-param:id} &app2={request-param:id}"/> <map:serialize type="html"/> </map:match>
I also tried <map:read src="..."/> but that didn't work either (Firefox complains about the HTML).
Thanks,
Jon
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]