2 Replies Latest reply: Jun 19, 2012 1:26 AM by Frank Nimphius-Oracle RSS

    LOV disappears on auto submit

    998899-Oracle
      Hi,


      I am using jdev 11.1.2.2


      I have a sql based view object which queries data from a remote db through db link
      select empId from table@dblink
      I created LOV for empId and gave it as auto submit on page.
       <ListBinding
          Name="LOV_empiid"
          ListVOName="Employee"
          ListRangeSize="-1"
          NullValueFlag="start"
          NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
          MRUCount="0">
          <AttrArray Name="AttrNames">
            <Item Value="Empid"/>
          </AttrArray>
          <AttrArray Name="ListAttrNames">
            <Item Value="EmpId"/>
          </AttrArray>
          <AttrArray Name="ListDisplayAttrNames">
            <Item Value="EmpName"/>
          </AttrArray>
          <DisplayCriteria/>
        </ListBinding>
      When i selected a value from the drop down list the auto submit gets activated and value disappears and displays only a null value.

      Why does the value get reseted on submit?
      I get this error in the log

      <FacesCtrlListBinding> <getInputValue> ADFv: Could not find selected item matching value 597 of type: java.lang.Long in the list-of-values

      but the value is present in the view object from the list is taken

      Thanks,
      Rakesh

      Edited by: Rakesh on 18-Jun-2012 05:48