Top Method Summary
Options Name Purpose
INTEGER HandleGet (IWebRequest) Default handler for the HTTP GET method. The request being serviced and an optional status code is returned. A zero or null value means this method will deal with all errors.
INTEGER HandlePut (IWebRequest) Handler for the HTTP PUT method - saves the changed values of tree nodes
Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode NodesFromRequest (IWebRequest) Returns the nodes of the update request body
Progress.Json.ObjectModel.JsonArray NodesToJson (ListSerializableTreeNode) Returns the JSON array of the given nodes


Method Detail
Top

INTEGER HandleGet (IWebRequest)

Purpose: Default handler for the HTTP GET method. The request being
serviced and an optional status code is returned. A zero or
null value means this method will deal with all errors.
Notes:

Parameters:
poRequest OpenEdge.Web.IWebRequest
The IWebRequest instance representing the call
Returns INTEGER
StatusCode of the response sent to the client
Top

INTEGER HandlePut (IWebRequest)

Purpose: Handler for the HTTP PUT method - saves the changed values of
tree nodes
Notes: SCL-5849. PUT /SmartViews/TreeNodes with a JSON array of the
changed nodes (the JSON of SerializableTreeNode, each node
complete plus OriginalMainColumnValue / OriginalNodeValues).
The nodes are passed to the ISmartUpdatableTreeNodeProvider
(the SmartTreeNodeProviderRegistry). Responds with the JSON
array of the refreshed nodes. Validation errors
(TreeNodeValidationException) are answered with the status 422
and a JSON object { "errors": [...], "updatedNodes": [...] };
every error carries NodeType, NodeKey, KeyValues, CellIndex
(1-based in the order of NodeEditorTypes, 1 = main column, 0 =
the node as a whole) and Message. updatedNodes are the
refreshed nodes of the node types that have been saved. Any
other error is turned into the error response by the
web-catch.i include

Parameters:
poRequest OpenEdge.Web.IWebRequest
The IWebRequest instance representing the call
Returns INTEGER
StatusCode of the response sent to the client
Top

Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode NodesFromRequest (IWebRequest)

Purpose: Returns the nodes of the update request body
Notes: SCL-5849. The body is a JSON array of nodes; a single node
object is accepted as well. The nodes are deserialized without
type information (see SerializableTreeNode:DeserializeProperty)

Parameters:
poRequest OpenEdge.Web.IWebRequest
The IWebRequest instance representing the call
Returns Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode
The ListSerializableTreeNode with the nodes of the request
Top

Progress.Json.ObjectModel.JsonArray NodesToJson (ListSerializableTreeNode)

Purpose: Returns the JSON array of the given nodes
Notes: SCL-5849

Parameters:
poNodes Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode
The ListSerializableTreeNode
Returns Progress.Json.ObjectModel.JsonArray
The JsonArray with the JSON of the nodes


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       10.10.2026 15:36:36