2. Concept
var @c: concept
/* Assign @c with the concept value that is inside the property @ConceptProperty */
@c := @ConceptProperty
/* This will throw an error: 'Colors'.'Red' is an unknown concept in the context of a widget */
@c := 'Colors'.'Red'
/* Executing concept-specific functions is allowed */
var @d := Description(@Color)
var @s := ToString(@Color)
var @i := ConceptId(@ConceptProperty)Dropdown Concept Selector
<? register input @ConceptProperty ?>
<select name="<?attr OutputId(@ConceptProperty) ?>">
<? loop range of @ConceptProperty ?>
<option value="<?attr ConceptId(concept) ?>" <? if concept = @ConceptProperty ?>selected<? end ?>>
<?= concept ?>
</option>
<? end ?>
</select>Last updated
Was this helpful?