var vu=I.ea(I,"AdfDhtmlPanelLabelAndMessagePeer");m("AdfDhtmlPanelLabelAndMessagePeer",vu);vu.C=function(){this.yi="content";vu.Jea={INPUT:!0,SELECT:!0,TEXTAREA:!0};I.hc(this,AdfRichPanelLabelAndMessage.LABEL);I.sb(this,AdfRichPanelLabelAndMessage.LABEL,AdfRichPanelLabelAndMessage.SHOW_REQUIRED)};m("AdfDhtmlPanelLabelAndMessagePeer.InitSubclass",vu.C);
vu.prototype.G=function(a,b){vu.h.G.call(this,a,b);var d=this.V4(a,b);if(null!=d){var e=d.htmlFor;if(e&&(forObject=q.b.getElementById(e),null==forObject||!vu.Jea[forObject.tagName])){var f=e.length-9;if(0<f&&(e=e.substring(0,f),f=q.b.getElementById(e),null!=f))if(vu.Jea[f.tagName])d.htmlFor=e;else for(e=f.childNodes,i=0;i<e.length;i++)if(vu.Jea[e[i].tagName]){d.htmlFor=e[i].id;break}}}};r.a("AdfDhtmlPanelLabelAndMessagePeer.prototype.InitDomElement",{G:vu.prototype.G});vu.prototype.Oa=function(){return ii.jd()};
r.a("AdfDhtmlPanelLabelAndMessagePeer.prototype.GetInlineEditor",{Oa:vu.prototype.Oa});vu.prototype.ti=function(a,b){var d=this.V4(a,b);return null!=d?q.b.mc(d):null};r.a("AdfDhtmlPanelLabelAndMessagePeer.prototype.GetComponentLabel",{ti:vu.prototype.ti});vu.prototype.V4=function(a,b){var d=a.getFor(),e=null;d&&(d=I.j(d,vu.yi),e=C.oj(b,"for",d,"LABEL"));return e};