4 Replies Latest reply: Feb 13, 2013 3:47 AM by 990751 RSS

    single select editable adf table having blank selectOneChoice

    990751
      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}"
      shortDesc="#{bindings.Bean.hints.refinementId.tooltip}"
      id="soc3">
      <f:selectItems value="#{backingBeanScope.backing_somebean.backingBeanMethod}"
      id="si5"/>
      </af:selectOneChoice>

      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.

      Problem::
      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