Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDev10g - Foreach compontent in ListBox component

704711Aug 4 2009 — edited Aug 5 2009
I 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
This post has been answered by Sireesha Pinninti-Oracle on Aug 5 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 2 2009
Added on Aug 4 2009
3 comments
2,215 views