cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 黄 海冬 <>
Subject cocoon.sendPage and redirect-to not compatible?
Date Mon, 26 Apr 2004 13:40:04 GMT
Hi all,
  In cocoon forms we always use cocoon.sendPage to show after submit,like 
this code in registration.js under samples\forms\flow:
    cocoon.sendPage("registration-success-pipeline.jx", bizdata);
  and then in sitemap to display it.

  But if I use redirect-to in this pipeline like:
     <map:match pattern="registration-success-pipeline.jx">
	<map:redirect-to uri="/samples/"/>
  The page will display blank though if will redirect correctly if access 
directly.When the redirect-to uri is cocoon://samples/ it works and the url 
in browser is still like 

but this way wouldn't work under some condition. Is this a bug that not 
able to redirect to an http url when using sendPage?
  cocoon is current cvs version.

Roy Huang

与联机的朋友进行交流,请使用 MSN Messenger:  

View raw message