</BUG>
}
final boolean newEventCancelable; {
final String newEventCancelableString = actionElement.attributeValue("cancelable");
<BUG>newEventCancelable = Boolean.getBoolean((newEventCancelableString == null) ? "true" : newEventCancelableString);
</BUG>
}
final Object newTargetObject = containingDocument.getObjectById(pipelineContext, newEventTargetId);
if (newTargetObject instanceof XFormsEventTarget) {
containingDocument.dispatchEvent(pipelineContext, XFormsEventFactory.createEvent(newEventName, (XFormsEventTarget) newTargetObject, newEventBubbles, newEventCancelable));

final String newEventTargetId = actionElement.attributeValue("target");
if (newEventTargetId == null)
throw new OXFException("Missing mandatory target attribute on xforms:dispatch element.");
final boolean newEventBubbles; {
final String newEventBubblesString = actionElement.attributeValue("bubbles");
newEventBubbles = Boolean.valueOf((newEventBubblesString == null) ? "true" : newEventBubblesString).booleanValue();
}
final boolean newEventCancelable; {
final String newEventCancelableString = actionElement.attributeValue("cancelable");
newEventCancelable = Boolean.valueOf((newEventCancelableString == null) ? "true" : newEventCancelableString).booleanValue();
}
final Object newTargetObject = containingDocument.getObjectById(pipelineContext, newEventTargetId);
if (newTargetObject instanceof XFormsEventTarget) {
containingDocument.dispatchEvent(pipelineContext, XFormsEventFactory.createEvent(newEventName, (XFormsEventTarget) newTargetObject, newEventBubbles, newEventCancelable));
