Application application = ctx.getFacesContext().getApplication();
Behavior behavior = application.createBehavior(this.behaviorId);
if (behavior instanceof ClientBehavior) {
ClientBehavior clientBehavior = (ClientBehavior) behavior;
owner.setAttributes(ctx, clientBehavior);
FacesContext context = ctx.getFacesContext();
BehaviorStack behaviorStack = BehaviorStack.getBehaviorStack(context, true);