public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "TransactionContext";
     }
     if (String.IsNullOrEmpty(StringUtil.RTrim(sNameSpace)))
     {
         sNameSpace = "CalcularPeajes";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("CallerObject", StringUtil.RTrim(gxTv_SdtTransactionContext_Callerobject));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("CallerOnDelete", StringUtil.RTrim(StringUtil.BoolToStr(gxTv_SdtTransactionContext_Callerondelete)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("CallerURL", StringUtil.RTrim(gxTv_SdtTransactionContext_Callerurl));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("TransactionName", StringUtil.RTrim(gxTv_SdtTransactionContext_Transactionname));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     if (gxTv_SdtTransactionContext_Attributes != null)
     {
         String sNameSpace1;
         if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") == 0)
         {
             sNameSpace1 = "[*:nosend]" + "CalcularPeajes";
         }
         else
         {
             sNameSpace1 = "CalcularPeajes";
         }
         gxTv_SdtTransactionContext_Attributes.writexmlcollection(oWriter, "Attributes", sNameSpace1, "Attribute", sNameSpace1);
     }
     oWriter.WriteEndElement();
     return;
 }
Пример #2
0
 protected void RenderHtmlCloseForm202( )
 {
     /* Send hidden variables. */
     /* Send saved values. */
     GxWebStd.gx_hidden_field(context, sPrefix + "SCAMESSAGE1_Messagetype", StringUtil.RTrim(Scamessage1_Messagetype));
     GxWebStd.gx_hidden_field(context, sPrefix + "SCAMESSAGE1_Animationtype", StringUtil.RTrim(Scamessage1_Animationtype));
     GxWebStd.gx_hidden_field(context, sPrefix + "SCAMESSAGE1_Autoclose", StringUtil.BoolToStr(Scamessage1_Autoclose));
     GxWebStd.gx_hidden_field(context, sPrefix + "SCAMESSAGE1_Startposition", StringUtil.RTrim(Scamessage1_Startposition));
     GxWebStd.gx_hidden_field(context, sPrefix + "SCAMESSAGE1_Niftyanimationtype", StringUtil.RTrim(Scamessage1_Niftyanimationtype));
     GxWebStd.gx_hidden_field(context, sPrefix + "SCAMESSAGE1_Niftydefaultmessagetitle", StringUtil.RTrim(Scamessage1_Niftydefaultmessagetitle));
     GxWebStd.gx_hidden_field(context, sPrefix + "SCAMESSAGE1_Niftybuttontext", StringUtil.RTrim(Scamessage1_Niftybuttontext));
     if ((StringUtil.Len(sPrefix) != 0) && context.isAjaxRequest( ))
     {
         context.AddJavascriptSource("wcnotesp.js", "?20151261114541");
     }
     GxWebStd.gx_hidden_field(context, sPrefix + "GX_FocusControl", GX_FocusControl);
     define_styles( );
     SendSecurityToken(sPrefix);
     if (StringUtil.Len(sPrefix) == 0)
     {
         SendAjaxEncryptionKey();
         SendComponentObjects();
         SendServerCommands();
         SendState();
         if (context.isSpaRequest( ))
         {
             disableOutput();
         }
         if (nGXWrapped != 1)
         {
             context.WriteHtmlTextNl("</form>");
         }
         if (context.isSpaRequest( ))
         {
             enableOutput();
         }
         include_jscripts( );
         context.WriteHtmlTextNl("</body>");
         context.WriteHtmlTextNl("</html>");
         if (context.isSpaRequest( ))
         {
             enableOutput();
         }
     }
     else
     {
         context.WriteHtmlText("</div>");
         if (toggleJsOutput)
         {
             if (context.isSpaRequest( ))
             {
                 enableJsOutput();
             }
         }
     }
 }
Пример #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 SendCloseFormHiddens( )
 {
    /* Send hidden variables. */
    /* Send saved values. */
    send_integrity_footer_hashes( ) ;
    GxWebStd.gx_boolean_hidden_field( context, "vLOADALLTABS", AV11LoadAllTabs);
    GxWebStd.gx_hidden_field( context, "vSELECTEDTABCODE", StringUtil.RTrim( AV12SelectedTabCode));
    GxWebStd.gx_hidden_field( context, "vBR_DEMOGRAPHICS_ID", StringUtil.LTrim( StringUtil.NToC( (decimal)(AV10BR_Demographics_ID), 18, 0, ".", "")));
    GxWebStd.gx_hidden_field( context, "gxhash_vBR_DEMOGRAPHICS_ID", GetSecureSignedToken( "", context.localUtil.Format( (decimal)(AV10BR_Demographics_ID), "ZZZZZZZZZZZZZZZZZZ"), context));
    GxWebStd.gx_hidden_field( context, "vTABCODE", StringUtil.RTrim( AV8TabCode));
    GxWebStd.gx_hidden_field( context, "gxhash_vTABCODE", GetSecureSignedToken( "", StringUtil.RTrim( context.localUtil.Format( AV8TabCode, "")), context));
    GxWebStd.gx_hidden_field( context, "TABS_Class", StringUtil.RTrim( Tabs_Class));
    GxWebStd.gx_hidden_field( context, "TABS_Activepagecontrolname", StringUtil.RTrim( Tabs_Activepagecontrolname));
    GxWebStd.gx_hidden_field( context, "TABS_Pagecount", StringUtil.LTrim( StringUtil.NToC( (decimal)(Tabs_Pagecount), 9, 0, ".", "")));
    GxWebStd.gx_hidden_field( context, "TABS_Historymanagement", StringUtil.BoolToStr( Tabs_Historymanagement));
    GxWebStd.gx_hidden_field( context, "TABS_Activepagecontrolname", StringUtil.RTrim( Tabs_Activepagecontrolname));
 }
Пример #5
0
 protected void SendCloseFormHiddens( )
 {
     /* Send hidden variables. */
     /* Send saved values. */
     send_integrity_footer_hashes( );
     GxWebStd.gx_hidden_field(context, sPrefix + "vVFCKEDITOR", AV5vFckEditor);
     GxWebStd.gx_hidden_field(context, sPrefix + "wcpOAV6iBR_MedicalImagingID", StringUtil.LTrim(StringUtil.NToC((decimal)(wcpOAV6iBR_MedicalImagingID), 18, 0, ".", "")));
     GxWebStd.gx_hidden_field(context, sPrefix + "vIBR_MEDICALIMAGINGID", StringUtil.LTrim(StringUtil.NToC((decimal)(AV6iBR_MedicalImagingID), 18, 0, ".", "")));
     if (context.isAjaxRequest( ))
     {
         context.httpAjaxContext.ajax_rsp_assign_sdt_attri(sPrefix, false, sPrefix + "vBR_MEDICALIMAGING", AV7BR_MedicalImaging);
     }
     else
     {
         context.httpAjaxContext.ajax_rsp_assign_hidden_sdt(sPrefix + "vBR_MEDICALIMAGING", AV7BR_MedicalImaging);
     }
     GxWebStd.gx_hidden_field(context, sPrefix + "VFCKEDITOR_Enabled", StringUtil.BoolToStr(Vfckeditor_Enabled));
     GxWebStd.gx_hidden_field(context, sPrefix + "VFCKEDITOR_Width", StringUtil.RTrim(Vfckeditor_Width));
     GxWebStd.gx_hidden_field(context, sPrefix + "VFCKEDITOR_Height", StringUtil.RTrim(Vfckeditor_Height));
 }
Пример #6
0
 protected void SendCloseFormHiddens( )
 {
     /* Send hidden variables. */
     /* Send saved values. */
     send_integrity_footer_hashes( );
     GxWebStd.gx_hidden_field(context, "WWPUTILITIES_MPAGE_Enablefixobjectfitcover", StringUtil.BoolToStr(Wwputilities_Enablefixobjectfitcover));
     GxWebStd.gx_hidden_field(context, "WWPUTILITIES_MPAGE_Enableconvertcombotobootstrapselect", StringUtil.BoolToStr(Wwputilities_Enableconvertcombotobootstrapselect));
 }