Exemple #1
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();
     }
 }
Exemple #2
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();
    }
 }