Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 63987 invoked from network); 26 Apr 2004 13:40:11 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Apr 2004 13:40:11 -0000 Received: (qmail 87728 invoked by uid 500); 26 Apr 2004 13:40:04 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 87674 invoked by uid 500); 26 Apr 2004 13:40:03 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 87650 invoked from network); 26 Apr 2004 13:40:03 -0000 Received: from unknown (HELO hotmail.com) (65.54.247.76) by daedalus.apache.org with SMTP; 26 Apr 2004 13:40:03 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 26 Apr 2004 06:40:05 -0700 Received: from 61.144.54.57 by by2fd.bay2.hotmail.msn.com with HTTP; Mon, 26 Apr 2004 13:40:04 GMT X-Originating-IP: [61.144.54.57] X-Originating-Email: [lingererhuang@hotmail.com] X-Sender: lingererhuang@hotmail.com From: =?gb2312?B?u8YguqO2rA==?= To: dev@cocoon.apache.org, jamieqiu@hotmail.com Bcc: Subject: cocoon.sendPage and redirect-to not compatible? Date: Mon, 26 Apr 2004 21:40:04 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 26 Apr 2004 13:40:05.0390 (UTC) FILETIME=[FB8FAAE0:01C42B93] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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: 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 http://localhost:8888/samples/blocks/forms/2a327b45557554541d6f423c5c0b3712218e8f52.continue 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: http://messenger.msn.com/cn