How you can access the true value of the selected list item or radio button directly from ADF

Friday, July 25, 2008

ADF manages the selected value of the list item internally and the value that is exposed through the list binding itself is only the index number of the selection in the list. Developers often make the mistake of treating the value of the list binding as one of these expected values and trying to write code or expressions based on that. The simplest way to gain direct access to the true value of an attribute that is populated from a list binding is to create a secondary value binding to the underlying data. This secondary binding can then be used within expressions to access the true value of the attribute.

Details can be found here.

  © Blogger templates Newspaper by Ourblogtemplates.com 2008

Back to TOP