text: sap.ui.jsview("com.limscloud.app.view.LandingPage",{getControllerName:function(){return"com.limscloud.app.controller.LandingPage"},createContent:function(e){var a=new sap.m.Input("ip_EmpId",{value:"",enabled:true});var t=new sap.m.Input("ip_sEmpId",{value:""});var l=new sap.m.Input("ip_Name",{value:""});var n=new sap.m.DatePicker("ip_DOB",{value:"",valueFormat:"dd/MM/yyyy",displayFormat:"dd/MM/yyyy"});var p=new sap.m.Input("ip_Desig",{value:""});var s=new sap.m.Input("ip_Gender",{value:""});var r=new sap.m.Label("lb_EmpId",{text:"Id",labelFor:"ip_EmpId"});var i=new sap.m.Label("lb_sEmpId",{text:"Id",labelFor:"ip_sEmpId"});var o=new sap.m.Label("lb_Name",{text:"Name",labelFor:"ip_Name"});var m=new sap.m.Label("lb_DOB",{text:"DOB",labelFor:"ip_DOB"});var b=new sap.m.Label("lb_Desig",{text:"Designation",labelFor:"ip_Desig"});var d=new sap.m.Label("lb_Gender",{text:"Gender",labelFor:"ip_Gender"});var u=new sap.ui.layout.form.SimpleForm("Emp_Form",{editable:true,layout:"ResponsiveGridLayout",width:"100%",content:[new sap.ui.core.Title({text:"Update/Delete Employee Data"}),r,a,o,l,m,n,b,p,d,s]});var v=new sap.m.Input("ip_cEmpId",{value:"",enabled:true});var w=new sap.m.Input("ip_cName",{value:""});var _=new sap.m.DatePicker("ip_cDOB",{value:"",valueFormat:"dd/MM/yyyy",displayFormat:"dd/MM/yyyy"});var x=new sap.m.Input("ip_cDesig",{value:""});var c=new sap.m.Input("ip_cGender",{value:""});var D=new sap.m.Label("lb_cEmpId",{text:"Id",labelFor:"ip_cEmpId"});var y=new sap.m.Label("lb_cName",{text:"Name",labelFor:"ip_cName"});var g=new sap.m.Label("lb_cDOB",{text:"DOB",labelFor:"ip_cDOB"});var I=new sap.m.Label("lb_cDesig",{text:"Designation",labelFor:"ip_cDesig"});var B=new sap.m.Label("lb_cGender",{text:"Gender",labelFor:"ip_cGender"});var F=new sap.ui.layout.form.SimpleForm("Emp_cForm",{editable:true,layout:"ResponsiveGridLayout",width:"100%",content:[new sap.ui.core.Title({text:"Insert Employee Data"}),D,v,y,w,g,_,I,x,B,c,new sap.m.Button("empadd",{text:"Create",press:[e.handleOperationBtncreate,e]}),new sap.ui.core.Title({text:"Get Employee Data"}),i,t,new sap.m.Button("empsearch",{text:"Search",press:e.handleSearch}),new sap.m.Label("slbl_name",{text:"Name",visible:false}),new sap.m.Text("s_txtName",{text:""}),new sap.m.Label("slbl_dob",{text:"dob",visible:false}),new sap.m.Text("s_txtDob",{text:""}),new sap.m.Label("slbl_desig",{text:"Designation",visible:false}),new sap.m.Text("s_txtdesig",{text:""}),new sap.m.Label("slbl_gender",{text:"Gender",visible:false}),new sap.m.Text("s_txtgender",{text:""})]});e.CRUDselection=new sap.m.Dialog("CRUDselection",{title:"Employee",content:[u],buttons:[new sap.m.Button("operation_Save",{text:"Update",press:e.handlebtn_Save}),new sap.m.Button("operation_Delete",{text:"Delete",press:e.handlebtn_Delete}),new sap.m.Button("operation_cancel",{text:"Cancel",press:e.handleOperationBtncls})]});var L=new sap.m.Text("txt_EmpId",{text:"{id}"});var C=new sap.m.Text("txt_Name",{text:"{name}"});var E=new sap.m.Text("txt_DOB",{text:"{dob}"});var T=new sap.m.Text("txt_Desig",{text:"{designation}"});var G=new sap.m.Text("txt_Gender",{text:"{gender}"});var h=new sap.ui.table.Column("Coln_1",{label:"Gender",template:G});var N=new sap.ui.table.Column("Coln_2",{label:"Id",template:L});var O=new sap.ui.table.Column("Coln_3",{label:"Name",template:C});var M=new sap.ui.table.Column("Coln_4",{label:"DOB",template:E});var S=new sap.ui.table.Column("Coln_5",{label:"Desig",template:T});e.oTable=new sap.ui.table.Table("tbl_odata",{title:"Data in MongoDB",visibleRowCount:6,columns:[N,O,M,S,h],selectionMode:sap.ui.table.SelectionMode.Single,selectionBehavior:sap.ui.table.SelectionBehavior.Row,rowSelectionChange:e.rowSelect});var f=[F,e.oTable];return f}});