Hi, I'm trying to incorporate support for XForms events into a browser
built around Batik, and I wonder what the recommended way of doing it
is. I tried doing something like this

Event event = xformsEventFactory.createXFormsEvent(XformsEventFactory.READY)
element.dispatch(event)

where "element" is an element in Batik's DOM hierarchy. However using
this approach I get
DOMException.NOT_SUPPORTED_ERR. What is the recommended way of getting
those events dispatched?

org.apache.batik.dom.events.EventSupport.java:241

   } else if (e instanceof org.w3c.dom.events.CustomEvent) {
     isCustom = true;
     ce = new WrappedEvent((org.w3c.dom.events.CustomEvent) e);
   } else if (e instanceof AbstractEvent) {
     isCustom = false;
     aevt = (AbstractEvent) e;
   } else {
     throw createEventException(DOMException.NOT_SUPPORTED_ERR,
         "unsupported.event", new Object[] {});

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to