Namespace: Consultingwerk.Web2.Services.Rendering.FormComponents
Class 
CustomComponentWebRendering Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Web2.Services.Rendering.FormComponents.IFormWebRenderingComponent, Consultingwerk.Web2.Services.Rendering.IWebRenderingService

File:CustomComponentWebRendering
Purpose:Rendering of a custom Angular component
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Feb 12 20:19:24 CET 2019
Notes:WebRenderingService for MetaCustomComponent instances
Purpose: Renders a repository object as html
Notes:



Top Method Summary
Options Name Purpose
+ Progress.Json.ObjectModel.JsonObject RenderComponentToJson (character, handle, handle) Renders a component to JSON
+ LONGCHAR RenderHtml (character, character, character, character, character, logical, logical, handle, handle, character, ViewerBindingStyleEnum) Renders a repository object as html
+ Progress.Json.ObjectModel.JsonObject RenderJson (character, character, character, character, logical, logical, logical, handle, handle, character) Renders a repository object as JSON


Method Detail
Top

PUBLIC Progress.Json.ObjectModel.JsonObject RenderComponentToJson (character, handle, handle)

Purpose: Renders a component to JSON
Notes:

Parameters:
pcObjectInstanceGuid CHARACTER
The GUID of the current object instance
phAttributesBuffer HANDLE
The record buffer with the object attributes
phRepositoryData HANDLE
The repository data to render (ProDataset)
Returns Progress.Json.ObjectModel.JsonObject
The JSON object describing the component
Top

PUBLIC LONGCHAR RenderHtml (character, character, character, character, character, logical, logical, handle, handle, character, ViewerBindingStyleEnum)

Purpose: Renders a repository object as html
Notes:

Parameters:
pcObjectName CHARACTER
The name of the repository field
pcScope CHARACTER
The scope to bind the field to (for additional properties)
pcFieldModel CHARACTER
The model to bind the field to
pcFieldId CHARACTER
The Id of the field (JQuery)
pcFieldName CHARACTER
The name of the field
plMandatory LOGICAL
Logical value indicating if the field is mandatory
plReadOnly LOGICAL
Logical value indicating if the field is mandatory
phAttributes HANDLE
The record buffer with the object attributes
phDataset HANDLE
The handle of the Business Entity Dataset
pcTables CHARACTER
The list of tables (entity table + entity view)
poBindingStyle Consultingwerk.Web2.Services.SmartViews.ViewerBindingStyleEnum
The style of data bindings (AngularJS or Angular2)
Returns LONGCHAR
The longchar representation (HTML code) of the field
Top

PUBLIC Progress.Json.ObjectModel.JsonObject RenderJson (character, character, character, character, logical, logical, logical, handle, handle, character)

Purpose: Renders a repository object as JSON
Notes:

Parameters:
pcObjectName CHARACTER
The name of the repository field
pcScope CHARACTER
The scope to bind the field to (for additional properties)
pcFieldModel CHARACTER
The model to bind the field to
pcFieldName CHARACTER
The name of the field
plMandatory LOGICAL
Logical value indicating if the field is mandatory
plReadOnly LOGICAL
Logical value indicating if the field is mandatory
plAddOnly LOGICAL
Logical value indicating if the field is only enable during add
phAttributes HANDLE
The record buffer with the object attributes
phDataset HANDLE
The handle of the Business Entity Dataset
pcTables CHARACTER
The list of tables (entity table + entity view)
Returns Progress.Json.ObjectModel.JsonObject
The JSON of the field


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