Namespace: Consultingwerk.Web2.Services.Rendering.Form
Class 
ResponsiveFormRenderingService Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Web2.Services.Rendering.IWebFormRenderingService

File:ResponsiveFormRenderingService
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Feb 14 09:08:10 CET 2018
Purpose: Determines the name of the primary data-source
Notes:



Top Method Summary
Options Name Purpose
# CHARACTER GetPrimaryDataSourceName (handle, ISmartRepositoryService) Determines the name of the primary data-source
# RenderDataSources (JsonObject, handle, ISmartRepositoryService) Renders the Data Sources in the Form
+ Progress.Json.ObjectModel.JsonObject RenderDynamicFormToJson (character) Renders the form template to JSON
+ Progress.Json.ObjectModel.JsonObject RenderDynamicFormToJson (handle) Renders the form template


Method Detail
Top

PROTECTED CHARACTER GetPrimaryDataSourceName (handle, ISmartRepositoryService)

Purpose: Determines the name of the primary data-source
Notes:

Parameters:
phRepositoryData HANDLE
The handle of the ProDataset with the repository data
poRepository Consultingwerk.SmartFramework.Repository.ISmartRepositoryService
The ISmartRepositoryService instance
Returns CHARACTER
The name of the primary data-source
Top

PROTECTED RenderDataSources (JsonObject, handle, ISmartRepositoryService)

Purpose: Renders the Data Sources in the Form
Notes:

Parameters:
poDataSources Progress.Json.ObjectModel.JsonObject
The JSON object representing the Data Sources
phRepositoryData HANDLE
The handle of the ProDataset with the repository data
poRepository Consultingwerk.SmartFramework.Repository.ISmartRepositoryService
The ISmartRepositoryService instance
Top

PUBLIC Progress.Json.ObjectModel.JsonObject RenderDynamicFormToJson (character)

Purpose: Renders the form template to JSON
Notes:

Parameters:
pcObjectName CHARACTER
The repository object name of render
Returns Progress.Json.ObjectModel.JsonObject
The form template as a JSON Object
Top

PUBLIC Progress.Json.ObjectModel.JsonObject RenderDynamicFormToJson (handle)

Purpose: Renders the form template
Notes:

Parameters:
phRepositoryData HANDLE
The repository data to render (ProDataset)
Returns Progress.Json.ObjectModel.JsonObject
The Form template as a JSON Object


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:17:33