Re: [Xsltforms-support] XSLTForms and REST
Brought to you by:
alain-couthures
From: Grégoire C. <gco...@gm...> - 2011-02-13 17:36:45
|
Hi! Le 13/02/2011 04:30, Efraim Feinstein a écrit : > Hi, > Never mind. I see that r480 has some new code in it for response > headers. I tried it with the attached code. I'm finding that it does > give the correct 404 error message when you press the button, but it > also returns a long error message in a popup dialog when the page is > first loaded. > > The text of the error is: > XSLTForms Exception > -------------------------- > (...) I get the same initialization error, but I don't get any output (the pop-up is not displayed and no JS error is raised). I use: <xf:action ev:event="xforms-submit-done"> <xf:message><xf:output value="event('response-status-code')"/></xf:message> </xf:action> This is based on the example at : http://www.w3.org/TR/xforms11/#submit-evt-submit-done Anyway, thank you Alain for your very quick answer! Best regards, Grégoire |