/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:8:21.61
*/
gx.evt.autoSkip=!1;gx.define("recentlinks",!0,function(n){var i,t;this.ServerClass="recentlinks";this.PackageName="";this.setObjectType("web");this.setCmpContext(n);this.ReadonlyForm=!0;this.hasEnterEvent=!1;this.skipOnEnter=!1;this.autoRefresh=!0;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){this.AV6FormCaption=gx.fn.getControlValue("vFORMCAPTION")};this.e12022_client=function(){return this.executeServerEvent("ENTER",!0,arguments[0],!1,!1)};this.e13022_client=function(){return this.executeServerEvent("CANCEL",!0,arguments[0],!1,!1)};this.GXValidFnc=[];i=this.GXValidFnc;this.GXCtrlIds=[2,3,4,5,7,8,9,10];this.GXLastCtrlId=10;this.LinksContainer=new gx.grid.grid(this,2,"WbpLvl2",6,"Links","Links","LinksContainer",this.CmpContext,this.IsMasterPage,"recentlinks",[],!0,9999,!1,!0,9999,!0,!1,!1,"",0,"px",0,"px","Novo registro",!0,!1,!1,null,null,!1,"",!0,[0,0,0,0],!1,0,!1,!1);t=this.LinksContainer;t.startDiv(7,"Table1","0px","0px");t.startDiv(8,"","0px","0px");t.startDiv(9,"","0px","0px");t.addTextBlock("PLACE",null,10);t.endDiv();t.endDiv();t.endDiv();this.LinksContainer.emptyText="";this.setGrid(t);i[2]={id:2,fld:"",grid:0};i[3]={id:3,fld:"MAINTABLE",grid:0};i[4]={id:4,fld:"",grid:0};i[5]={id:5,fld:"",grid:0};i[7]={id:7,fld:"TABLE1",grid:6};i[8]={id:8,fld:"",grid:6};i[9]={id:9,fld:"",grid:6};i[10]={id:10,fld:"PLACE",format:0,grid:6};this.AV6FormCaption="";this.AV7FormPgmName="";this.Events={e12022_client:["ENTER",!0],e13022_client:["CANCEL",!0]};this.EvtParms.REFRESH=[[{av:"LINKS_nFirstRecordOnPage"},{av:"LINKS_nEOF"},{ctrl:"LINKS",prop:"Rows"},{av:"AV6FormCaption",fld:"vFORMCAPTION",pic:""},{av:"sPrefix"}],[]];this.EvtParms["LINKS.LOAD"]=[[{av:"AV6FormCaption",fld:"vFORMCAPTION",pic:""}],[{av:'gx.fn.getCtrlProperty("PLACE","Caption")',ctrl:"PLACE",prop:"Caption"},{av:'gx.fn.getCtrlProperty("PLACE","Link")',ctrl:"PLACE",prop:"Link"}]];this.EvtParms.LINKS_FIRSTPAGE=[[{av:"LINKS_nFirstRecordOnPage"},{av:"LINKS_nEOF"},{ctrl:"LINKS",prop:"Rows"},{av:"AV6FormCaption",fld:"vFORMCAPTION",pic:""},{av:"sPrefix"}],[]];this.EvtParms.LINKS_PREVPAGE=[[{av:"LINKS_nFirstRecordOnPage"},{av:"LINKS_nEOF"},{ctrl:"LINKS",prop:"Rows"},{av:"AV6FormCaption",fld:"vFORMCAPTION",pic:""},{av:"sPrefix"}],[]];this.EvtParms.LINKS_NEXTPAGE=[[{av:"LINKS_nFirstRecordOnPage"},{av:"LINKS_nEOF"},{ctrl:"LINKS",prop:"Rows"},{av:"AV6FormCaption",fld:"vFORMCAPTION",pic:""},{av:"sPrefix"}],[]];this.EvtParms.LINKS_LASTPAGE=[[{av:"LINKS_nFirstRecordOnPage"},{av:"LINKS_nEOF"},{ctrl:"LINKS",prop:"Rows"},{av:"AV6FormCaption",fld:"vFORMCAPTION",pic:""},{av:"sPrefix"}],[]];this.setVCMap("AV6FormCaption","vFORMCAPTION",0,"char",100,0);this.setVCMap("AV6FormCaption","vFORMCAPTION",0,"char",100,0);t.addRefreshingVar({rfrVar:"AV6FormCaption"});t.addRefreshingParm({rfrVar:"AV6FormCaption"});this.Initialize()})