Skip to Content
author's profile photo Former Member
Former Member

Enumeration and CheckBoxGroup

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 21, 2008 at 12:52 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 21, 2008 at 01:48 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.