function $AdfJsfClientBehavior$$($eventType$$32$$, $script$$1$$, $isSubmitting$$) {
  this.Init($eventType$$32$$, $script$$1$$, $isSubmitting$$)
}
$goog$exportSymbol$$("AdfJsfClientBehavior", $AdfJsfClientBehavior$$);
$AdfObject$$.$createSubclass$($AdfJsfClientBehavior$$, $AdfClientBehavior$$);
$AdfJsfClientBehavior$$.prototype.$initialize$ = function $$AdfJsfClientBehavior$$$$$initialize$$($component$$247$$) {
  $component$$247$$.addEventListener(this.$_eventType$, this.$_invokeBehavior$, this)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfJsfClientBehavior.prototype.initialize", {$initialize$:$AdfJsfClientBehavior$$.prototype.$initialize$});
$AdfJsfClientBehavior$$.prototype.$_invokeBehavior$ = function $$AdfJsfClientBehavior$$$$$_invokeBehavior$$($event$$78$$) {
  if(!$event$$78$$.$isCanceled$()) {
    var $nativeEvent$$24$$ = $event$$78$$ instanceof $AdfDomComponentEvent$$ ? $event$$78$$.$getNativeEvent$() : $AdfPage$$.$PAGE$.$_lastDomEvent$;
    (this.$_behavior$($nativeEvent$$24$$, $event$$78$$) == $JSCompiler_alias_FALSE$$ || this.$_submitting$ && "action" == this.$_eventType$) && $event$$78$$.cancel()
  }
};
$AdfJsfClientBehavior$$.prototype.Init = function $$AdfJsfClientBehavior$$$$Init$($eventType$$33$$, $script$$2$$, $isSubmitting$$1$$) {
  $AdfJsfClientBehavior$$.$superclass$.Init.call(this);
  $AdfAssert$$.assert($script$$2$$ != $JSCompiler_alias_NULL$$);
  this.$_eventType$ = $eventType$$33$$;
  this.$_behavior$ = new Function("event", "componentEvent", $script$$2$$);
  this.$_submitting$ = $isSubmitting$$1$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfJsfClientBehavior.prototype.Init", {Init:$AdfJsfClientBehavior$$.prototype.Init});
