Namespace: Consultingwerk.Web2.Services.Rendering.Components
Class 
GroupBoxWebRendering Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Web2.Services.Rendering.Components.IContainerWebRenderingComponent, Consultingwerk.Web2.Services.Rendering.IWebRenderingService

File:GroupBoxWebRendering
Purpose:Rendering of GroupBox components for Angular JS and Angular 2
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Feb 10 15:16:33 CET 2018



Top Method Summary
Options Name Purpose
+ 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
+ SetDataContext (IBusinessEntityDescriptor, handle, character) Sets the Data context
+ SetLayoutStyle (LayoutStyleEnum) Sets the Layout Style


Method Detail
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 (hmtl 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 longchar representation (hmtl code) of the field
Top

PUBLIC SetDataContext (IBusinessEntityDescriptor, handle, character)

Purpose: Sets the Data context
Notes:

Parameters:
poDescriptor Consultingwerk.OERA.BusinessEntityDescriptor.IBusinessEntityDescriptor
The Business Entity Descriptor instance
phDataset HANDLE
The handle of the Business Entities's Dataset
pcTables CHARACTER
The list of tables for the data sources
Top

PUBLIC SetLayoutStyle (LayoutStyleEnum)

Purpose: Sets the Layout Style
Notes:

Parameters:
poLayoutStyle Consultingwerk.Web2.Services.Rendering.Viewer.LayoutStyleEnum
The LayoutStyle Pixel / Responsive


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:40:33