/*
               File: NewsString
        Description: News String
             Author: GeneXus C# Generator version 10_1_2-29801
       Generated on: 5/11/2010 22:49:20.86
       Program type: Callable routine
          Main DBMS: sqlserver
*/
gx.evt.autoSkip = false;
function newsstring(CmpContext) {
   this.ServerClass =  "NewsString" ;
   this.PackageName =  "GeneXus.Programs" ;
   this.setObjectType("web");
   this.setCmpContext(CmpContext);
   this.ReadonlyForm = true;
   this.hasEnterEvent = false;
   this.addKeyListener("5", '"RFR"');
   this.autoRefresh = true;
   this.SetStandaloneVars=function()
   {
      this.AV9artnbr=gx.fn.getIntegerValue("_ARTNBR",gx.thousandSeparator) ;
      this.AV16ArtistWiFrameComponentId=gx.fn.getIntegerValue("_ARTISTWIFRAMECOMPONENTID",gx.thousandSeparator) ;
   }
   this.e13052_client=function()
   {
      this.executeServerEvent("ENTER", true, arguments[0]);
   }
   this.e14052_client=function()
   {
      this.executeServerEvent("CANCEL", true, arguments[0]);
   }
   this.GXValidFnc = [];
   this.GXLastCtrlId =0;
   this.StringContainer = new gx.grid.grid(this, 2,"WbpLvl2",14,"String","String","StringContainer",this.CmpContext,this.IsMasterPage,"newsstring",[],true,1,true,true,0,true,false,false,"",0,"px",gx.getMessage( "GXM_NewRow"),true,false,false,null,null,false);
   this.StringContainer.startRow("","","","","","");
   this.StringContainer.startCell("","","top","","","","","","","");
   this.StringContainer.addTextBlock('TXTOPENTABLE',null);
   this.StringContainer.startTable("Tablenews",18,"0px");
   this.StringContainer.addHtmlCode("<TBODY>");
   this.StringContainer.startRow("","","","","","");
   this.StringContainer.startCell("","left","","","","","","","","");
   this.StringContainer.addTextBlock('IMAGE',null);
   this.StringContainer.endCell();
   this.StringContainer.startCell("","","","","","","8px","","","");
   this.StringContainer.endCell();
   this.StringContainer.startCell("","","","","","","","","","");
   this.StringContainer.startTable("Tablendetails",24,"0px");
   this.StringContainer.addHtmlCode("<TBODY>");
   this.StringContainer.startRow("","","","","","");
   this.StringContainer.startCell("","","","","","","","","","");
   this.StringContainer.startTable("Tabledate",27,"0px");
   this.StringContainer.addHtmlCode("<TBODY>");
   this.StringContainer.startRow("","","","","","");
   this.StringContainer.startCell("","","","","","","","","","");
   this.StringContainer.addTextBlock('DATE',null);
   this.StringContainer.endCell();
   this.StringContainer.endRow();
   this.StringContainer.addHtmlCode("</TBODY>");
   this.StringContainer.endTable();
   this.StringContainer.endCell();
   this.StringContainer.endRow();
   this.StringContainer.startRow("","","","","","");
   this.StringContainer.startCell("","","","","","","","","","");
   this.StringContainer.startTable("Tableabstract",33,"0px");
   this.StringContainer.addHtmlCode("<TBODY>");
   this.StringContainer.startRow("","","","","","");
   this.StringContainer.startCell("","","","","","","","","","");
   this.StringContainer.addTextBlock('TITLE',null);
   this.StringContainer.endCell();
   this.StringContainer.endRow();
   this.StringContainer.addHtmlCode("</TBODY>");
   this.StringContainer.endTable();
   this.StringContainer.endCell();
   this.StringContainer.endRow();
   this.StringContainer.startRow("","","","","","");
   this.StringContainer.startCell("","","","","","","","","","");
   this.StringContainer.startTable("Tablebody",39,"0px");
   this.StringContainer.addHtmlCode("<TBODY>");
   this.StringContainer.startRow("","","","","","");
   this.StringContainer.startCell("","","","","","","","","","");
   this.StringContainer.addTextBlock('BODY',null);
   this.StringContainer.endCell();
   this.StringContainer.endRow();
   this.StringContainer.addHtmlCode("</TBODY>");
   this.StringContainer.endTable();
   this.StringContainer.endCell();
   this.StringContainer.endRow();
   this.StringContainer.addHtmlCode("</TBODY>");
   this.StringContainer.endTable();
   this.StringContainer.endCell();
   this.StringContainer.endRow();
   this.StringContainer.addHtmlCode("</TBODY>");
   this.StringContainer.endTable();
   this.StringContainer.addTextBlock('TXTCLOSETABLE',null);
   this.StringContainer.endCell();
   this.StringContainer.endRow();
   this.setGrid(this.StringContainer);
   this.AV9artnbr = 0;
   this.AV16ArtistWiFrameComponentId = 0;
   this.A10ArtNbr = 0;
   this.A159LangCode = "";
   this.A35NewsDateTo = gx.date.nullDate();
   this.A34NewsDateFrom = gx.date.nullDate();
   this.A31NewsTitle = "";
   this.A32NewsAbstract = "";
   this.A288NewsURLSeo = "";
   this.A30NewsId = 0;
   this.A40ComponentId = 0;
   this.A46ComponentRows = 0;
   this.A136ArtistWiFrameComponentId = 0;
   this.ServerEvents = ["e13052_client" ,"e14052_client"];
   this.VarControlMap["AV9artnbr"] = {id:"_ARTNBR",grid:0,type:"int"};
   this.VarControlMap["AV16ArtistWiFrameComponentId"] = {id:"_ARTISTWIFRAMECOMPONENTID",grid:0,type:"int"};
   this.VarControlMap["AV9artnbr"] = {id:"_ARTNBR",grid:0,type:"int"};
   this.VarControlMap["AV16ArtistWiFrameComponentId"] = {id:"_ARTISTWIFRAMECOMPONENTID",grid:0,type:"int"};
   this.StringContainer.addRefreshingVar({rfrVar:"A288NewsURLSeo"});
   this.StringContainer.addRefreshingVar({rfrVar:"A32NewsAbstract"});
   this.StringContainer.addRefreshingVar({rfrVar:"AV11LangCode"});
   this.StringContainer.addRefreshingVar({rfrVar:"A31NewsTitle"});
   this.StringContainer.addRefreshingVar({rfrVar:"A30NewsId"});
   this.StringContainer.addRefreshingVar({rfrVar:"A34NewsDateFrom"});
   this.StringContainer.addRefreshingVar({rfrVar:"AV9artnbr"});
   this.SetStandaloneVars( );
}
gx.setExecutableComponent("newsstring");
