Hello.
I've got redirect problems with flow and XSP.
I've got a form in a html page pointing to a flow function main(). The function is very simple:
function main() { var post=cocoon.request.get("post");
post = CPadawan.getInstance().replaceExpr(post,"html");
cocoon.sendPage("post.xsp", {"post" : post} );
}(CPadawan is juste a sanitizer of the post value)
The post.xsp page just do a insert in a database with informations from "post" field. Here is the sitemap entry of post.xsp:
<map:match pattern="post.xsp">
<map:generate type="serverpages" src="screens/post.xsp"/>
<map:serialize/>
</map:match>I'd do a redirect after the XSP execution. I'd like to make my post.xsp an serverpages action to check the success or the failure of the insertion into the database.
I've tried several solutions, but none works. What is the good way to do this?
Regards. -- Aur�lien DEHAY
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
