}//END getOrganisationSelection method // ============================================================================== /// <summary> /// This method returns a client application ResultData object /// </summary> /// <param name="PageObject">Evado.UniForm.Model.Page object.</param> /// <returns>ClientApplicationData object</returns> // ------------------------------------------------------------------------------ public void getListGroup ( Evado.UniForm.Model.Page PageObject ) { this.LogMethod ( "getListGroup" ); // // Create the new pageMenuGroup. // Evado.UniForm.Model.Group pageGroup = PageObject.AddGroup ( EdLabels.Organisation_List_Group_Title ); pageGroup.Layout = Evado.UniForm.Model.GroupLayouts.Full_Width; pageGroup.CmdLayout = Evado.UniForm.Model.GroupCommandListLayouts.Vertical_Orientation; // // Add the save groupCommand // Evado.UniForm.Model.Command groupCommand = pageGroup.addCommand ( EdLabels.Organisation_New_Command_Title, EuAdapter.ADAPTER_ID, EuAdapterClasses.Organisations.ToString ( ), Evado.UniForm.Model.ApplicationMethods.Create_Object ); // // Define the save and delete groupCommand parameters // groupCommand.AddParameter ( EuOrganisations.CONST_NEW_FIELD_ID, "true" ); groupCommand.SetBackgroundColour ( Evado.UniForm.Model.CommandParameters.BG_Default, Evado.UniForm.Model.Background_Colours.Purple ); // // generate the page links. // foreach ( EdOrganisation organisation in this.Session.AdminOrganisationList ) { // // Add the trial organisation to the list of organisations as a groupCommand. // Evado.UniForm.Model.Command command = pageGroup.addCommand ( organisation.LinkText, EuAdapter.ADAPTER_ID, EuAdapterClasses.Organisations.ToString ( ), Evado.UniForm.Model.ApplicationMethods.Get_Object ); command.Id = organisation.Guid; command.SetGuid ( organisation.Guid ); }//END organisation list iteration loop this.LogValue ( "pageGroup.CommandList.Count {0}. ", pageGroup.CommandList.Count ); this.LogMethodEnd ( "getListGroup" ); }//END getListGroup method.