Ejemplo n.º 1
0
 boolean dispatchEvent(DOMEvent ev, String nodeId) {
   XFormsElement node = (XFormsElement) ownerDocument.getElementById(nodeId);
   if (node != null) {
     return node.dispatchEvent(ev);
   } else {
     return false;
   }
 }
Ejemplo n.º 2
0
 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();
   }
 }