Hi,
I have a submission I am posting to, and as I am developing I make mistakes, and get errors. The error dialog does not show up, so I was capturing the event body and trying to output it... however the show error details does not seem to work...
In my submission tags I have the below...
<xforms:action ev:event="xforms-submit-error">
<xforms:message level="modal" value="event('body')"/>
<xforms:setvalue ref="instance('error-message')" value="event('body')" />
<xxforms:show dialog="error-dialog"/>
</xforms:action>
I have tried 3 ways to show the error-message (nicely formatted that is...) 1 being a dialog, the second being using the instance inspector and the other is with a straight input...
<xxforms:dialog id="error-dialog" appearance="full" level="modal" close="true" draggable="true" visible="false"><xforms:label>Dialog title</xforms:label><xforms:output ref="instance('error-message')" mediatype="text/html" /></xxforms:dialog>
<widget:xforms-instance-inspector xmlns:widget="
http://orbeon.org/oxf/xml/widget"/>
<xforms:output ref="instance('error-message')" mediatype="text/html"/>
All ways don't show the stack details... well the instance inspector does but its all html encoded...
Is there another way I am missing?
Any help would be appreciated
Regards
Mark
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws