| Using the Designer > Using More Designer Features > Using Data Model Expressions |
Using Data Model Expressions |
INDEX
PREVIOUS
NEXT
|
It is possible to use the values of data model attributes for styling. You can also use an expression involving one or more data property values for styling.
A reference to a model attribute is the name of the attribute preceded by the commercial at symbol, for example, @id.
An expression is signalled by the initial symbols @| for example, @|"name is: "+@id. Note that this example uses the concatenation operator, +, and that literal strings must be enclosed in quotation marks. A further example is @|@firstname+" "+@name, which is used in the genealogical tree example, see Customizing Genealogy Nodes By Type. For full details of the expression syntax, see Expressions in Developing with the SDK.
The way to enter references or expressions in the Designer depends on whether the styling property you want to set is a text property or not.
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |