protected virtual void addJsCodigo(JavaScriptTag tagJs) { if (this.getBooJsAutoInicializavel()) { tagJs.addJsCodigo(string.Format(this.getStrJsNamespace() + ".{0}.i.iniciar();", this.GetType().Name)); } }
private JavaScriptTag getTagJs() { var tagJsResultado = new JavaScriptTag(string.Empty, 100); tagJsResultado.pag = this; return(tagJsResultado); }
protected virtual void addLayoutFixo(JavaScriptTag tagJs) { // Revisar a real necessidade de enviar esses layouts sempre. tagJs.addLayoutFixo(typeof(Mensagem)); tagJs.addLayoutFixo(typeof(MenuContexto)); tagJs.addLayoutFixo(typeof(MenuContextoItem)); tagJs.addLayoutFixo(typeof(Notificacao)); tagJs.addLayoutFixo(typeof(TagCard)); }
protected override void inicializar() { base.inicializar(); this.inicializarCampos(); this.strId = this.GetType().Name; this.strTitulo = this.tbl.strNomeExibicao; this.addAtt("src_js", JavaScriptTag.getSrc(this.GetType())); this.carregarDados(); }
protected virtual void addConstante(JavaScriptTag tagJs) { tagJs.addConstante(AppWebBase.STR_CONSTANTE_DESENVOLVIMENTO, AppWebBase.i.booDesenvolvimento); }
protected void addJs(JavaScriptTag tagJs) { this.tagJs.setPai(this.tagHead); }
protected override void addJsCodigo(JavaScriptTag tagJs) { base.addJsCodigo(tagJs); tagJs.addJsCodigo(string.Format("RealLifeUi.{0}.i.iniciar();", this.GetType().Name)); }
protected override void addLayoutFixo(JavaScriptTag tagJs) { base.addLayoutFixo(tagJs); tagJs.addLayoutFixo(typeof(TreeViewNode)); }
protected override void addConstante(JavaScriptTag tagJs) { base.addConstante(tagJs); tagJs.addConstante(AppWebBase.STR_CONSTANTE_NAMESPACE_PROJETO, AppWebBase.i.GetType().Namespace); }
protected override void addConstante(JavaScriptTag tagJs) { base.addConstante(tagJs); tagJs.addConstante((nameof(SrvAjaxDbePicPay) + "_porta"), SrvAjaxDbePicPay.i.intPorta); }
protected override void addLayoutFixo(JavaScriptTag tagJs) { base.addLayoutFixo(tagJs); tagJs.addLayoutFixo(typeof(IndiceItem)); }
protected override void addJs(JavaScriptTag js) { base.addJs(js); }
protected override void addLayoutFixo(JavaScriptTag tagJs) { base.addLayoutFixo(tagJs); tagJs.addLayoutFixo(typeof(BotaoActionBar)); }
protected override void addConstante(JavaScriptTag tagJs) { base.addConstante(tagJs); tagJs.addConstante((typeof(SrvAjaxDocumentacao).Name + "_intPorta"), this.getIntSrvAjaxDocumentacaoPorta()); }
protected override void addConstante(JavaScriptTag tagJs) { base.addConstante(tagJs); SrvWsDrive.i.addConstante(tagJs); }
protected override void addLayoutFixo(JavaScriptTag tagJs) { base.addLayoutFixo(tagJs); tagJs.addLayoutFixo(typeof(DivGridColunaLinha)); }
internal void addConstante(JavaScriptTag tagJs) { tagJs.addConstante((this.GetType().Name + "_intPorta"), this.intPorta); tagJs.addConstante((this.GetType().Name + "_strNome"), this.strNome); }