Re: error in xforms-ready and xxforms:dialog

Posted by James Gu on
URL: https://discuss.orbeon.com/error-in-xforms-ready-and-xxforms-dialog-tp43077p43079.html

I use javascript to show the dialog in xforms-sbumit-error (The submission is called in xforms-ready) and it works well. Please let me know if ths will cause other problems.
Also, I wonder why <xxforms:show dialog="error-dialog"/>  doesn't work in xforms-ready while javascript works.

        <xforms:action ev:event="xforms-submit-error">
            <xxforms:script>
                ORBEON.xforms.Controls.showDialog('error-dialog', null);
            </xxforms:script>
        </xforms:action>

Thanks,
James