Re: [Xsltforms-support] xforms-submit-error - no context information - SOLVED
Brought to you by:
alain-couthures
From: Ihe O. <ihe...@gm...> - 2012-12-24 20:41:48
|
On Fri, Dec 21, 2012 at 9:32 PM, Alain Couthures <ala...@ag...> wrote: > Le 21/12/2012 13:14, Ihe Onwuka a écrit : > > can I suggest > some sort of diagnostic message to this effect - i.e that the XML is > not valid. > > > It is implemented in XSLTForms: event('error-type') should return > "validation-error" > > Did you try this? > I have now. <xf:submission id="load" ref="instance('input')" method="post" resource="edit.xq"> <xf:message ev:event="xforms-submit-error" level="modal">Submission Error<xf:output value="event('error-type')"/></xf:message> </xf:submission> gives undefined as the modal message. |