On Fri, Dec 21, 2012 at 9:32 PM, Alain Couthures
<[email protected]> 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.

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to