xforms:message action on xforms-submit-error
Hi all,
I am trying to figure out why an xforms:message I placed in an xforms:action is not showing anything, although the server debug output actually prints that it is handling the action. The code I am using is as follows (edited):
<xforms:submission id="some-submission" ref="instance('some-instance')" replace="none" method="post" action="/some-path">
<xforms:action ev:event="xforms-submit-done">
<xforms:message ref="instance('resource-instance')/some-message"/>
</xforms:action>
<xforms:action ev:event="xforms-submit-error">
<xforms:message ref="instance('resource-instance')/some-other-message"/>
</xforms:action>
</xforms:submission>
Strangely enough, if "xforms-submit-done" fires, then the message is displayed. If "xforms-submit-error" fires, no message is displayed, although in the server log I find the following:
DEBUG XFormsServer - XForms - dispatching event: xforms-submit-error - some-submission - at line 900 of XFormsModelSubmission.java
DEBUG XFormsServer - XForms - executing action: action
DEBUG XPathCache - makeObject(instance('resource-instance')/some-other-message)
DEBUG XFormsServer - XForms - executing action: message
DEBUG XFormsServer - XForms - submission - total submission time: 424
I don't know if I am missing something obvious here (maybe only one action allowed under "xforms:submission"?), but I just can't figure out the problem here.
Any hints?
Thanks a lot,
Roman