4 Replies Latest reply on Feb 13, 2013 9:47 AM by 990751

    single select editable adf table having blank selectOneChoice

      I've a situation, where I've a single select and editable af:table (created using a data control) in jsff which has a af:selectOneChoice in its column.

      <af:selectOneChoice value="#{row.bindings.id.inputValue}"
      <f:selectItems value="#{backingBeanScope.backing_somebean.backingBeanMethod}"

      As shown, #{row.bindings.id.inputValue} is a numeric value. Also, #{backingBeanScope.backing_somebean.backingBeanMethod} is a method (in jsff's backing bean, which returns SelectItem[] items) which populates the items successfully.

      The drop down shows blank. The id value (#{row.bindings.id.inputValue}) matches with one of the Items. i.e. select items has a record whose id matches the value of #{row.bindings.id.inputValue}. Expected behavior was to display the label of the matched value id.

      Any idea why it is not showing the desired label.

      Edited by: 987748 on Feb 12, 2013 10:58 PM