cancel
Showing results for 
Search instead for 
Did you mean: 

DropdownMenus for every single Activity??

Former Member
0 Kudos

I have such a structure in one of my Tabs:

Activitie1--->Dropdown->InputField--->RadioButton

Activitie2--->Dropdown->InputField--->RadioButton

Activitie3--->Dropdown->InputField--->RadioButton

I have a Context-Attribute which contains the variables (Allowed, Not Allowed, No Idea) bind to the DropdownMenu.

And for the InputField and the RadioButton, I have an action which set the readOnly of them on false, if I choose "Allowed" from the Dropdown.

Now my question:

I want to choose for every Activity any value like "Not Allowed for Activity1 and Allowed for Activity2".

This should be independent from other Activities.

Do I have to create a context-attribute for every activity?

-


>So I would have to create a few actions (for every Activity one action.

This must be easier, so I can seperate the lines on another way.

I hope for help.

Thank you

Marcus

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Unless you put the rows inside a table, you need for each row separate context attributes.

By the way, these are not menus but drop-down lists.

Armin

Former Member
0 Kudos

Hello again,

and how can I insert dropdown-lists in a column for each activity?

is it possible?

Best regards

Marcus

former_member201361
Active Contributor
0 Kudos

hi, ys uca insert the drop dowm list for all the column and i am not clear with ur second requirements.

thanks and regards

Fistae

Former Member
0 Kudos

Activitie1--->Dropdown->InputField--->RadioButton

Activitie2--->Dropdown->InputField--->RadioButton

Activitie3--->Dropdown->InputField--->RadioButton

Context:

Activities (node, 0:n)

- selectedActivity (DDIC type "Activity" with value set)

- value (string)

Table.dataSource = Activities

TableColumn1.tableCellEditor = DropDownByKey1

DropDownByKey1.selectedKey = Activities/@selectedActivity

TableColumn2.tableCellEditor = InputField1

InputField1.value = Activities/@value

(Not sure about your radio buttons per row. What are they intended to do?)

To get 3 rows, you have to add 3 node elements to node "Activities".

To identify the row (node element) in action handler, use parameter mapping.

Armin