Example #1
0
 protected virtual void addJsCodigo(JavaScriptTag tagJs)
 {
     if (this.getBooJsAutoInicializavel())
     {
         tagJs.addJsCodigo(string.Format(this.getStrJsNamespace() + ".{0}.i.iniciar();", this.GetType().Name));
     }
 }
Example #2
0
        private JavaScriptTag getTagJs()
        {
            var tagJsResultado = new JavaScriptTag(string.Empty, 100);

            tagJsResultado.pag = this;

            return(tagJsResultado);
        }
Example #3
0
 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));
 }
Example #4
0
        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();
        }
Example #5
0
 protected virtual void addConstante(JavaScriptTag tagJs)
 {
     tagJs.addConstante(AppWebBase.STR_CONSTANTE_DESENVOLVIMENTO, AppWebBase.i.booDesenvolvimento);
 }
Example #6
0
 protected void addJs(JavaScriptTag tagJs)
 {
     this.tagJs.setPai(this.tagHead);
 }
Example #7
0
        protected override void addJsCodigo(JavaScriptTag tagJs)
        {
            base.addJsCodigo(tagJs);

            tagJs.addJsCodigo(string.Format("RealLifeUi.{0}.i.iniciar();", this.GetType().Name));
        }
Example #8
0
        protected override void addLayoutFixo(JavaScriptTag tagJs)
        {
            base.addLayoutFixo(tagJs);

            tagJs.addLayoutFixo(typeof(TreeViewNode));
        }
Example #9
0
        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);
        }
Example #11
0
        protected override void addLayoutFixo(JavaScriptTag tagJs)
        {
            base.addLayoutFixo(tagJs);

            tagJs.addLayoutFixo(typeof(IndiceItem));
        }
Example #12
0
 protected override void addJs(JavaScriptTag js)
 {
     base.addJs(js);
 }
Example #13
0
        protected override void addLayoutFixo(JavaScriptTag tagJs)
        {
            base.addLayoutFixo(tagJs);

            tagJs.addLayoutFixo(typeof(BotaoActionBar));
        }
Example #14
0
        protected override void addConstante(JavaScriptTag tagJs)
        {
            base.addConstante(tagJs);

            tagJs.addConstante((typeof(SrvAjaxDocumentacao).Name + "_intPorta"), this.getIntSrvAjaxDocumentacaoPorta());
        }
Example #15
0
        protected override void addConstante(JavaScriptTag tagJs)
        {
            base.addConstante(tagJs);

            SrvWsDrive.i.addConstante(tagJs);
        }
Example #16
0
        protected override void addLayoutFixo(JavaScriptTag tagJs)
        {
            base.addLayoutFixo(tagJs);

            tagJs.addLayoutFixo(typeof(DivGridColunaLinha));
        }
Example #17
0
 internal void addConstante(JavaScriptTag tagJs)
 {
     tagJs.addConstante((this.GetType().Name + "_intPorta"), this.intPorta);
     tagJs.addConstante((this.GetType().Name + "_strNome"), this.strNome);
 }