cancel
Showing results for 
Search instead for 
Did you mean: 

Enumeration and CheckBoxGroup

Former Member
0 Kudos

Hello everyone,

I have a context node "WeekDays" with cardinality 0...n and multiple selection. Inside i have an attribute "Texts" of a SimpleType i created, with enumeration values ("Monday", "Tuesday", ...).

In a view, i created a CheckBoxGroup that maps the referred attribute into the texts property.

Now, in the Developer Studio i can see all the enumeration values i created.

But when i deploy nothings is shown, and the node size is empty. can anyone explain what to i have to add? Must i use a supply function? If so, can anyone point me to an example on how to search the enumeration values in code ?

Thank you in advance,

Nuno

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (1)

Answers (1)

Former Member
0 Kudos

You are confusing things here. The binding model for a checkbox group does not need a value set on a DDIC type. The texts of the check boxes are determined from the values of the attribute for the node elements.

Give the "Texts" attribute just type "string" and create a node element for each week day, set the "Texts" attribute to the weekday name (according to the currently used locale).

Armin