8 Replies Latest reply: Feb 15, 2013 1:28 AM by izzzooo RSS

    selectOneChoice default value

    Kronos72it
      Hi, I have just an

      <af:selectOneChoice label="Qry Due Error" id="sor1"
      value="#{bindings.qryDueError.inputValue}"
      required="true" valuePassThru="true" >
      <af:selectItem label="Is Due to Error" value="1" id="si2"/>
      <af:selectItem label="Is not Due to Error" id="si3" value="0"/>
      </af:selectOneChoice>

      and on page def :

      <attributeValues IterBinding="RDQNIterator" id="qryDueError" InitialValue="0" >
      <AttrNames>
      <Item Value="qryDueError"/>
      </AttrNames>
      </attributeValues>

      Then why the list box on shown page report an (added) empty item and doen't report the '0' item ?

      thanks