mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
fixing support for using xml namespaces within forms.
enabling using attributes within forms. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3911 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -67,7 +67,7 @@ dojo.declare("alfresco.xforms.Widget",
|
||||
chibaData = chibaData[chibaData.length - 1];
|
||||
var xpath = "/" + chibaData.getAttribute("chiba:xpath");
|
||||
var d = this.node.ownerDocument;
|
||||
var nsResolver = d.createNSResolver(d);
|
||||
var nsResolver = d.createNSResolver(d.documentElement);
|
||||
var contextNode = this.xform.getInstance();
|
||||
dojo.debug("locating " + xpath +
|
||||
" from " + chibaData.nodeName +
|
||||
@@ -289,7 +289,7 @@ dojo.declare("alfresco.xforms.Select1",
|
||||
var d = this.node.ownerDocument;
|
||||
valid = d.evaluate(binding.constraint,
|
||||
value,
|
||||
d.createNSResolver(d),
|
||||
d.createNSResolver(d.documentElement),
|
||||
XPathResult.ANY_TYPE,
|
||||
null);
|
||||
dojo.debug("valid " + dojo.dom.textContent(value) + "? " + valid);
|
||||
|
Reference in New Issue
Block a user