var Qo=I.ea(I,"AdfDhtmlFormPeer");m("AdfDhtmlFormPeer",Qo);Qo.C=function(){I.ii(this,"defaultCommand");I.ra(this,D.gh)};m("AdfDhtmlFormPeer.InitSubclass",Qo.C);Qo.prototype.nc=function(a){var b=this.f().g(),b=I.la(b,"postscript");return a.id==b?null:a};r.a("AdfDhtmlFormPeer.prototype.DomReplaceNotify",{nc:Qo.prototype.nc});Qo.prototype.G=function(a,b){Qo.h.G.call(this,a,b);A.c.Y()["_"+a.g()+"Validator"]=function(){return!0}};r.a("AdfDhtmlFormPeer.prototype.InitDomElement",{G:Qo.prototype.G});
Qo.prototype.Yb=function(a){if(a.na()==w.jb&&(a=Qo.vT(a,!0),null!=a)){a=Ro.wra(a);var b;a||(a=this.f());if(b=a.getDefaultCommand()){var d=a.m(b);d?d.o().td()||ab.F(d,d.getPartialSubmit()):v.l.warning("DefaultCommand with the ID of '"+b+"' is not found for component: "+a)}}};r.a("AdfDhtmlFormPeer.prototype.HandleComponentKeyPress",{Yb:Qo.prototype.Yb});
Qo.vT=function(a,b){var d=a.X();if(d){var e=d.tagName;if("A"==e||"BUTTON"==e||"TEXTAREA"==e||"IFRAME"==e||"INPUT"==e&&("submit"==d.type||"reset"==d.type))return null;"SELECT"!=e&&b&&a.cancel();for(e=d.id;!e;)d=d.parentNode,e=d.id;return e}return null};