cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with ArrayList

Former Member
0 Kudos

Hi, i´m doing the tutorial: Context Programming and Data Binding (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/application%20of%20context%20programming%20and%20data%20binding.pdf)

but when i execute the application, in the table only appear one customer... why?

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

former_member185029
Active Contributor
0 Kudos

Hi,

I guess you have not provided node as a datasource to the table.

Ashu

Former Member
0 Kudos

Appear only one customer... The datasource i write: Customer.Address

former_member185029
Active Contributor
0 Kudos

Hi,

Go to table properties, and check if you have provided datasource as the node which contains data.

Ashu

Former Member
0 Kudos

ok, now rok perfectly... can you explain why if i select customer.address not appear all and if i select customer appear all?

former_member185029
Active Contributor
0 Kudos

Hi,

Basically there are two mapping you do for a table UI,

One for the values that you populate in the table (Context mapping)

Since table UI is designed for displaying collections, it also needs datasource (a node which contains data for table).

If you specify only context mapping it will naturally display 1st record.

Ashu

Answers (0)