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

File:GridWebRendering
Purpose:Rendering of a grid component
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Feb 15 11:40:24 CET 2018



Top Method Summary
Options Name Purpose
+ Progress.Json.ObjectModel.JsonObject GetDetailTemplate (character) Returns the Detail Template
# CHARACTER GetTranslation (character, character, character) Returns a translated string
# Progress.Json.ObjectModel.JsonObject RenderColumnEditor (handle, handle, handle) Renders an embedded editor
+ Progress.Json.ObjectModel.JsonObject RenderComponentToJson (character, handle, handle) Renders a component to JSON
# Progress.Json.ObjectModel.JsonObject RenderGridLayout (character, handle, handle) Renders the Grid Layout based on the repository data

Top Constructor Summary
Options Name Purpose
GridWebRendering () Static constructor for the GridWebRendering class


Method Detail
Top

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

Purpose: Returns the Detail Template
Notes:

Parameters:
pcDetailTemplate CHARACTER
The name of the detail template
Returns Progress.Json.ObjectModel.JsonObject
The JsonObject representing the detail template
Top

PROTECTED CHARACTER GetTranslation (character, character, character)

Purpose: Returns a translated string
Notes:

Parameters:
pcScope CHARACTER
The translation scope
pcKey CHARACTER
The translation key
pcDefault CHARACTER
The default text - when no translation is available
Returns CHARACTER
The Translated text
Top

PROTECTED Progress.Json.ObjectModel.JsonObject RenderColumnEditor (handle, handle, handle)

Purpose: Renders an embedded editor
Notes:

Parameters:
hColumnInstanceBuffer HANDLE
The handle of the column instance buffer
hColumnAttributes HANDLE
The handle of the attributes buffer
phRepositoryData HANDLE
The handle of the ProDataset with the repository data
Returns Progress.Json.ObjectModel.JsonObject
The JsonObject with the repository data
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

PROTECTED Progress.Json.ObjectModel.JsonObject RenderGridLayout (character, handle, handle)

Purpose: Renders the Grid Layout based on the repository data
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


Constructor Detail
Top

STATIC GridWebRendering ()

Purpose: Static constructor for the GridWebRendering class
Notes:



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