JDev10g - Foreach compontent in ListBox component
704711Aug 4 2009 — edited Aug 5 2009I have 2 list boxes where the first one is dependent on the second one based on an ID. However the ID's aren't in order and the list is grabbing an index (as opposed to the ID)
I am trying to use a foreach component inside the listbox to grab the ID's but I'm not quite sure how to use it.... I have:
<af:selectOneChoice value="#{bindings[\'LOOKUP_VO1LookupId\'].inputValue}"
label="#{bindings[\'LOOKUP_VO1LookupId\'].label}"
id="select"
autoSubmit="true">
<af:forEach items="#{bindings.LOOKUP_VO1Iterator.allRowsInRange}"
var="LookupId">
<af:selectItem value="#{LookupId.LOOKUP_ID}"
label="#{LookupId.LOOKUP_ID}" id="si1"/>
</af:forEach>
</af:selectOneChoice>
and I'm getting the error message:
Error getting property 'LOOKUP_ID' from bean of type oracle.jbo.server.ViewRowImpl