// ============================================================================== /// <summary> /// This method returns a client application ResultData object /// </summary> /// <param name="ClientDataObject">Evado.UniForm.Model.AppData object.</param> /// <returns>ClientApplicationData object</returns> // ------------------------------------------------------------------------------ private void getClientData ( Evado.UniForm.Model.AppData ClientDataObject ) { this.LogMethod ( "getDataObject" ); // // Initialise the methods variables and objects. // Evado.UniForm.Model.Command pageCommand = new Evado.UniForm.Model.Command ( ); Evado.UniForm.Model.Field pageField = new Evado.UniForm.Model.Field ( ); List<EvOption> optionList = new List<EvOption> ( ); EvOption option = new EvOption ( ); ClientDataObject.Id = this.Session.MenuItem.Guid; ClientDataObject.Title = EdLabels.Menu_Item; ClientDataObject.Page.Id = ClientDataObject.Id; ClientDataObject.Page.Title = ClientDataObject.Title; ClientDataObject.Page.EditAccess = Evado.UniForm.Model.EditAccess.Enabled; // // create the page pageMenuGroup // Evado.UniForm.Model.Group pageGroup = ClientDataObject.Page.AddGroup ( EdLabels.Menu_General_Group_Title, Evado.UniForm.Model.EditAccess.Inherited ); pageGroup.Layout = Evado.UniForm.Model.GroupLayouts.Full_Width; // // Add the platform selection list // optionList.Add ( new EvOption ( EuMenus.CONST_ADMIN_APPLICATION_IDENTIFIER, EdLabels.Menu_Admin_Platform_Option_Description ) ); optionList.Add ( new EvOption ( EuMenus.CONST_PRODUCTION_APPLICATION_IDENTIFIER, EdLabels.Menu_Production_Platform_Option_Description ) ); pageField = pageGroup.createSelectionListField ( String.Empty, EdLabels.Menu_Platform_Field_Label, this.Session.MenuPlatformId, optionList ); pageField.EditAccess = Evado.UniForm.Model.EditAccess.Disabled; // // Create the customer id object // optionList = this.AdapterObjects.PageIdentifiers; Evado.Digital.Model.EvcStatics.sortOptionListValues ( optionList ); pageField = pageGroup.createSelectionListField ( EvMenuItem.MenuFieldNames.Page_Id.ToString ( ), EdLabels.Menu_Page_Id_Field_Label, this.Session.MenuItem.PageId.ToString ( ), optionList ); pageField.Layout = EuAdapter.DefaultFieldLayout; // // Create the customer name object // pageField = pageGroup.createTextField ( EvMenuItem.MenuFieldNames.Title.ToString ( ), EdLabels.Menu_Title_Field_Label, String.Empty, this.Session.MenuItem.Title, 20 ); pageField.Layout = EuAdapter.DefaultFieldLayout; // // Create the customer name object // pageField = pageGroup.createNumericField ( EvMenuItem.MenuFieldNames.Order.ToString ( ), EdLabels.Menu_Order_Field_Label, this.Session.MenuItem.Order, 0, 200 ); pageField.Layout = EuAdapter.DefaultFieldLayout; // // Create the customer name object // optionList = this.AdapterObjects.Settings.GetRoleOptionList ( false ); string roles = this.Session.MenuItem.RoleList; pageField = pageGroup.createCheckBoxListField ( EvMenuItem.MenuFieldNames.Role_List.ToString ( ), EdLabels.Menu_Role_List_Field_Label, roles, optionList ); pageField.Layout = EuAdapter.DefaultFieldLayout; pageField.Description = EdLabels.Menu_Role_List_Field_Description; // // Create the customer name object // pageField = pageGroup.createTextField ( EvMenuItem.MenuFieldNames.Parameters.ToString ( ), EdLabels.Menu_Parameters_Field_Label, String.Empty, this.Session.MenuItem.Parameters, 20 ); pageField.Layout = EuAdapter.DefaultFieldLayout; // // Add the save groupCommand // pageCommand = pageGroup.addCommand ( EdLabels.Menu_Save_Command_Title, EuAdapter.ADAPTER_ID, EuAdapterClasses.Menu.ToString ( ), Evado.UniForm.Model.ApplicationMethods.Save_Object ); // // Define the save and delete groupCommand parameters // pageCommand.SetGuid ( ClientDataObject.Id ); // // Add the delete groupCommand object. // pageCommand = pageGroup.addCommand ( EdLabels.Menu_Delete_Command_Title, EuAdapter.ADAPTER_ID, EuAdapterClasses.Menu.ToString ( ), Evado.UniForm.Model.ApplicationMethods.Save_Object ); // // Define the save and delete groupCommand parameters // pageCommand.SetGuid ( ClientDataObject.Id ); pageCommand.AddParameter ( Evado.Digital.Model.EvcStatics.CONST_SAVE_ACTION, EuMenus.CONST_DELETE_ACTION ); }//END Method
}//END getFormPropertiesObject method // ============================================================================== /// <summary> /// This method returns a client application ResultData object /// </summary> /// <param name="ClientDataObject">Evado.UniForm.Model.AppData object.</param> // ------------------------------------------------------------------------------ private void getPropertiesSectionDataObject ( Evado.UniForm.Model.AppData ClientDataObject ) { this.LogMethod ( "getPropertiesSectionDataObject" ); this.LogDebug ( "FormSection.No: " + this.Session.FormSection.No ); this.LogDebug ( "FormSection.Title: " + this.Session.FormSection.Title ); this.LogDebug ( "FormSection.DisplayRoles: " + this.Session.FormSection.ReadAccessRoles ); this.LogDebug ( "FormSection.EditRoles: " + this.Session.FormSection.EditAccessRoles ); this.LogDebug ( "HasConfigrationEditAccess: " + this.Session.UserProfile.hasManagementAccess ); // // Initialise the methods variables and objects. // Evado.UniForm.Model.Group pageGroup = new Evado.UniForm.Model.Group ( ); Evado.UniForm.Model.Command pageCommand = new Evado.UniForm.Model.Command ( ); Evado.UniForm.Model.Field pageField = new Evado.UniForm.Model.Field ( ); Evado.UniForm.Model.Parameter parameter = new Evado.UniForm.Model.Parameter ( ); List<EvOption> optionList = new List<EvOption> ( ); optionList.Add ( new EvOption ( ) ); foreach ( EdRecordField field in this.Session.EntityLayout.Fields ) { optionList.Add ( new EvOption ( field.FieldId, field.FieldId + EdLabels.Space_Hypen + field.Title ) ); } // // Initialise the client ResultData object. // if ( this.Session.EntityLayout.Guid != Guid.Empty ) { ClientDataObject.Id = Guid.NewGuid ( ); ClientDataObject.Title = String.Format ( EdLabels.FormProperties_Section_Page_Title, this.Session.EntityLayout.LayoutId, this.Session.EntityLayout.Title, this.Session.FormSection.LinkText ); ClientDataObject.Page.Id = ClientDataObject.Id; ClientDataObject.Page.PageDataGuid = ClientDataObject.Id; ClientDataObject.Page.PageId = this.Session.EntityLayout.LayoutId; } else { ClientDataObject.Id = Guid.NewGuid ( ); ClientDataObject.Title = EdLabels.Form_Page_New_Form_Title; ClientDataObject.Page.Id = ClientDataObject.Id; ClientDataObject.Page.PageDataGuid = ClientDataObject.Id; } ClientDataObject.Page.EditAccess = Evado.UniForm.Model.EditAccess.Enabled; if ( this.Session.UserProfile.hasManagementAccess == true ) { ClientDataObject.Page.EditAccess = Evado.UniForm.Model.EditAccess.Enabled; } if ( this.Session.EntityLayout.State != EdRecordObjectStates.Form_Issued && this.Session.EntityLayout.State != EdRecordObjectStates.Withdrawn ) { ClientDataObject.Page.EditAccess = Evado.UniForm.Model.EditAccess.Disabled; } // // Set the user's edit access if they have configuration edit access. // if ( this.Session.UserProfile.hasManagementAccess == true ) { ClientDataObject.Page.EditAccess = Evado.UniForm.Model.EditAccess.Enabled; } pageGroup = ClientDataObject.Page.AddGroup ( EdLabels.FormProperties_Section_Group_Text, Evado.UniForm.Model.EditAccess.Inherited ); pageGroup.Layout = Evado.UniForm.Model.GroupLayouts.Full_Width; // // Form No // pageField = pageGroup.createTextField ( EdRecordSection.FormSectionClassFieldNames.Sectn_No.ToString ( ), EdLabels.Form_Section_No_Field_Label, this.Session.FormSection.No.ToString ( ), 50 ); pageField.Layout = EuAdapter.DefaultFieldLayout; pageField.EditAccess = Evado.UniForm.Model.EditAccess.Enabled; // // Form title // pageField = pageGroup.createTextField ( EdRecordSection.FormSectionClassFieldNames.Sectn_Title.ToString ( ), EdLabels.Form_Section_Title_Field_Label, this.Session.FormSection.Title, 50 ); pageField.Layout = EuAdapter.DefaultFieldLayout; // // Form Instructions // pageField = pageGroup.createFreeTextField ( EdRecordSection.FormSectionClassFieldNames.Sectn_Instructions.ToString ( ), EdLabels.Form_Section_Instructions_Field_Label, EdLabels.Form_Section_Instructions_Field_Description, this.Session.FormSection.Instructions, 90, 5 ); pageField.Layout = EuAdapter.DefaultFieldLayout; optionList = new List<EvOption> ( ); this.LogDebug ( "FormSection.Order: " + this.Session.FormSection.Order ); foreach ( EdRecordSection section in this.Session.EntityLayout.Design.FormSections ) { if ( section.Order < this.Session.FormSection.Order ) { this.LogDebug ( "secttion.Order: " + section.Order + " BEFORE SECTION" ); var value = String.Format ( EdLabels.Form_Section_Order_Before_Text, section.Title ); optionList.Add ( new EvOption ( ( section.Order - 1 ).ToString ( ), value ) ); } if ( section.Order == this.Session.FormSection.Order ) { this.LogDebug ( "secttion.Order: " + section.Order + " CURRENT" ); optionList.Add ( new EvOption ( this.Session.FormSection.Order.ToString ( ), this.Session.FormSection.Title ) ); } if ( section.Order > this.Session.FormSection.Order ) { this.LogDebug ( "secttion.Order: " + section.Order + " AFTER SECTION" ); var value = String.Format ( EdLabels.Form_Section_Order_After_Text, section.Title ); optionList.Add ( new EvOption ( ( section.Order + 1 ).ToString ( ), value ) ); } } // // The form section order // pageField = pageGroup.createSelectionListField ( EdRecordSection.FormSectionClassFieldNames.Sectn_Order.ToString ( ), EdLabels.Form_Section_Order_Field_Label, this.Session.FormSection.Order.ToString ( ), optionList ); pageField.Layout = EuAdapter.DefaultFieldLayout; /* // // The form section field id // pageField = pageGroup.createSelectionListField ( EvFormSection.FormSectionClassFieldNames.Sectn_Field_Id.ToString ( ), EdLabels.Form_Section_Field_ID_Field_Label, this.SessionObjects.FormSection.FieldId, optionList ); pageField.Layout = EuPageGenerator.ApplicationFieldLayout; // // Form Field value // pageField = pageGroup.createTextField ( EvFormSection.FormSectionClassFieldNames.Sectn_Field_Value.ToString ( ), EdLabels.Form_Section_Field_Value_Field_Label, this.SessionObjects.FormSection.FieldValue, 50 ); pageField.Layout = EuPageGenerator.ApplicationFieldLayout; pageField.EditAccess = Evado.UniForm.Model.EditAccess.Inherited; // // form secton on open display section. // pageField = pageGroup.createBooleanField ( EvFormSection.FormSectionClassFieldNames.Sectn_On_Open_Visible.ToString ( ), EdLabels.Form_Section_Visible_On_Open_Field_Label, this.SessionObjects.FormSection.OnOpenVisible ); pageField.Layout = EuPageGenerator.ApplicationFieldLayout; // // Form on field value match display field field // pageField = pageGroup.createBooleanField ( EvFormSection.FormSectionClassFieldNames.Sectn_On_Match_Visible.ToString ( ), EdLabels.Form_Section_Visible_Field_Value_Matches_Field_Label, this.SessionObjects.FormSection.OnMatchVisible ); pageField.Layout = EuPageGenerator.ApplicationFieldLayout; */ // // get the list of display roles. // optionList = new List<EvOption> ( ); optionList = this.AdapterObjects.Settings.GetRoleOptionList ( false ); // // The form section user display roles // pageField = pageGroup.createCheckBoxListField ( EdRecordSection.FormSectionClassFieldNames.Sectn_Display_Roles.ToString ( ), EdLabels.Form_Section_User_Display_Roles_Field_Label, EdLabels.Form_Section_User_Display_Roles_Field_Description, this.Session.FormSection.ReadAccessRoles, optionList ); pageField.Layout = EuAdapter.DefaultFieldLayout; // // get the list of edit roles. // pageField = pageGroup.createCheckBoxListField ( EdRecordSection.FormSectionClassFieldNames.Sectn_Edit_Roles.ToString ( ), EdLabels.Form_Section_User_Edit_Roles_Field_Label, EdLabels.Form_Section_User_Edit_Roles_Field_Description, this.Session.FormSection.EditAccessRoles, optionList ); pageField.Layout = EuAdapter.DefaultFieldLayout; // // Add the command to save the page content. // pageCommand = pageGroup.addCommand ( EdLabels.Form_Properties_Section_Save_Command_Title, EuAdapter.ADAPTER_ID, EuAdapterClasses.Entity_Layouts.ToString ( ), Evado.UniForm.Model.ApplicationMethods.Custom_Method ); pageCommand.SetPageId ( Evado.Digital.Model.EdStaticPageIds.Form_Properties_Page ); pageCommand.setCustomMethod ( Evado.UniForm.Model.ApplicationMethods.Get_Object ); pageCommand.SetGuid ( this.Session.EntityLayout.Guid ); pageCommand.AddParameter ( EuRecordLayouts.CONST_UPDATE_SECTION_COMMAND_PARAMETER, "1" ); }//END getPropertiesDataObject Method
// ============================================================================== /// <summary> /// This method creates an entity filter selection field object. /// </summary> /// <param name="PageGroup">Evado.Model.Uniform.Group object to add the pageGroup .</param> /// <param name="FilterIndex">Integer: filter index</param> /// <param name="SelectionFilter">String: filter value </param> /// <param name="Field">EdRecordField object.</param> // ------------------------------------------------------------------------------ private void getFilteredList_SelectionField ( Evado.UniForm.Model.Group PageGroup, int FilterIndex, String SelectionFilter, EdRecordField Field ) { this.LogMethod ( "getFilteredList_SelectionField" ); this.LogDebug ( "FilterIndex: {0}, SelectionFilter: {1}. ", FilterIndex, SelectionFilter ); //this.LogDebug ( "F: {0}, T: {1}, Type {2}. ", Field.FieldId, Field.Title, Field.TypeId ); List<EvOption> optionList = Evado.UniForm.Model.EuStatics.getStringAsOptionList ( Field.Design.Options ); optionList.Sort ( ( n1, n2 ) => n1.Description.CompareTo ( n2.Description ) ); List<EvOption> selectionOptionList = new List<EvOption> ( ); selectionOptionList.Add ( new EvOption ( ) ); foreach ( EvOption opt in optionList ) { selectionOptionList.Add ( opt ); } // // user the switch to select the selection data types. // switch ( Field.TypeId ) { case EvDataTypes.Check_Box_List: { var field = PageGroup.createCheckBoxListField ( EuEntities.CONST_SELECTION_FIELD + FilterIndex, Field.Title, SelectionFilter, optionList ); field.Layout = EuAdapter.DefaultFieldLayout; field.AddParameter ( Evado.UniForm.Model.FieldParameterList.Snd_Cmd_On_Change, 1 ); break; } case EvDataTypes.Yes_No: case EvDataTypes.Boolean: { var field = PageGroup.createBooleanField ( EuEntities.CONST_SELECTION_FIELD + FilterIndex, Field.Title, EvStatics.getBool ( SelectionFilter ) ); field.Layout = EuAdapter.DefaultFieldLayout; field.AddParameter ( Evado.UniForm.Model.FieldParameterList.Snd_Cmd_On_Change, 1 ); break; } case EvDataTypes.Selection_List: case EvDataTypes.Radio_Button_List: { var field = PageGroup.createSelectionListField ( EuEntities.CONST_SELECTION_FIELD + FilterIndex, Field.Title, SelectionFilter, selectionOptionList ); field.Layout = EuAdapter.DefaultFieldLayout; field.AddParameter ( Evado.UniForm.Model.FieldParameterList.Snd_Cmd_On_Change, 1 ); break; } case EvDataTypes.External_Selection_List: case EvDataTypes.External_RadioButton_List: { this.LogDebug ( "External_Selection_List filter" ); selectionOptionList = this.getFilteredList_SelectionOptions ( Field, true ); if ( selectionOptionList.Count <= 1 ) { this.LogDebug ( "No Selection list options" ); break; } var field = PageGroup.createSelectionListField ( EuEntities.CONST_SELECTION_FIELD + FilterIndex, Field.Title, SelectionFilter, selectionOptionList ); field.Layout = EuAdapter.DefaultFieldLayout; field.AddParameter ( Evado.UniForm.Model.FieldParameterList.Snd_Cmd_On_Change, 1 ); break; } case EvDataTypes.External_CheckBox_List: { this.LogDebug ( "External_CheckBox_List filter" ); selectionOptionList = this.getFilteredList_SelectionOptions ( Field, false ); if ( selectionOptionList.Count == 0 ) { this.LogDebug ( "No CheckBox list options" ); break; } var field = PageGroup.createCheckBoxListField ( EuEntities.CONST_SELECTION_FIELD + FilterIndex, Field.Title, SelectionFilter, selectionOptionList ); field.Layout = EuAdapter.DefaultFieldLayout; field.AddParameter ( Evado.UniForm.Model.FieldParameterList.Snd_Cmd_On_Change, 1 ); break; } }//END switch statment this.LogMethodEnd ( "getFilteredList_SelectionField" ); }//END getFilteredList_SelectionField Query
}//END getProperties_GeneralPageGroup Method // ============================================================================== /// <summary> /// This method returns a client application ResultData object /// </summary> /// <param name="Page">Evado.UniForm.Model.Page object.</param> // ------------------------------------------------------------------------------ private void getPropertiesPage_SettingGroup ( Evado.UniForm.Model.Page Page ) { this.LogMethod ( "getPropertiesPage_SettingGroup" ); // // Initialise the methods variables and objects. // Evado.UniForm.Model.Group pageGroup = new Evado.UniForm.Model.Group ( ); Evado.UniForm.Model.Command pageCommand = new Evado.UniForm.Model.Command ( ); Evado.UniForm.Model.Field groupField = new Evado.UniForm.Model.Field ( ); Evado.UniForm.Model.Parameter parameter = new Evado.UniForm.Model.Parameter ( ); List<EvOption> optionList = new List<EvOption> ( ); // // Define the general properties pageMenuGroup.. // pageGroup = Page.AddGroup ( EdLabels.Form_Properties_Settings_Group_Title ); pageGroup.Layout = Evado.UniForm.Model.GroupLayouts.Full_Width; pageGroup.SetCommandBackBroundColor ( Evado.UniForm.Model.GroupParameterList.BG_Mandatory, Evado.UniForm.Model.Background_Colours.Red ); this.GetDataObject_GroupCommands ( pageGroup ); // // Layout field readonly display format settings // optionList = EvStatics.getOptionsFromEnum ( typeof ( EdRecord.FieldReadonlyDisplayFormats ), false ); groupField = pageGroup.createSelectionListField ( EdRecord.FieldNames.FieldReadonlyDisplayFormat.ToString ( ), EdLabels.EntityLayout_FieldDisplayFormat_Field_Title, this.Session.EntityLayout.Design.FieldReadonlyDisplayFormat, optionList ); groupField.Layout = EuAdapter.DefaultFieldLayout; // // Form Update reason // optionList = this.AdapterObjects.Settings.GetRoleOptionList ( false ); groupField = pageGroup.createCheckBoxListField ( EdRecord.FieldNames.ReadAccessRoles.ToString ( ), EdLabels.Record_Layout_AccessRole_Field_Label, this.Session.EntityLayout.Design.EditAccessRoles, optionList ); groupField.Layout = EuAdapter.DefaultFieldLayout; groupField.EditAccess = this._DesignAccess; groupField = pageGroup.createCheckBoxListField ( EdRecord.FieldNames.EditAccessRoles.ToString ( ), EdLabels.Record_Layout_EditRole_Field_Label, this.Session.EntityLayout.Design.ReadAccessRoles, optionList ); groupField.Layout = EuAdapter.DefaultFieldLayout; groupField.EditAccess = this._DesignAccess; // // Layout author only draft record access // optionList = EvStatics.getOptionsFromEnum ( typeof ( EdRecord.AuthorAccessList ), false ); this.LogDebug ( "Author Access option list length: ", optionList ); this.LogDebug ( "RecordLayout.Design.AuthorAccess: ", this.Session.EntityLayout.Design.AuthorAccess ); groupField = pageGroup.createSelectionListField ( EdRecord.FieldNames.AuthorAccess.ToString ( ), EdLabels.Record_Layout_Author_Access_Setting_Field_Title, this.Session.EntityLayout.Design.AuthorAccess, optionList ); groupField.Layout = EuAdapter.DefaultFieldLayout; groupField.EditAccess = this._DesignAccess; // // Enable display if chiled entities. // groupField = pageGroup.createBooleanField ( EdRecord.FieldNames.DisplayRelatedEntities.ToString ( ), EdLabels.EntityLayout_Display_Related_Entities_Field_Title, this.Session.EntityLayout.Design.DisplayRelatedEntities ); groupField.Layout = EuAdapter.DefaultFieldLayout; // // Layout author only edit record access // optionList = EvStatics.getOptionsFromEnum ( typeof ( EdRecord.ParentTypeList ), true ); groupField = pageGroup.createSelectionListField ( EdRecord.FieldNames.ParentType.ToString ( ), EdLabels.Record_Layout_Parent_Object_Type_Field_Title, this.Session.EntityLayout.Design.ParentType, optionList ); groupField.Layout = EuAdapter.DefaultFieldLayout; groupField.EditAccess = this._DesignAccess; // // Select the hierachical entities this entity can be referenced to. // if ( this.Session.EntityLayout.Design.ParentType == EdRecord.ParentTypeList.Entity ) { optionList = this.AdapterObjects.GetIssuedEntityOptions ( false ); groupField = pageGroup.createCheckBoxListField ( EdRecord.FieldNames.ParentEntities.ToString ( ), EdLabels.Record_Layout_Parent_Entity_Selection_Field_Title, this.Session.EntityLayout.Design.ParentEntities, optionList ); groupField.Layout = EuAdapter.DefaultFieldLayout; } // // Default field layout // optionList = EvStatics.getOptionsFromEnum ( typeof ( Evado.UniForm.Model.FieldLayoutCodes ), false ); if ( this.Session.EntityLayout.Design.DefaultPageLayout == null ) { this.Session.EntityLayout.Design.DefaultPageLayout = EuAdapter.DefaultFieldLayout.ToString ( ); } groupField = pageGroup.createSelectionListField ( EdRecord.FieldNames.DefaultPageLayout.ToString ( ), EdLabels.Form_Llink_Default_Layout_Field_Title, this.Session.EntityLayout.Design.DefaultPageLayout, optionList ); groupField.Layout = EuAdapter.DefaultFieldLayout; // // Record LLnk content setting // optionList = EvStatics.getOptionsFromEnum ( typeof ( EdRecord.LinkContentSetting ), false ); if ( this.Session.EntityLayout.Design.LinkContentSetting == EdRecord.LinkContentSetting.Null ) { this.Session.EntityLayout.Design.LinkContentSetting = EdRecord.LinkContentSetting.Default; } groupField = pageGroup.createSelectionListField ( EdRecord.FieldNames.LinkContentSetting, EdLabels.Record_Link_Content_Setting_Field_Title, this.Session.EntityLayout.Design.LinkContentSetting, optionList ); groupField.Layout = EuAdapter.DefaultFieldLayout; // // Record header layout settings // optionList = EvStatics.getOptionsFromEnum ( typeof ( EdRecord.HeaderFormat ), false ); if ( this.Session.EntityLayout.Design.HeaderFormat == EdRecord.HeaderFormat.Null ) { this.Session.EntityLayout.Design.HeaderFormat = EdRecord.HeaderFormat.Default; } groupField = pageGroup.createSelectionListField ( EdRecord.FieldNames.HeaderFormat, EdLabels.RecordLayout_Header_Format_Field_Title, this.Session.EntityLayout.Design.HeaderFormat, optionList ); groupField.Layout = EuAdapter.DefaultFieldLayout; // // Record footer layout settings // optionList = EvStatics.getOptionsFromEnum ( typeof ( EdRecord.FooterFormat ), false ); if ( this.Session.EntityLayout.Design.FooterFormat == EdRecord.FooterFormat.Null ) { this.Session.EntityLayout.Design.FooterFormat = EdRecord.FooterFormat.Default; } groupField = pageGroup.createSelectionListField ( EdRecord.FieldNames.FooterFormat, EdLabels.RecordLayout_Footer_Format_Field_Title, this.Session.EntityLayout.Design.FooterFormat, optionList ); groupField.Layout = EuAdapter.DefaultFieldLayout; // // Form CS Script // groupField = pageGroup.createBooleanField ( EdRecord.FieldNames.HasCsScript.ToString ( ), EdLabels.Form_Cs_Script_Field_Title, this.Session.EntityLayout.Design.hasCsScript ); groupField.Layout = EuAdapter.DefaultFieldLayout; groupField.EditAccess = this._DesignAccess; this.LogMethodEnd ( "getPropertiesPage_SettingGroup" ); }//END getProperties_GeneralPageGroup Method