cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with Symple Types and Contexts

Former Member
0 Kudos

Hello Experts,

I have a problem. I want to bind a Context in a TableColumn. For this, the property - type of the Context is bind to an SymplyType (which I filled with data).

But when I Run the Application the table don't show me the input.

What should I do?

Thanks

Best regards

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member201361
Active Contributor
0 Kudos

hi,

what is the UI Element are u using as Table cell editor for the Table Column.

thanks and regards

Fistae

Former Member
0 Kudos

Hi,

Chk u r cardinality value... (You have to give 1..1 or 1..n)

GS

venkatakalyan_karanam
Active Contributor
0 Kudos

Hi

Take the table cell editor is a dropdown by key and bind the context attribute of type simple type with the selected key.

Then you can see the values in Table cell Column.So that you are giving a choice to the user to select one value out of the values you set at design time of the Simple Data Type.You should bind to a Table column cell editor.

Regards

Kalyan

Former Member
0 Kudos

First of all I will fill the first Column like the following:

Activities

Football

Baseball

Golf

Polo

Soccer

So these are only TextView-Elements

The Symple Type is filled like this:

Value Description

Football Football

Baseball Baseball

Golf Golf

Polo Polo

Soccer Soccer

What should I do?

Best regards

Marcus

Former Member
0 Kudos

Do you want to have a column with a TextView editor and show all available values in different rows, or do you want to have a drop-down lists in each row that offers all activities?

Armin

Former Member
0 Kudos

I want to show the values in different rows. no dropdown.

So if I have 12 activities, I also have 12 rows

Thanks

Marcus

Former Member
0 Kudos

Then you have to do the following:

- Get the value set from the dictionary type for the activities

- Iterate over the keys in the value set

- for each key, get the localized text for your session locale

- create a node element and set the activity name to the retrieved localized text

Armin