Dynamic View Services > Specifying Dynamic View Types > Expression of Representation Attributes > Simple Expressions
 
Simple Expressions
A simple expression is a direct mapping to a runtime server attribute, relation or representation.
For example: In the code sample below, the expressions for the attributes ownerTree and label of the item representation in the view DomainTree are simple expressions:
subscribe Department:
represent TreeItemR item:
Ref<TreeR> ownerTree=company->root;
string label=name;

Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.