예제 #1
0
 void executePrivate( )
 {
    /* GeneXus formulas */
    /* Output device settings */
    Gxm1homesampledata = new GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem(context);
    Gxm2rootcol.Add(Gxm1homesampledata, 0);
    Gxm1homesampledata.gxTpr_Productname = "齐鲁";
    Gxm1homesampledata.gxTpr_Productprice = (decimal)(1200);
    Gxm1homesampledata.gxTpr_Productvolume = (decimal)(2000);
    Gxm1homesampledata.gxTpr_Productweight = (decimal)(400);
    Gxm1homesampledata.gxTpr_Productdiscount = (decimal)(10);
    Gxm1homesampledata.gxTpr_Productstatus = 1;
    Gxm1homesampledata = new GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem(context);
    Gxm2rootcol.Add(Gxm1homesampledata, 0);
    Gxm1homesampledata.gxTpr_Productname = "中山";
    Gxm1homesampledata.gxTpr_Productprice = (decimal)(890);
    Gxm1homesampledata.gxTpr_Productvolume = (decimal)(100);
    Gxm1homesampledata.gxTpr_Productweight = (decimal)(3000);
    Gxm1homesampledata.gxTpr_Productdiscount = (decimal)(12);
    Gxm1homesampledata.gxTpr_Productstatus = 2;
    Gxm1homesampledata = new GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem(context);
    Gxm2rootcol.Add(Gxm1homesampledata, 0);
    Gxm1homesampledata.gxTpr_Productname = "华西";
    Gxm1homesampledata.gxTpr_Productprice = (decimal)(200);
    Gxm1homesampledata.gxTpr_Productvolume = (decimal)(3098);
    Gxm1homesampledata.gxTpr_Productweight = (decimal)(250);
    Gxm1homesampledata.gxTpr_Productdiscount = (decimal)(20);
    Gxm1homesampledata.gxTpr_Productstatus = 3;
    Gxm1homesampledata = new GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem(context);
    Gxm2rootcol.Add(Gxm1homesampledata, 0);
    Gxm1homesampledata.gxTpr_Productname = "301";
    Gxm1homesampledata.gxTpr_Productprice = (decimal)(48);
    Gxm1homesampledata.gxTpr_Productvolume = (decimal)(879);
    Gxm1homesampledata.gxTpr_Productweight = (decimal)(235);
    Gxm1homesampledata.gxTpr_Productdiscount = (decimal)(42);
    Gxm1homesampledata.gxTpr_Productstatus = 1;
    Gxm1homesampledata = new GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem(context);
    Gxm2rootcol.Add(Gxm1homesampledata, 0);
    Gxm1homesampledata.gxTpr_Productname = "协和";
    Gxm1homesampledata.gxTpr_Productprice = (decimal)(232);
    Gxm1homesampledata.gxTpr_Productvolume = (decimal)(6788);
    Gxm1homesampledata.gxTpr_Productweight = (decimal)(213);
    Gxm1homesampledata.gxTpr_Productdiscount = (decimal)(34);
    Gxm1homesampledata.gxTpr_Productstatus = 4;
    Gxm1homesampledata = new GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem(context);
    Gxm2rootcol.Add(Gxm1homesampledata, 0);
    Gxm1homesampledata.gxTpr_Productname = "龙华";
    Gxm1homesampledata.gxTpr_Productprice = (decimal)(345);
    Gxm1homesampledata.gxTpr_Productvolume = (decimal)(370);
    Gxm1homesampledata.gxTpr_Productweight = (decimal)(230);
    Gxm1homesampledata.gxTpr_Productdiscount = (decimal)(0);
    Gxm1homesampledata.gxTpr_Productstatus = 1;
    if ( context.WillRedirect( ) )
    {
       context.Redirect( context.wjLoc );
       context.wjLoc = "";
    }
    this.cleanup();
 }
예제 #2
0
 void executePrivate( )
 {
     /* GeneXus formulas */
     /* Output device settings */
     AV5id           = 0;
     Gxm1dvelop_menu = new GeneXus.Programs.wwpbaseobjects.SdtDVelop_Menu_Item(context);
     Gxm2rootcol.Add(Gxm1dvelop_menu, 0);
     AV5id = (short)(AV5id + 1);
     Gxm1dvelop_menu.gxTpr_Id         = StringUtil.Str((decimal)(AV5id), 4, 0);
     Gxm1dvelop_menu.gxTpr_Tooltip    = "";
     Gxm1dvelop_menu.gxTpr_Link       = "wwpbaseobjects.home.aspx";
     Gxm1dvelop_menu.gxTpr_Linktarget = "";
     Gxm1dvelop_menu.gxTpr_Iconclass  = "menu-icon fa fa-home";
     Gxm1dvelop_menu.gxTpr_Caption    = "Inicio";
     Gxm1dvelop_menu = new GeneXus.Programs.wwpbaseobjects.SdtDVelop_Menu_Item(context);
     Gxm2rootcol.Add(Gxm1dvelop_menu, 0);
     AV5id = (short)(AV5id + 1);
     Gxm1dvelop_menu.gxTpr_Id         = StringUtil.Str((decimal)(AV5id), 4, 0);
     Gxm1dvelop_menu.gxTpr_Tooltip    = "";
     Gxm1dvelop_menu.gxTpr_Link       = "";
     Gxm1dvelop_menu.gxTpr_Linktarget = "";
     Gxm1dvelop_menu.gxTpr_Iconclass  = "menu-icon fa fa-edit";
     Gxm1dvelop_menu.gxTpr_Caption    = "Painel Gestão";
     Gxv3skipcount = 0;
     AV14GXV2      = 1;
     GXt_objcol_SdtProgramNames_ProgramName1 = AV13GXV1;
     new GeneXus.Programs.wwpbaseobjects.listwwpprograms(context).execute(out GXt_objcol_SdtProgramNames_ProgramName1);
     AV13GXV1 = GXt_objcol_SdtProgramNames_ProgramName1;
     while (AV14GXV2 <= AV13GXV1.Count)
     {
         AV6ProgramName           = ((GeneXus.Programs.wwpbaseobjects.SdtProgramNames_ProgramName)AV13GXV1.Item(AV14GXV2));
         Gxv3skipcount            = (int)(Gxv3skipcount + 1);
         Gxm4dvelop_menu_subitems = new GeneXus.Programs.wwpbaseobjects.SdtDVelop_Menu_Item(context);
         Gxm1dvelop_menu.gxTpr_Subitems.Add(Gxm4dvelop_menu_subitems, 0);
         AV5id = (short)(AV5id + 1);
         Gxm4dvelop_menu_subitems.gxTpr_Id         = StringUtil.Str((decimal)(AV5id), 4, 0);
         Gxm4dvelop_menu_subitems.gxTpr_Tooltip    = "";
         Gxm4dvelop_menu_subitems.gxTpr_Link       = AV6ProgramName.gxTpr_Link;
         Gxm4dvelop_menu_subitems.gxTpr_Linktarget = "";
         Gxm4dvelop_menu_subitems.gxTpr_Iconclass  = "";
         Gxm4dvelop_menu_subitems.gxTpr_Caption    = AV6ProgramName.gxTpr_Description;
         if ((4 != 0) && (Gxv3skipcount >= 4))
         {
             /* Exit For each command. Update data (if necessary), close cursors & exit. */
             if (true)
             {
                 break;
             }
         }
         AV14GXV2 = (int)(AV14GXV2 + 1);
     }
     this.cleanup();
 }
예제 #3
0
 public override void webExecute( )
 {
    context.SetDefaultTheme("WorkWithPlusTheme");
    initialize();
    Gxm2rootcol = new GXBaseCollection<GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem>( context, "HomeSampleDataItem", "DataAnalysisPlatform") ;
    if ( ! context.isAjaxRequest( ) )
    {
       GXSoapHTTPResponse.AppendHeader("Content-type", "text/xml;charset=utf-8");
    }
    if ( StringUtil.StrCmp(StringUtil.Lower( GXSoapHTTPRequest.Method), "get") == 0 )
    {
       if ( StringUtil.StrCmp(StringUtil.Lower( GXSoapHTTPRequest.QueryString), "wsdl") == 0 )
       {
          GXSoapXMLWriter.OpenResponse(GXSoapHTTPResponse);
          GXSoapXMLWriter.WriteStartDocument("utf-8", 0);
          GXSoapXMLWriter.WriteStartElement("definitions");
          GXSoapXMLWriter.WriteAttribute("name", "WWPBaseObjects.GetHomeSampleData");
          GXSoapXMLWriter.WriteAttribute("targetNamespace", "DataAnalysisPlatform");
          GXSoapXMLWriter.WriteAttribute("xmlns:wsdlns", "DataAnalysisPlatform");
          GXSoapXMLWriter.WriteAttribute("xmlns:soap", "http://schemas.xmlsoap.org/wsdl/soap/");
          GXSoapXMLWriter.WriteAttribute("xmlns:xsd", "http://www.w3.org/2001/XMLSchema");
          GXSoapXMLWriter.WriteAttribute("xmlns", "http://schemas.xmlsoap.org/wsdl/");
          GXSoapXMLWriter.WriteAttribute("xmlns:tns", "DataAnalysisPlatform");
          GXSoapXMLWriter.WriteStartElement("types");
          GXSoapXMLWriter.WriteStartElement("schema");
          GXSoapXMLWriter.WriteAttribute("targetNamespace", "DataAnalysisPlatform");
          GXSoapXMLWriter.WriteAttribute("xmlns", "http://www.w3.org/2001/XMLSchema");
          GXSoapXMLWriter.WriteAttribute("xmlns:SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/");
          GXSoapXMLWriter.WriteAttribute("elementFormDefault", "qualified");
          GXSoapXMLWriter.WriteStartElement("complexType");
          GXSoapXMLWriter.WriteAttribute("name", "HomeSampleData");
          GXSoapXMLWriter.WriteStartElement("sequence");
          GXSoapXMLWriter.WriteStartElement("element");
          GXSoapXMLWriter.WriteAttribute("minOccurs", "0");
          GXSoapXMLWriter.WriteAttribute("maxOccurs", "unbounded");
          GXSoapXMLWriter.WriteAttribute("name", "HomeSampleDataItem");
          GXSoapXMLWriter.WriteAttribute("type", "tns:WWPBaseObjects.HomeSampleData.HomeSampleDataItem");
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteStartElement("complexType");
          GXSoapXMLWriter.WriteAttribute("name", "WWPBaseObjects.HomeSampleData.HomeSampleDataItem");
          GXSoapXMLWriter.WriteStartElement("sequence");
          GXSoapXMLWriter.WriteStartElement("element");
          GXSoapXMLWriter.WriteAttribute("name", "ProductName");
          GXSoapXMLWriter.WriteAttribute("type", "xsd:string");
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteStartElement("element");
          GXSoapXMLWriter.WriteAttribute("name", "ProductPrice");
          GXSoapXMLWriter.WriteAttribute("type", "xsd:double");
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteStartElement("element");
          GXSoapXMLWriter.WriteAttribute("name", "ProductWeight");
          GXSoapXMLWriter.WriteAttribute("type", "xsd:double");
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteStartElement("element");
          GXSoapXMLWriter.WriteAttribute("name", "ProductVolume");
          GXSoapXMLWriter.WriteAttribute("type", "xsd:double");
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteStartElement("element");
          GXSoapXMLWriter.WriteAttribute("name", "ProductDiscount");
          GXSoapXMLWriter.WriteAttribute("type", "xsd:double");
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteStartElement("element");
          GXSoapXMLWriter.WriteAttribute("name", "ProductStatus");
          GXSoapXMLWriter.WriteAttribute("type", "xsd:byte");
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteStartElement("element");
          GXSoapXMLWriter.WriteAttribute("name", "WWPBaseObjects.GetHomeSampleData.Execute");
          GXSoapXMLWriter.WriteStartElement("complexType");
          GXSoapXMLWriter.WriteStartElement("sequence");
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteStartElement("element");
          GXSoapXMLWriter.WriteAttribute("name", "WWPBaseObjects.GetHomeSampleData.ExecuteResponse");
          GXSoapXMLWriter.WriteStartElement("complexType");
          GXSoapXMLWriter.WriteStartElement("sequence");
          GXSoapXMLWriter.WriteElement("element", "");
          GXSoapXMLWriter.WriteAttribute("minOccurs", "1");
          GXSoapXMLWriter.WriteAttribute("maxOccurs", "1");
          GXSoapXMLWriter.WriteAttribute("name", "ReturnValue");
          GXSoapXMLWriter.WriteAttribute("type", "tns:HomeSampleData");
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteStartElement("message");
          GXSoapXMLWriter.WriteAttribute("name", "WWPBaseObjects.GetHomeSampleData.ExecuteSoapIn");
          GXSoapXMLWriter.WriteElement("part", "");
          GXSoapXMLWriter.WriteAttribute("name", "parameters");
          GXSoapXMLWriter.WriteAttribute("element", "tns:WWPBaseObjects.GetHomeSampleData.Execute");
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteStartElement("message");
          GXSoapXMLWriter.WriteAttribute("name", "WWPBaseObjects.GetHomeSampleData.ExecuteSoapOut");
          GXSoapXMLWriter.WriteElement("part", "");
          GXSoapXMLWriter.WriteAttribute("name", "parameters");
          GXSoapXMLWriter.WriteAttribute("element", "tns:WWPBaseObjects.GetHomeSampleData.ExecuteResponse");
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteStartElement("portType");
          GXSoapXMLWriter.WriteAttribute("name", "WWPBaseObjects.GetHomeSampleDataSoapPort");
          GXSoapXMLWriter.WriteStartElement("operation");
          GXSoapXMLWriter.WriteAttribute("name", "Execute");
          GXSoapXMLWriter.WriteElement("input", "");
          GXSoapXMLWriter.WriteAttribute("message", "wsdlns:"+"WWPBaseObjects.GetHomeSampleData.ExecuteSoapIn");
          GXSoapXMLWriter.WriteElement("output", "");
          GXSoapXMLWriter.WriteAttribute("message", "wsdlns:"+"WWPBaseObjects.GetHomeSampleData.ExecuteSoapOut");
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteStartElement("binding");
          GXSoapXMLWriter.WriteAttribute("name", "WWPBaseObjects.GetHomeSampleDataSoapBinding");
          GXSoapXMLWriter.WriteAttribute("type", "wsdlns:"+"WWPBaseObjects.GetHomeSampleDataSoapPort");
          GXSoapXMLWriter.WriteElement("soap:binding", "");
          GXSoapXMLWriter.WriteAttribute("style", "document");
          GXSoapXMLWriter.WriteAttribute("transport", "http://schemas.xmlsoap.org/soap/http");
          GXSoapXMLWriter.WriteStartElement("operation");
          GXSoapXMLWriter.WriteAttribute("name", "Execute");
          GXSoapXMLWriter.WriteElement("soap:operation", "");
          GXSoapXMLWriter.WriteAttribute("soapAction", "DataAnalysisPlatformaction/"+"wwpbaseobjects.AGETHOMESAMPLEDATA.Execute");
          GXSoapXMLWriter.WriteStartElement("input");
          GXSoapXMLWriter.WriteElement("soap:body", "");
          GXSoapXMLWriter.WriteAttribute("use", "literal");
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteStartElement("output");
          GXSoapXMLWriter.WriteElement("soap:body", "");
          GXSoapXMLWriter.WriteAttribute("use", "literal");
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteStartElement("service");
          GXSoapXMLWriter.WriteAttribute("name", "WWPBaseObjects.GetHomeSampleData");
          GXSoapXMLWriter.WriteStartElement("port");
          GXSoapXMLWriter.WriteAttribute("name", "WWPBaseObjects.GetHomeSampleDataSoapPort");
          GXSoapXMLWriter.WriteAttribute("binding", "wsdlns:"+"WWPBaseObjects.GetHomeSampleDataSoapBinding");
          GXSoapXMLWriter.WriteElement("soap:address", "");
          GXSoapXMLWriter.WriteAttribute("location", "http://"+context.GetServerName( )+((context.GetServerPort( )>0)&&(context.GetServerPort( )!=80)&&(context.GetServerPort( )!=443) ? ":"+StringUtil.LTrim( StringUtil.Str( (decimal)(context.GetServerPort( )), 6, 0)) : "")+context.GetScriptPath( )+"wwpbaseobjects.gethomesampledata.aspx");
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.WriteEndElement();
          GXSoapXMLWriter.Close();
          return  ;
       }
       else
       {
          currSoapErr = (short)(-20000);
          currSoapErrmsg = "No SOAP request found. Call " + "http://" + context.GetServerName( ) + ((context.GetServerPort( )>0)&&(context.GetServerPort( )!=80)&&(context.GetServerPort( )!=443) ? ":"+StringUtil.LTrim( StringUtil.Str( (decimal)(context.GetServerPort( )), 6, 0)) : "") + context.GetScriptPath( ) + "wwpbaseobjects.gethomesampledata.aspx" + "?wsdl to get the WSDL.";
       }
    }
    if ( currSoapErr == 0 )
    {
       GXSoapXMLReader.OpenRequest(GXSoapHTTPRequest);
       GXSoapXMLReader.ReadExternalEntities = 0;
       GXSoapXMLReader.IgnoreComments = 1;
       GXSoapError = GXSoapXMLReader.Read();
       while ( GXSoapError > 0 )
       {
          this.SetPrefixesFromReader( GXSoapXMLReader);
          if ( StringUtil.StringSearch( GXSoapXMLReader.Name, "Body", 1) > 0 )
          {
             if (true) break;
          }
          GXSoapError = GXSoapXMLReader.Read();
       }
       if ( GXSoapError > 0 )
       {
          GXSoapError = GXSoapXMLReader.Read();
          if ( GXSoapError > 0 )
          {
             this.SetPrefixesFromReader( GXSoapXMLReader);
             currMethod = GXSoapXMLReader.Name;
             if ( ( StringUtil.StringSearch( currMethod+"&", "Execute&", 1) > 0 ) || ( currSoapErr != 0 ) )
             {
                if ( currSoapErr == 0 )
                {
                   Gxm2rootcol = new GXBaseCollection<GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem>( context, "HomeSampleDataItem", "DataAnalysisPlatform");
                }
             }
             else
             {
                currSoapErr = (short)(-20002);
                currSoapErrmsg = "Wrong method called. Expected method: " + "Execute";
             }
          }
       }
       GXSoapXMLReader.Close();
    }
    if ( currSoapErr == 0 )
    {
       if ( GXSoapError < 0 )
       {
          currSoapErr = (short)(GXSoapError*-1);
          currSoapErrmsg = context.sSOAPErrMsg;
       }
       else
       {
          if ( GXSoapXMLReader.ErrCode > 0 )
          {
             currSoapErr = (short)(GXSoapXMLReader.ErrCode*-1);
             currSoapErrmsg = GXSoapXMLReader.ErrDescription;
          }
          else
          {
             if ( GXSoapError == 0 )
             {
                currSoapErr = (short)(-20001);
                currSoapErrmsg = "Malformed SOAP message.";
             }
             else
             {
                currSoapErr = 0;
                currSoapErrmsg = "No error.";
             }
          }
       }
    }
    if ( currSoapErr == 0 )
    {
       executePrivate();
    }
    context.CloseConnections() ;
    GXSoapXMLWriter.OpenResponse(GXSoapHTTPResponse);
    GXSoapXMLWriter.WriteStartDocument("utf-8", 0);
    GXSoapXMLWriter.WriteStartElement("SOAP-ENV:Envelope");
    GXSoapXMLWriter.WriteAttribute("xmlns:SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/");
    GXSoapXMLWriter.WriteAttribute("xmlns:xsd", "http://www.w3.org/2001/XMLSchema");
    GXSoapXMLWriter.WriteAttribute("xmlns:SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/");
    GXSoapXMLWriter.WriteAttribute("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance");
    if ( ( StringUtil.StringSearch( currMethod+"&", "Execute&", 1) > 0 ) || ( currSoapErr != 0 ) )
    {
       GXSoapXMLWriter.WriteStartElement("SOAP-ENV:Body");
       GXSoapXMLWriter.WriteStartElement("WWPBaseObjects.GetHomeSampleData.ExecuteResponse");
       GXSoapXMLWriter.WriteAttribute("xmlns", "DataAnalysisPlatform");
       if ( currSoapErr == 0 )
       {
          if ( Gxm2rootcol != null )
          {
             Gxm2rootcol.writexmlcollection(GXSoapXMLWriter, "ReturnValue", "DataAnalysisPlatform", "HomeSampleDataItem", "DataAnalysisPlatform");
          }
       }
       else
       {
          GXSoapXMLWriter.WriteStartElement("SOAP-ENV:Fault");
          GXSoapXMLWriter.WriteElement("faultcode", "SOAP-ENV:Client");
          GXSoapXMLWriter.WriteElement("faultstring", currSoapErrmsg);
          GXSoapXMLWriter.WriteElement("detail", StringUtil.Trim( StringUtil.Str( (decimal)(currSoapErr), 10, 0)));
          GXSoapXMLWriter.WriteEndElement();
       }
       GXSoapXMLWriter.WriteEndElement();
       GXSoapXMLWriter.WriteEndElement();
    }
    GXSoapXMLWriter.WriteEndElement();
    GXSoapXMLWriter.Close();
    cleanup();
 }
예제 #4
0
 void executePrivate( )
 {
     /* GeneXus formulas */
     /* Output device settings */
     AV5id           = 0;
     Gxm1dvelop_menu = new GeneXus.Programs.wwpbaseobjects.SdtDVelop_Menu_Item(context);
     Gxm2rootcol.Add(Gxm1dvelop_menu, 0);
     AV5id = (short)(AV5id + 1);
     Gxm1dvelop_menu.gxTpr_Id               = StringUtil.Str((decimal)(AV5id), 4, 0);
     Gxm1dvelop_menu.gxTpr_Tooltip          = "";
     Gxm1dvelop_menu.gxTpr_Linktarget       = "";
     Gxm1dvelop_menu.gxTpr_Iconclass        = "menu-icon fa fa-tasks";
     Gxm1dvelop_menu.gxTpr_Caption          = "数据管理";
     Gxm1dvelop_menu.gxTpr_Authorizationkey = "Check_Encounter";
     Gxm3dvelop_menu_subitems               = new GeneXus.Programs.wwpbaseobjects.SdtDVelop_Menu_Item(context);
     Gxm1dvelop_menu.gxTpr_Subitems.Add(Gxm3dvelop_menu_subitems, 0);
     AV5id = (short)(AV5id + 1);
     Gxm3dvelop_menu_subitems.gxTpr_Id               = StringUtil.Str((decimal)(AV5id), 4, 0);
     Gxm3dvelop_menu_subitems.gxTpr_Tooltip          = "";
     Gxm3dvelop_menu_subitems.gxTpr_Link             = "br_informationlist.aspx";
     Gxm3dvelop_menu_subitems.gxTpr_Linktarget       = "";
     Gxm3dvelop_menu_subitems.gxTpr_Iconclass        = "menu-icon fa fa-key";
     Gxm3dvelop_menu_subitems.gxTpr_Caption          = "患者信息管理";
     Gxm3dvelop_menu_subitems.gxTpr_Authorizationkey = "Check_Information";
     Gxm3dvelop_menu_subitems = new GeneXus.Programs.wwpbaseobjects.SdtDVelop_Menu_Item(context);
     Gxm1dvelop_menu.gxTpr_Subitems.Add(Gxm3dvelop_menu_subitems, 0);
     AV5id = (short)(AV5id + 1);
     Gxm3dvelop_menu_subitems.gxTpr_Id               = StringUtil.Str((decimal)(AV5id), 4, 0);
     Gxm3dvelop_menu_subitems.gxTpr_Tooltip          = "";
     Gxm3dvelop_menu_subitems.gxTpr_Link             = "br_encounterlist.aspx";
     Gxm3dvelop_menu_subitems.gxTpr_Linktarget       = "";
     Gxm3dvelop_menu_subitems.gxTpr_Iconclass        = "menu-icon fa fa-briefcase";
     Gxm3dvelop_menu_subitems.gxTpr_Caption          = "就诊信息管理";
     Gxm3dvelop_menu_subitems.gxTpr_Authorizationkey = "Check_Encounter";
     Gxm3dvelop_menu_subitems = new GeneXus.Programs.wwpbaseobjects.SdtDVelop_Menu_Item(context);
     Gxm1dvelop_menu.gxTpr_Subitems.Add(Gxm3dvelop_menu_subitems, 0);
     AV5id = (short)(AV5id + 1);
     Gxm3dvelop_menu_subitems.gxTpr_Id               = StringUtil.Str((decimal)(AV5id), 4, 0);
     Gxm3dvelop_menu_subitems.gxTpr_Tooltip          = "";
     Gxm3dvelop_menu_subitems.gxTpr_Link             = "dashboard.aspx";
     Gxm3dvelop_menu_subitems.gxTpr_Linktarget       = "";
     Gxm3dvelop_menu_subitems.gxTpr_Iconclass        = "menu-icon fa fa-home";
     Gxm3dvelop_menu_subitems.gxTpr_Caption          = "数据统计管理";
     Gxm3dvelop_menu_subitems.gxTpr_Authorizationkey = "Check_Encounter";
     Gxm1dvelop_menu = new GeneXus.Programs.wwpbaseobjects.SdtDVelop_Menu_Item(context);
     Gxm2rootcol.Add(Gxm1dvelop_menu, 0);
     AV5id = (short)(AV5id + 1);
     Gxm1dvelop_menu.gxTpr_Id               = StringUtil.Str((decimal)(AV5id), 4, 0);
     Gxm1dvelop_menu.gxTpr_Tooltip          = "Security of the application";
     Gxm1dvelop_menu.gxTpr_Link             = "";
     Gxm1dvelop_menu.gxTpr_Linktarget       = "";
     Gxm1dvelop_menu.gxTpr_Iconclass        = "menu-icon fa fa-key";
     Gxm1dvelop_menu.gxTpr_Caption          = "系统管理";
     Gxm1dvelop_menu.gxTpr_Authorizationkey = "Check_DefindcodeType";
     Gxm3dvelop_menu_subitems               = new GeneXus.Programs.wwpbaseobjects.SdtDVelop_Menu_Item(context);
     Gxm1dvelop_menu.gxTpr_Subitems.Add(Gxm3dvelop_menu_subitems, 0);
     AV5id = (short)(AV5id + 1);
     Gxm3dvelop_menu_subitems.gxTpr_Id               = StringUtil.Str((decimal)(AV5id), 4, 0);
     Gxm3dvelop_menu_subitems.gxTpr_Tooltip          = "";
     Gxm3dvelop_menu_subitems.gxTpr_Link             = "xt_defindcodetypeww.aspx";
     Gxm3dvelop_menu_subitems.gxTpr_Linktarget       = "";
     Gxm3dvelop_menu_subitems.gxTpr_Iconclass        = "";
     Gxm3dvelop_menu_subitems.gxTpr_Caption          = "数据字典类型管理";
     Gxm3dvelop_menu_subitems.gxTpr_Authorizationkey = "Check_DefindcodeType";
     Gxm1dvelop_menu = new GeneXus.Programs.wwpbaseobjects.SdtDVelop_Menu_Item(context);
     Gxm2rootcol.Add(Gxm1dvelop_menu, 0);
     AV5id = (short)(AV5id + 1);
     Gxm1dvelop_menu.gxTpr_Id               = StringUtil.Str((decimal)(AV5id), 4, 0);
     Gxm1dvelop_menu.gxTpr_Tooltip          = "Security of the application";
     Gxm1dvelop_menu.gxTpr_Link             = "";
     Gxm1dvelop_menu.gxTpr_Linktarget       = "";
     Gxm1dvelop_menu.gxTpr_Iconclass        = "menu-icon fa fa-key";
     Gxm1dvelop_menu.gxTpr_Caption          = "开发者菜单(管理员菜单)";
     Gxm1dvelop_menu.gxTpr_Authorizationkey = "Check_Config";
     Gxm3dvelop_menu_subitems               = new GeneXus.Programs.wwpbaseobjects.SdtDVelop_Menu_Item(context);
     Gxm1dvelop_menu.gxTpr_Subitems.Add(Gxm3dvelop_menu_subitems, 0);
     AV5id = (short)(AV5id + 1);
     Gxm3dvelop_menu_subitems.gxTpr_Id               = StringUtil.Str((decimal)(AV5id), 4, 0);
     Gxm3dvelop_menu_subitems.gxTpr_Tooltip          = "";
     Gxm3dvelop_menu_subitems.gxTpr_Link             = "wwpbaseobjects.secfunctionalityww.aspx";
     Gxm3dvelop_menu_subitems.gxTpr_Linktarget       = "";
     Gxm3dvelop_menu_subitems.gxTpr_Iconclass        = "";
     Gxm3dvelop_menu_subitems.gxTpr_Caption          = "权限管理";
     Gxm3dvelop_menu_subitems.gxTpr_Authorizationkey = "WWSecFunctionality";
     Gxm3dvelop_menu_subitems = new GeneXus.Programs.wwpbaseobjects.SdtDVelop_Menu_Item(context);
     Gxm1dvelop_menu.gxTpr_Subitems.Add(Gxm3dvelop_menu_subitems, 0);
     AV5id = (short)(AV5id + 1);
     Gxm3dvelop_menu_subitems.gxTpr_Id               = StringUtil.Str((decimal)(AV5id), 4, 0);
     Gxm3dvelop_menu_subitems.gxTpr_Tooltip          = "";
     Gxm3dvelop_menu_subitems.gxTpr_Link             = "xt_configww.aspx";
     Gxm3dvelop_menu_subitems.gxTpr_Linktarget       = "";
     Gxm3dvelop_menu_subitems.gxTpr_Iconclass        = "";
     Gxm3dvelop_menu_subitems.gxTpr_Caption          = "配置管理";
     Gxm3dvelop_menu_subitems.gxTpr_Authorizationkey = "WWXT_Config";
     this.cleanup();
 }
예제 #5
0
 void executePrivate( )
 {
     /* GeneXus formulas */
     /* Output device settings */
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle           = "Pessoas";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass  = "fa fa-home";
     Gxm1homemodulessdt.gxTpr_Optiontype            = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize            = 1;
     Gxm1homemodulessdt.gxTpr_Optionbackgroundimage = context.convertURL((String)(context.GetImagePath("d085396f-788e-4174-bb1c-d2d0832ea599", "", context.GetTheme( ))));
     Gxm1homemodulessdt.gxTpr_Optiondescription     = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris tempus vestib ulum mauris quis aliquam.";
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle           = "Produtos";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass  = "fa fa-tasks";
     Gxm1homemodulessdt.gxTpr_Optiontype            = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize            = 1;
     Gxm1homemodulessdt.gxTpr_Optionbackgroundimage = context.convertURL((String)(context.GetImagePath("8b339ea3-0806-4fdc-b87f-6f4b66cf669e", "", context.GetTheme( ))));
     Gxm1homemodulessdt.gxTpr_Optiondescription     = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris tempus vestib ulum mauris quis aliquam.";
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle           = "Parametros";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass  = "fa fa-tags";
     Gxm1homemodulessdt.gxTpr_Optiontype            = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize            = 2;
     Gxm1homemodulessdt.gxTpr_Optionbackgroundimage = context.convertURL((String)(context.GetImagePath("4688f42a-4096-4b76-bddb-a886e286486f", "", context.GetTheme( ))));
     Gxm1homemodulessdt.gxTpr_Optiondescription     = "Parametrize .";
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle           = "Pedidos";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass  = "fa fa-briefcase";
     Gxm1homemodulessdt.gxTpr_Optiontype            = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize            = 1;
     Gxm1homemodulessdt.gxTpr_Optionbackgroundimage = context.convertURL((String)(context.GetImagePath("4c659b0a-96d5-4099-bfb6-c43d7184e732", "", context.GetTheme( ))));
     Gxm1homemodulessdt.gxTpr_Optiondescription     = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris tempus vestib ulum mauris quis aliquam.";
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle           = "Associations";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass  = "fas fa-exchange-alt";
     Gxm1homemodulessdt.gxTpr_Optiontype            = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize            = 1;
     Gxm1homemodulessdt.gxTpr_Optionbackgroundimage = context.convertURL((String)(context.GetImagePath("3ff1b1cd-90c1-4922-90c7-923fe81ed0ed", "", context.GetTheme( ))));
     Gxm1homemodulessdt.gxTpr_Optiondescription     = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris tempus vestib ulum mauris quis aliquam.";
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle           = "Sales Invoice";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass  = "fa fa-credit-card";
     Gxm1homemodulessdt.gxTpr_Optiontype            = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize            = 1;
     Gxm1homemodulessdt.gxTpr_Optionbackgroundimage = context.convertURL((String)(context.GetImagePath("a245472c-9d22-48bd-b724-960d555d3688", "", context.GetTheme( ))));
     Gxm1homemodulessdt.gxTpr_Optiondescription     = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris tempus vestib ulum mauris quis aliquam.";
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle          = "Users";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass = "fa fa-user";
     Gxm1homemodulessdt.gxTpr_Optiontype           = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize           = 1;
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle         = "Issues";
     Gxm1homemodulessdt.gxTpr_Optiondescription   = "Opened Issues: 24";
     Gxm1homemodulessdt.gxTpr_Optiontype          = 2;
     Gxm1homemodulessdt.gxTpr_Optionsize          = 2;
     Gxm1homemodulessdt.gxTpr_Optionprogressvalue = 24;
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle          = "Roles";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass = "fa fa-cog";
     Gxm1homemodulessdt.gxTpr_Optiontype           = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize           = 1;
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle          = "Repository";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass = "fa fa-database";
     Gxm1homemodulessdt.gxTpr_Optiontype           = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize           = 1;
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle          = "Other Configs";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass = "fa fa-bullseye";
     Gxm1homemodulessdt.gxTpr_Optiontype           = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize           = 1;
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle          = "Change Password";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass = "fa fa-key";
     Gxm1homemodulessdt.gxTpr_Optiontype           = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize           = 1;
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle          = "Applications";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass = "fa fa-file";
     Gxm1homemodulessdt.gxTpr_Optiontype           = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize           = 1;
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle         = "Active Sales";
     Gxm1homemodulessdt.gxTpr_Optiontype          = 3;
     Gxm1homemodulessdt.gxTpr_Optionsize          = 1;
     Gxm1homemodulessdt.gxTpr_Optionprogressvalue = 46;
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle          = "Create a User";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass = "fa fa-user-plus";
     Gxm1homemodulessdt.gxTpr_Optiontype           = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize           = 1;
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle          = "Comments";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass = "fa fa-comments";
     Gxm1homemodulessdt.gxTpr_Optiontype           = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize           = 1;
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle          = "Social Media";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass = "fa fa-rss";
     Gxm1homemodulessdt.gxTpr_Optiontype           = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize           = 2;
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle          = "Trips";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass = "fa fa-plane";
     Gxm1homemodulessdt.gxTpr_Optiontype           = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize           = 1;
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle         = "Accounts";
     Gxm1homemodulessdt.gxTpr_Optiondescription   = "Accounts that will expire: 56";
     Gxm1homemodulessdt.gxTpr_Optiontype          = 2;
     Gxm1homemodulessdt.gxTpr_Optionsize          = 2;
     Gxm1homemodulessdt.gxTpr_Optionprogressvalue = 56;
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle          = "Emails";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass = "fa fa-envelope";
     Gxm1homemodulessdt.gxTpr_Optiontype           = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize           = 1;
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle          = "My Profile";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass = "far fa-id-card";
     Gxm1homemodulessdt.gxTpr_Optiontype           = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize           = 1;
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle         = "Pending receipts";
     Gxm1homemodulessdt.gxTpr_Optiontype          = 3;
     Gxm1homemodulessdt.gxTpr_Optionsize          = 1;
     Gxm1homemodulessdt.gxTpr_Optionprogressvalue = 15;
     Gxm1homemodulessdt = new GeneXus.Programs.wwpbaseobjects.SdtHomeModulesSDT_HomeModulesSDTItem(context);
     Gxm2rootcol.Add(Gxm1homemodulessdt, 0);
     Gxm1homemodulessdt.gxTpr_Optiontitle          = "Projects & Expirations";
     Gxm1homemodulessdt.gxTpr_Optioniconthemeclass = "far fa-calendar-alt";
     Gxm1homemodulessdt.gxTpr_Optiontype           = 1;
     Gxm1homemodulessdt.gxTpr_Optionsize           = 2;
     this.cleanup();
 }