Пример #1
0
 protected void S112( )
 {
     /* 'LOAD TAB' Routine */
     if (AV12LoadAllTabs || (StringUtil.StrCmp(AV8SelectedTabCode, "") == 0) || (StringUtil.StrCmp(AV8SelectedTabCode, context.GetMessage("General", "")) == 0))
     {
         /* Object Property */
         if (StringUtil.StrCmp(StringUtil.Lower(WebComp_Generalwc_Component), StringUtil.Lower("TarifasGranelesSecosGeneral")) != 0)
         {
             WebComp_Generalwc = getWebComponent(GetType(), "GeneXus.Programs", "tarifasgranelessecosgeneral", new Object[] { context });
             WebComp_Generalwc.ComponentInit();
             WebComp_Generalwc.Name      = "TarifasGranelesSecosGeneral";
             WebComp_Generalwc_Component = "TarifasGranelesSecosGeneral";
         }
         if (StringUtil.Len(WebComp_Generalwc_Component) != 0)
         {
             WebComp_Generalwc.setjustcreated();
             WebComp_Generalwc.componentprepare(new Object[] { (String)"W0019", (String)"", (long)AV13TarifasGranelesSecosCodPeaje });
             WebComp_Generalwc.componentbind(new Object[] { (String)"" });
         }
         if (isFullAjaxMode( ))
         {
             context.httpAjaxContext.ajax_rspStartCmp("gxHTMLWrpW0019" + "");
             WebComp_Generalwc.componentdraw();
             context.httpAjaxContext.ajax_rspEndCmp();
         }
     }
 }
Пример #2
0
 protected void define_styles( )
 {
    AddThemeStyleSheetFile("", context.GetTheme( )+".css", "?"+GetCacheInvalidationToken( ));
    if ( ! ( WebComp_Generalwc == null ) )
    {
       if ( StringUtil.Len( WebComp_Generalwc_Component) != 0 )
       {
          WebComp_Generalwc.componentthemes();
       }
    }
    bool outputEnabled = isOutputEnabled( ) ;
    if ( context.isSpaRequest( ) )
    {
       enableOutput();
    }
    idxLst = 1;
    while ( idxLst <= Form.Jscriptsrc.Count )
    {
       context.AddJavascriptSource(StringUtil.RTrim( ((String)Form.Jscriptsrc.Item(idxLst))), "?20202271159673", true);
       idxLst = (int)(idxLst+1);
    }
    if ( ! outputEnabled )
    {
       if ( context.isSpaRequest( ) )
       {
          disableOutput();
       }
    }
    /* End function define_styles */
 }
Пример #3
0
 public override void RenderHtmlCloseForm( )
 {
     /* Send hidden variables. */
     /* Send saved values. */
     GxWebStd.gx_boolean_hidden_field(context, "vLOADALLTABS", AV12LoadAllTabs);
     GxWebStd.gx_hidden_field(context, "vSELECTEDTABCODE", StringUtil.RTrim(AV8SelectedTabCode));
     GxWebStd.gx_hidden_field(context, "vTARIFASGRANELESSECOSCODPEAJE", StringUtil.LTrim(StringUtil.NToC((decimal)(AV13TarifasGranelesSecosCodPeaje), 10, 0, context.GetLanguageProperty("decimal_point"), "")));
     GxWebStd.gx_hidden_field(context, "vTABCODE", StringUtil.RTrim(AV7TabCode));
     GxWebStd.gx_hidden_field(context, "TAB_Class", StringUtil.RTrim(Tab_Class));
     GxWebStd.gx_hidden_field(context, "TAB_Activepagecontrolname", StringUtil.RTrim(Tab_Activepagecontrolname));
     GxWebStd.gx_hidden_field(context, "TAB_Pagecount", StringUtil.LTrim(StringUtil.NToC((decimal)(Tab_Pagecount), 9, 0, ".", "")));
     GxWebStd.gx_hidden_field(context, "TAB_Historymanagement", StringUtil.BoolToStr(Tab_Historymanagement));
     GxWebStd.gx_hidden_field(context, "TAB_Activepagecontrolname", StringUtil.RTrim(Tab_Activepagecontrolname));
     context.WriteHtmlText("<script type=\"text/javascript\">");
     context.WriteHtmlText("gx.setLanguageCode(\"" + context.GetLanguageProperty("code") + "\");");
     if (!context.isSpaRequest( ))
     {
         context.WriteHtmlText("gx.setDateFormat(\"" + context.GetLanguageProperty("date_fmt") + "\");");
         context.WriteHtmlText("gx.setTimeFormat(" + context.GetLanguageProperty("time_fmt") + ");");
         context.WriteHtmlText("gx.setCenturyFirstYear(" + 40 + ");");
         context.WriteHtmlText("gx.setDecimalPoint(\"" + context.GetLanguageProperty("decimal_point") + "\");");
         context.WriteHtmlText("gx.setThousandSeparator(\"" + context.GetLanguageProperty("thousand_sep") + "\");");
         context.WriteHtmlText("gx.StorageTimeZone = " + 1 + ";");
     }
     context.WriteHtmlText("</script>");
     GxWebStd.gx_hidden_field(context, "GX_FocusControl", GX_FocusControl);
     SendAjaxEncryptionKey();
     SendSecurityToken((String)(sPrefix));
     SendComponentObjects();
     SendServerCommands();
     SendState();
     if (context.isSpaRequest( ))
     {
         disableOutput();
     }
     context.WriteHtmlTextNl("</form>");
     if (context.isSpaRequest( ))
     {
         enableOutput();
     }
     include_jscripts( );
     if (!(WebComp_Generalwc == null))
     {
         WebComp_Generalwc.componentjscripts();
     }
 }
Пример #4
0
 protected void define_styles( )
 {
     AddThemeStyleSheetFile("", context.GetTheme( ) + ".css", "?738724");
     if (!(WebComp_Generalwc == null))
     {
         if (StringUtil.Len(WebComp_Generalwc_Component) != 0)
         {
             WebComp_Generalwc.componentthemes();
         }
     }
     idxLst = 1;
     while (idxLst <= Form.Jscriptsrc.Count)
     {
         context.AddJavascriptSource(StringUtil.RTrim(((String)Form.Jscriptsrc.Item(idxLst))), "?20151207382255");
         idxLst = (int)(idxLst + 1);
     }
     /* End function define_styles */
 }
Пример #5
0
 protected void RF1G2( )
 {
     /* GeneXus formulas. */
     AV16Pgmname    = "ViewTarifasGranelesSecos";
     context.Gx_err = 0;
     if (String.IsNullOrEmpty(StringUtil.RTrim(context.wjLoc)) && (context.nUserReturn != 1))
     {
         if (1 != 0)
         {
             if (StringUtil.Len(WebComp_Generalwc_Component) != 0)
             {
                 WebComp_Generalwc.componentstart();
             }
         }
     }
     if (String.IsNullOrEmpty(StringUtil.RTrim(context.wjLoc)) && (context.nUserReturn != 1))
     {
         /* Execute user event: E121G2 */
         E121G2();
         WB1G0( );
     }
 }
Пример #6
0
 protected void RF0U2( )
 {
     /* GeneXus formulas. */
     AV16Pgmname    = "ViewLNG";
     context.Gx_err = 0;
     if (String.IsNullOrEmpty(StringUtil.RTrim(context.wjLoc)) && (context.nUserReturn != 1))
     {
         if (1 != 0)
         {
             if (StringUtil.Len(WebComp_Generalwc_Component) != 0)
             {
                 WebComp_Generalwc.componentstart();
             }
         }
     }
     if (String.IsNullOrEmpty(StringUtil.RTrim(context.wjLoc)) && (context.nUserReturn != 1))
     {
         /* Using cursor H000U2 */
         pr_default.execute(0, new Object[] { AV13LNGID });
         while ((pr_default.getStatus(0) != 101))
         {
             A17LNGID = H000U2_A17LNGID[0];
             context.httpAjaxContext.ajax_rsp_assign_attri("", false, "A17LNGID", StringUtil.LTrim(StringUtil.Str((decimal)(A17LNGID), 4, 0)));
             A18LNGBandaM3 = H000U2_A18LNGBandaM3[0];
             context.httpAjaxContext.ajax_rsp_assign_attri("", false, "A18LNGBandaM3", StringUtil.LTrim(StringUtil.Str((decimal)(A18LNGBandaM3), 12, 0)));
             /* Execute user event: E120U2 */
             E120U2();
             /* Exiting from a For First loop. */
             if (true)
             {
                 break;
             }
         }
         pr_default.close(0);
         WB0U0( );
     }
 }
Пример #7
0
 protected void S112( )
 {
    /* 'LOADTABS' Routine */
    divCell_general_Visible = 1;
    context.httpAjaxContext.ajax_rsp_assign_prop("", false, divCell_general_Internalname, "Visible", StringUtil.LTrim( StringUtil.Str( (decimal)(divCell_general_Visible), 5, 0)), true);
    if ( AV11LoadAllTabs || ( StringUtil.StrCmp(AV12SelectedTabCode, "") == 0 ) || ( StringUtil.StrCmp(AV12SelectedTabCode, "General") == 0 ) )
    {
       /* Object Property */
       if ( StringUtil.StrCmp(StringUtil.Lower( WebComp_Generalwc_Component), StringUtil.Lower( "BR_DemographicsGeneral")) != 0 )
       {
          WebComp_Generalwc = getWebComponent(GetType(), "GeneXus.Programs", "br_demographicsgeneral", new Object[] {context} );
          WebComp_Generalwc.ComponentInit();
          WebComp_Generalwc.Name = "BR_DemographicsGeneral";
          WebComp_Generalwc_Component = "BR_DemographicsGeneral";
       }
       if ( StringUtil.Len( WebComp_Generalwc_Component) != 0 )
       {
          WebComp_Generalwc.setjustcreated();
          WebComp_Generalwc.componentprepare(new Object[] {(String)"W0026",(String)"",(long)AV10BR_Demographics_ID});
          WebComp_Generalwc.componentbind(new Object[] {(String)""});
       }
       if ( isFullAjaxMode( ) )
       {
          context.httpAjaxContext.ajax_rspStartCmp("gxHTMLWrpW0026"+"");
          WebComp_Generalwc.componentdraw();
          context.httpAjaxContext.ajax_rspEndCmp();
       }
       lblTxttabtitle_Caption = "General";
       context.httpAjaxContext.ajax_rsp_assign_prop("", false, lblTxttabtitle_Internalname, "Caption", lblTxttabtitle_Caption, true);
       if ( ( StringUtil.StrCmp(AV12SelectedTabCode, "") == 0 ) || ( StringUtil.StrCmp(AV12SelectedTabCode, "General") == 0 ) )
       {
          divCell_general_Visible = 0;
          context.httpAjaxContext.ajax_rsp_assign_prop("", false, divCell_general_Internalname, "Visible", StringUtil.LTrim( StringUtil.Str( (decimal)(divCell_general_Visible), 5, 0)), true);
       }
    }
 }
Пример #8
0
 protected void RF2O2( )
 {
    initialize_formulas( ) ;
    clear_multi_value_controls( ) ;
    if ( ! context.WillRedirect( ) && ( context.nUserReturn != 1 ) )
    {
       if ( 1 != 0 )
       {
          if ( StringUtil.Len( WebComp_Generalwc_Component) != 0 )
          {
             WebComp_Generalwc.componentstart();
          }
       }
    }
    gxdyncontrolsrefreshing = true;
    fix_multi_value_controls( ) ;
    gxdyncontrolsrefreshing = false;
    if ( ! context.WillRedirect( ) && ( context.nUserReturn != 1 ) )
    {
       /* Execute user event: Load */
       E132O2 ();
       WB2O0( ) ;
    }
 }
Пример #9
0
 public override void RenderHtmlCloseForm( )
 {
    SendCloseFormHiddens( ) ;
    GxWebStd.gx_hidden_field( context, "GX_FocusControl", GX_FocusControl);
    SendAjaxEncryptionKey();
    SendSecurityToken((String)(sPrefix));
    SendComponentObjects();
    SendServerCommands();
    SendState();
    if ( context.isSpaRequest( ) )
    {
       disableOutput();
    }
    context.WriteHtmlTextNl( "</form>") ;
    if ( context.isSpaRequest( ) )
    {
       enableOutput();
    }
    include_jscripts( ) ;
    if ( ! ( WebComp_Generalwc == null ) )
    {
       WebComp_Generalwc.componentjscripts();
    }
 }
Пример #10
0
 protected void EVT1G2( )
 {
     if (StringUtil.StrCmp(context.GetRequestMethod( ), "POST") == 0)
     {
         if (String.IsNullOrEmpty(StringUtil.RTrim(context.wjLoc)) && (context.nUserReturn != 1) && !wbErr)
         {
             /* Read Web Panel buttons. */
             sEvt      = cgiGet("_EventName");
             EvtGridId = cgiGet("_EventGridId");
             EvtRowId  = cgiGet("_EventRowId");
             if (StringUtil.Len(sEvt) > 0)
             {
                 sEvtType = StringUtil.Left(sEvt, 1);
                 sEvt     = StringUtil.Right(sEvt, (short)(StringUtil.Len(sEvt) - 1));
                 if (StringUtil.StrCmp(sEvtType, "M") != 0)
                 {
                     if (StringUtil.StrCmp(sEvtType, "E") == 0)
                     {
                         sEvtType = StringUtil.Right(sEvt, 1);
                         if (StringUtil.StrCmp(sEvtType, ".") == 0)
                         {
                             sEvt = StringUtil.Left(sEvt, (short)(StringUtil.Len(sEvt) - 1));
                             if (StringUtil.StrCmp(sEvt, "RFR") == 0)
                             {
                                 context.wbHandled = 1;
                                 dynload_actions( );
                             }
                             else if (StringUtil.StrCmp(sEvt, "START") == 0)
                             {
                                 context.wbHandled = 1;
                                 dynload_actions( );
                                 /* Execute user event: E111G2 */
                                 E111G2();
                             }
                             else if (StringUtil.StrCmp(sEvt, "LOAD") == 0)
                             {
                                 context.wbHandled = 1;
                                 dynload_actions( );
                                 /* Execute user event: E121G2 */
                                 E121G2();
                             }
                             else if (StringUtil.StrCmp(sEvt, "ENTER") == 0)
                             {
                                 context.wbHandled = 1;
                                 if (!wbErr)
                                 {
                                     Rfr0gs = false;
                                     if (!Rfr0gs)
                                     {
                                     }
                                     dynload_actions( );
                                 }
                                 /* No code required for Cancel button. It is implemented as the Reset button. */
                             }
                             else if (StringUtil.StrCmp(sEvt, "LSCR") == 0)
                             {
                                 context.wbHandled = 1;
                                 dynload_actions( );
                                 dynload_actions( );
                             }
                         }
                         else
                         {
                         }
                     }
                     else if (StringUtil.StrCmp(sEvtType, "W") == 0)
                     {
                         sEvtType = StringUtil.Left(sEvt, 4);
                         sEvt     = StringUtil.Right(sEvt, (short)(StringUtil.Len(sEvt) - 4));
                         nCmpId   = (short)(NumberUtil.Val(sEvtType, "."));
                         if (nCmpId == 19)
                         {
                             OldGeneralwc = cgiGet("W0019");
                             if ((StringUtil.Len(OldGeneralwc) == 0) || (StringUtil.StrCmp(OldGeneralwc, WebComp_Generalwc_Component) != 0))
                             {
                                 WebComp_Generalwc = getWebComponent(GetType(), "GeneXus.Programs", OldGeneralwc, new Object[] { context });
                                 WebComp_Generalwc.ComponentInit();
                                 WebComp_Generalwc.Name      = "OldGeneralwc";
                                 WebComp_Generalwc_Component = OldGeneralwc;
                             }
                             if (StringUtil.Len(WebComp_Generalwc_Component) != 0)
                             {
                                 WebComp_Generalwc.componentprocess("W0019", "", sEvt);
                             }
                             WebComp_Generalwc_Component = OldGeneralwc;
                         }
                     }
                     context.wbHandled = 1;
                 }
             }
         }
     }
 }
Пример #11
0
 protected void WB1G0( )
 {
     if (context.isAjaxRequest( ))
     {
         disableOutput();
     }
     if (!wbLoad)
     {
         if (nGXWrapped == 1)
         {
             RenderHtmlHeaders( );
             RenderHtmlOpenForm( );
         }
         GxWebStd.gx_msg_list(context, "", context.GX_msglist.DisplayMode, "", "", "", "false");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "Section", " " + "data-abstract-form" + " ");
         /* Div Control */
         GxWebStd.gx_div_start(context, divMain_Internalname, 1, 0, "px", 0, "px", "Container", "");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "row", "");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "col-sm-6", " " + "id" + " ");
         /* Text block */
         GxWebStd.gx_label_ctrl(context, lblViewtitle_Internalname, context.GetMessage("Tarifas Graneles Secos Information", ""), "", "", lblViewtitle_Jsonclick, "'" + "" + "'" + ",false," + "'" + "" + "'", "", "SubTitle", 0, "", 1, 1, 0, "HLP_ViewTarifasGranelesSecos.htm");
         context.WriteHtmlText("</div>");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "col-sm-6 WWActionsCell", " " + "id" + " ");
         /* Text block */
         GxWebStd.gx_label_ctrl(context, lblViewall_Internalname, context.GetMessage("Work With Tarifas Graneles Secoss", ""), lblViewall_Link, "", lblViewall_Jsonclick, "'" + "" + "'" + ",false," + "'" + "" + "'", "", "BtnTextBlock", 0, "", lblViewall_Visible, 1, 0, "HLP_ViewTarifasGranelesSecos.htm");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "row", "");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "col-xs-12 col-sm-12", " " + "id" + " ");
         /* User Defined Control */
         context.WriteHtmlText("<div class=\"gx_usercontrol\" id=\"" + "TABContainer" + "\"></div>");
         context.WriteHtmlText("<div class=\"gx_usercontrol_child\" id=\"" + "TABContainer" + "title1" + "\" style=\"display:none;\">");
         /* Text block */
         GxWebStd.gx_label_ctrl(context, lblGeneral_title_Internalname, context.GetMessage("General", ""), "", "", lblGeneral_title_Jsonclick, "'" + "" + "'" + ",false," + "'" + "" + "'", "", "TextBlock", 0, "", 1, 1, 0, "HLP_ViewTarifasGranelesSecos.htm");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "Section", "");
         context.WriteHtmlText("General");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("<div class=\"gx_usercontrol_child\" id=\"" + "TABContainer" + "panel1" + "\" style=\"display:none;\">");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "Table", " " + "id" + " ");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "row", "");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "col-sm-12", " " + "id" + " ");
         if (!isFullAjaxMode( ))
         {
             /* WebComponent */
             GxWebStd.gx_hidden_field(context, "W0019" + "", StringUtil.RTrim(WebComp_Generalwc_Component));
             context.WriteHtmlText("<div");
             GxWebStd.ClassAttribute(context, "gxwebcomponent");
             context.WriteHtmlText(" id=\"" + "gxHTMLWrpW0019" + "" + "\"" + "");
             context.WriteHtmlText(">");
             if (StringUtil.Len(WebComp_Generalwc_Component) != 0)
             {
                 if (StringUtil.StrCmp(StringUtil.Lower(OldGeneralwc), StringUtil.Lower(WebComp_Generalwc_Component)) != 0)
                 {
                     context.httpAjaxContext.ajax_rspStartCmp("gxHTMLWrpW0019" + "");
                 }
                 WebComp_Generalwc.componentdraw();
                 if (StringUtil.StrCmp(StringUtil.Lower(OldGeneralwc), StringUtil.Lower(WebComp_Generalwc_Component)) != 0)
                 {
                     context.httpAjaxContext.ajax_rspEndCmp();
                 }
             }
             context.WriteHtmlText("</div>");
         }
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
     }
     wbLoad = true;
 }
Пример #12
0
 protected void WB0U0( )
 {
     if (context.isAjaxRequest( ))
     {
         disableOutput();
     }
     if (!wbLoad)
     {
         if (nGXWrapped == 1)
         {
             RenderHtmlHeaders( );
             RenderHtmlOpenForm( );
         }
         GxWebStd.gx_msg_list(context, "", context.GX_msglist.DisplayMode, "", "", "", "false");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "Section", " " + "data-abstract-form" + " ");
         /* Div Control */
         GxWebStd.gx_div_start(context, divMain_Internalname, 1, 0, "px", 0, "px", "Container", "");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "row", "");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "col-sm-6", " " + "id" + " ");
         /* Text block */
         GxWebStd.gx_label_ctrl(context, lblViewtitle_Internalname, context.GetMessage("LNG Information", ""), "", "", lblViewtitle_Jsonclick, "'" + "" + "'" + ",false," + "'" + "" + "'", "", "SubTitle", 0, "", 1, 1, 0, "HLP_ViewLNG.htm");
         context.WriteHtmlText("</div>");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "col-sm-6 WWActionsCell", " " + "id" + " ");
         /* Text block */
         GxWebStd.gx_label_ctrl(context, lblViewall_Internalname, context.GetMessage("Work With LNGS", ""), lblViewall_Link, "", lblViewall_Jsonclick, "'" + "" + "'" + ",false," + "'" + "" + "'", "", "BtnTextBlock", 0, "", lblViewall_Visible, 1, 0, "HLP_ViewLNG.htm");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "row", "");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "col-xs-12 col-sm-6", " " + "id" + " ");
         /* Div Control */
         GxWebStd.gx_div_start(context, divLngbandam3_container_Internalname, 1, 0, "px", 0, "px", "form-group gx-form-group", "");
         context.WriteHtmlText("<label class=\"control-label gx-label col-sm-3\">");
         /* Text block */
         GxWebStd.gx_label_ctrl(context, lbllbl12_Internalname, context.GetMessage("M3", ""), "", "", lbllbl12_Jsonclick, "'" + "" + "'" + ",false," + "'" + "" + "'", "", "Label", 0, "", 1, 1, 0, "HLP_ViewLNG.htm");
         context.WriteHtmlText("</label>");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "col-sm-9 gx-attribute", "");
         /* Single line edit */
         GxWebStd.gx_single_line_edit(context, edtLNGBandaM3_Internalname, StringUtil.LTrim(StringUtil.NToC((decimal)(A18LNGBandaM3), 12, 0, context.GetLanguageProperty("decimal_point"), "")), ((edtLNGBandaM3_Enabled != 0) ? StringUtil.LTrim(context.localUtil.Format((decimal)(A18LNGBandaM3), "ZZZZZZZZZZZ9")) : context.localUtil.Format((decimal)(A18LNGBandaM3), "ZZZZZZZZZZZ9")), "", "'" + "" + "'" + ",false," + "'" + "" + "'", "", "", "", "", edtLNGBandaM3_Jsonclick, 0, "ReadonlyAttribute", "", "", "", 1, edtLNGBandaM3_Enabled, 0, "text", "", 12, "chr", 1, "row", 12, 0, 0, 0, 1, 1, 0, true, "", "right", "HLP_ViewLNG.htm");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "row", "");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "col-xs-12 col-sm-12", " " + "id" + " ");
         /* User Defined Control */
         context.WriteHtmlText("<div class=\"gx_usercontrol\" id=\"" + "TABContainer" + "\"></div>");
         context.WriteHtmlText("<div class=\"gx_usercontrol_child\" id=\"" + "TABContainer" + "title1" + "\" style=\"display:none;\">");
         /* Text block */
         GxWebStd.gx_label_ctrl(context, lblGeneral_title_Internalname, context.GetMessage("General", ""), "", "", lblGeneral_title_Jsonclick, "'" + "" + "'" + ",false," + "'" + "" + "'", "", "TextBlock", 0, "", 1, 1, 0, "HLP_ViewLNG.htm");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "Section", "");
         context.WriteHtmlText("General");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("<div class=\"gx_usercontrol_child\" id=\"" + "TABContainer" + "panel1" + "\" style=\"display:none;\">");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "Table", " " + "id" + " ");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "row", "");
         /* Div Control */
         GxWebStd.gx_div_start(context, "", 1, 0, "px", 0, "px", "col-sm-12", " " + "id" + " ");
         if (!isFullAjaxMode( ))
         {
             /* WebComponent */
             GxWebStd.gx_hidden_field(context, "W0025" + "", StringUtil.RTrim(WebComp_Generalwc_Component));
             context.WriteHtmlText("<div");
             GxWebStd.ClassAttribute(context, "gxwebcomponent");
             context.WriteHtmlText(" id=\"" + "gxHTMLWrpW0025" + "" + "\"" + "");
             context.WriteHtmlText(">");
             if (StringUtil.Len(WebComp_Generalwc_Component) != 0)
             {
                 if (StringUtil.StrCmp(StringUtil.Lower(OldGeneralwc), StringUtil.Lower(WebComp_Generalwc_Component)) != 0)
                 {
                     context.httpAjaxContext.ajax_rspStartCmp("gxHTMLWrpW0025" + "");
                 }
                 WebComp_Generalwc.componentdraw();
                 if (StringUtil.StrCmp(StringUtil.Lower(OldGeneralwc), StringUtil.Lower(WebComp_Generalwc_Component)) != 0)
                 {
                     context.httpAjaxContext.ajax_rspEndCmp();
                 }
             }
             context.WriteHtmlText("</div>");
         }
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
         context.WriteHtmlText("</div>");
     }
     wbLoad = true;
 }
Пример #13
0
 protected void WB2O0( )
 {
    if ( context.isAjaxRequest( ) )
    {
       disableOutput();
    }
    if ( ! wbLoad )
    {
       if ( nGXWrapped == 1 )
       {
          RenderHtmlHeaders( ) ;
          RenderHtmlOpenForm( ) ;
       }
       GxWebStd.gx_msg_list( context, "", context.GX_msglist.DisplayMode, "", "", "", "false");
       /* Div Control */
       GxWebStd.gx_div_start( context, "", 1, 0, "px", 0, "px", "Section", "left", "top", " "+"data-gx-base-lib=\"bootstrapv3\""+" "+"data-abstract-form"+" ", "", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, divLayoutmaintable_Internalname, 1, 0, "px", 0, "px", "Table", "left", "top", "", "", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, "", 1, 0, "px", 0, "px", "row", "left", "top", "", "", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, "", 1, 0, "px", 0, "px", "col-xs-12", "left", "top", "", "", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, divTablemain_Internalname, 1, 0, "px", 0, "px", "TableMainViewWithShadow", "left", "top", "", "", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, "", 1, 0, "px", 0, "px", "row", "left", "top", "", "", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, "", 1, 0, "px", 0, "px", "col-xs-12 CellWWLink", "Right", "top", "", "", "div");
       /* Text block */
       GxWebStd.gx_label_ctrl( context, lblWorkwithlink_Internalname, "返回人口信息学", lblWorkwithlink_Link, "", lblWorkwithlink_Jsonclick, "'"+""+"'"+",false,"+"'"+""+"'", "", "TextBlockLink", 0, "", 1, 1, 0, "HLP_BR_DemographicsView.htm");
       GxWebStd.gx_div_end( context, "Right", "top", "div");
       GxWebStd.gx_div_end( context, "left", "top", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, "", 1, 0, "px", 0, "px", "row", "left", "top", "", "", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, "", 1, 0, "px", 0, "px", "col-xs-12 CellViewTabsPosition CellPaddingTop10", "left", "top", "", "", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, divUnnamedtableviewcontainer_Internalname, 1, 0, "px", 0, "px", "Table", "left", "top", "", "", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, "", 1, 0, "px", 0, "px", "row", "left", "top", "", "", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, "", 1, 0, "px", 0, "px", "col-xs-12 hidden-sm hidden-md hidden-lg CellTextBlockTitleWWP", "left", "top", "", "", "div");
       /* Text block */
       GxWebStd.gx_label_ctrl( context, lblTxttabtitle_Internalname, lblTxttabtitle_Caption, "", "", lblTxttabtitle_Jsonclick, "'"+""+"'"+",false,"+"'"+""+"'", "", "TextBlockTitleWWPTab", 0, "", 1, 1, 0, "HLP_BR_DemographicsView.htm");
       GxWebStd.gx_div_end( context, "left", "top", "div");
       GxWebStd.gx_div_end( context, "left", "top", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, "", 1, 0, "px", 0, "px", "row", "left", "top", "", "", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, "", 1, 0, "px", 0, "px", "col-xs-12 CellViewTab", "left", "top", "", "", "div");
       /* User Defined Control */
       ucTabs.SetProperty("PageCount", Tabs_Pagecount);
       ucTabs.SetProperty("Class", Tabs_Class);
       ucTabs.SetProperty("HistoryManagement", Tabs_Historymanagement);
       ucTabs.Render(context, "tab", Tabs_Internalname, "TABSContainer");
       context.WriteHtmlText( "<div class=\"gx_usercontrol_child\" id=\""+"TABSContainer"+"title1"+"\" style=\"display:none;\">") ;
       /* Text block */
       GxWebStd.gx_label_ctrl( context, lblGeneral_title_Internalname, "General", "", "", lblGeneral_title_Jsonclick, "'"+""+"'"+",false,"+"'"+""+"'", "", "TextBlock", 0, "", 1, 1, 0, "HLP_BR_DemographicsView.htm");
       /* Div Control */
       GxWebStd.gx_div_start( context, "", 1, 0, "px", 0, "px", "Section", "left", "top", "", "display:none;", "div");
       context.WriteHtmlText( "General") ;
       GxWebStd.gx_div_end( context, "left", "top", "div");
       context.WriteHtmlText( "</div>") ;
       context.WriteHtmlText( "<div class=\"gx_usercontrol_child\" id=\""+"TABSContainer"+"panel1"+"\" style=\"display:none;\">") ;
       /* Div Control */
       GxWebStd.gx_div_start( context, divUnnamedtablegeneral_Internalname, 1, 0, "px", 0, "px", "TableViewTab", "left", "top", "", "", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, "", 1, 0, "px", 0, "px", "row", "left", "top", "", "", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, "", 1, 0, "px", 0, "px", "col-xs-12", "left", "top", "", "", "div");
       if ( ! isFullAjaxMode( ) )
       {
          /* WebComponent */
          GxWebStd.gx_hidden_field( context, "W0026"+"", StringUtil.RTrim( WebComp_Generalwc_Component));
          context.WriteHtmlText( "<div") ;
          GxWebStd.ClassAttribute( context, "gxwebcomponent");
          context.WriteHtmlText( " id=\""+"gxHTMLWrpW0026"+""+"\""+"") ;
          context.WriteHtmlText( ">") ;
          if ( StringUtil.Len( WebComp_Generalwc_Component) != 0 )
          {
             if ( StringUtil.StrCmp(StringUtil.Lower( OldGeneralwc), StringUtil.Lower( WebComp_Generalwc_Component)) != 0 )
             {
                context.httpAjaxContext.ajax_rspStartCmp("gxHTMLWrpW0026"+"");
             }
             WebComp_Generalwc.componentdraw();
             if ( StringUtil.StrCmp(StringUtil.Lower( OldGeneralwc), StringUtil.Lower( WebComp_Generalwc_Component)) != 0 )
             {
                context.httpAjaxContext.ajax_rspEndCmp();
             }
          }
          context.WriteHtmlText( "</div>") ;
       }
       GxWebStd.gx_div_end( context, "left", "top", "div");
       GxWebStd.gx_div_end( context, "left", "top", "div");
       GxWebStd.gx_div_end( context, "left", "top", "div");
       context.WriteHtmlText( "</div>") ;
       GxWebStd.gx_div_end( context, "left", "top", "div");
       GxWebStd.gx_div_end( context, "left", "top", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, "", 1, 0, "px", 0, "px", "row", "left", "top", "", "", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, "", 1, 0, "px", 0, "px", "col-xs-12 hidden-sm hidden-md hidden-lg CellPaddingBottom", "left", "top", "", "", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, divUnnamedtabletabscontainer_Internalname, 1, 0, "px", 0, "px", "Table", "left", "top", "", "", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, "", 1, 0, "px", 0, "px", "row", "left", "top", "", "", "div");
       /* Div Control */
       GxWebStd.gx_div_start( context, divCell_general_Internalname, divCell_general_Visible, 0, "px", 0, "px", "col-xs-12 CellMarginTop", "left", "top", "", "", "div");
       TempTags = "  onfocus=\"gx.evt.onfocus(this, 32,'',false,'',0)\"";
       ClassString = "btn_Master btn-large btn-block Button";
       StyleString = "";
       GxWebStd.gx_button_ctrl( context, bttBtngeneral_Internalname, "", "General", bttBtngeneral_Jsonclick, 7, "General", "", StyleString, ClassString, 1, 1, "standard", "'"+""+"'"+",false,"+"'"+"e112o1_client"+"'", TempTags, "", 2, "HLP_BR_DemographicsView.htm");
       GxWebStd.gx_div_end( context, "left", "top", "div");
       GxWebStd.gx_div_end( context, "left", "top", "div");
       GxWebStd.gx_div_end( context, "left", "top", "div");
       GxWebStd.gx_div_end( context, "left", "top", "div");
       GxWebStd.gx_div_end( context, "left", "top", "div");
       GxWebStd.gx_div_end( context, "left", "top", "div");
       GxWebStd.gx_div_end( context, "left", "top", "div");
       GxWebStd.gx_div_end( context, "left", "top", "div");
       GxWebStd.gx_div_end( context, "left", "top", "div");
       GxWebStd.gx_div_end( context, "left", "top", "div");
       GxWebStd.gx_div_end( context, "left", "top", "div");
       GxWebStd.gx_div_end( context, "left", "top", "div");
       GxWebStd.gx_div_end( context, "left", "top", "div");
    }
    wbLoad = true;
 }