how to bind this?
i have an array. i use objectarraydataprovider that uses my array.i want to use expression like page.oadpAddresses.options['addressKey.id,addressName']}. addressKey is an object and it has a property called id. i can use root properties of this array's items. how can i bind inner properties?
what does #{......options[...]} means? there is no method called options in objectarraydataprovider?
<ui:dropDown binding="#{page.cmbAddressType}" id="cmbAddressType"
items="#{page.oadpAddresses.options['addressKey.id,addressName']}">
[638 byte] By [
NewsHunter] at [2007-11-26 11:59:35]

# 1
With the dataprovider's "options" notation, you must specify field keys of the dataprovider, which, as I recall, are the "top-level" properties of the underlying object type in your array. So you will not be able to specify "nested" properties of that type in this scenario, since those nested properties are not the field keys.
The options notation is implemented by the DataProviderPropertyResolver. It takes the field keys you specify and creates Options objects.
In this case, it may be easier just to create an array of Option objects yourself and not use the dataprovider.
mbohm at 2007-7-7 12:21:40 >
