On Thu, 09 Sep 2004 10:01:03 +0200, "Eric van der Vlist" <[EMAIL PROTECTED]> said: > Hi, >.... > Also, how can I control the MVC model to send a 201 HTTP answer code > with its corresponding location to a POST request? >
Sorry, missed the second question. Below is modified foo.xpl, from attachment of my earlier reply, that sends back a 201. <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:oxf="http://www.orbeon.com/oxf/processors" > <p:processor name="oxf:html-serializer" > <p:input name="config" > <config> <status-code>201</status-code> </config> </p:input> <p:input name="data"> <html>Hello</html> </p:input> </p:processor> </p:config> Believe this is covered in the serializers section of the doc. ( See HTTP serializers ) -- Dan Small ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ orbeon-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/orbeon-user
