boolean dispatchEvent(DOMEvent ev, String nodeId) { XFormsElement node = (XFormsElement) ownerDocument.getElementById(nodeId); if (node != null) { return node.dispatchEvent(ev); } else { return false; } }
public void reEvaluateChildContexts(boolean force) { XPathContext context = getContext(); Node child = getFirstChild(); while (child != null) { if (child instanceof XFormsElement) { ((XFormsElement) child).reEvaluateContext(context, force); } child = child.getNextSibling(); } }