[Xsltforms-support] [PATCH] Issue xforms-binding-exception on non-existent or null bind-IDs with he
Brought to you by:
alain-couthures
From: Kostis A. <ank...@gm...> - 2010-04-20 19:27:17
|
Hi, On rev393, "xf:output/@value enabled by default" the added lines: if (this.binding.isvalue) { Core.setClass(this.element, "xforms-disabled", false); } cause null-refs errors without any meaningfull context when outputs do not specify @ref or @value. If the check becomes if (this.binding && this.binding.isvalue) then the patch[1] i had submited 2 weeks ago, which gathered any such errors along with non-existent-ids erros and issued 'xforms-binding-exception' according to the specs would continue to work. So i'm rebasing that bindings-errors patch to the latest revision. http://pastebin.com/sFfcggjN NOTE 1: that the patch contains at the bottom a minor css modification to provide for lengthier status-panel which might not be exactly suitable for IE...) NOTE 2: The patch does not include changes into final files, you need to build to generate them before commiting the patch. Hope it gets accepted soon, since it really makes the life of xforms authors much easier . Kostis [1] https://sourceforge.net/mailarchive/forum.php?thread_name=w2z...@ma...&forum_name=xsltforms-support |