Dexels / navajo

Navajo Service-oriented Applications
GNU Affero General Public License v3.0
9 stars 5 forks source link

added support to messagemap for selectionpointer #570

Closed roelofkemp closed 3 years ago

roelofkemp commented 3 years ago

added support to messagemap for selectionpointer to enable scripts to iterate over a selection property similar to the functionality in navajomap. For example:

<field name="selectionPointer">
    <expression value="'Value'" />
</field>
<message name="QuestionSelection">
    <map ref="selections">
        <property name="Key">
            <expression value="$optionValue" />
        </property>
        <property name="Label">
            <expression value="$optionName" />
        </property>
        <property name="Selected">
            <expression value="$optionSelected" />
        </property>
    </map>
</message>
ghost commented 3 years ago

This resulted in bundle com.dexels.navajo.adapters version 2.7.53.