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!

dilemma - af:iterator or forEach and dynamic components: loosing the value.

437765Jan 25 2007 — edited Mar 27 2012
Hello:

I'm using jdev 10.1.3

I'm trying to create dynamic af:inputTextField, af:selectOneChoice, and other components inside a loop (iterator or forEach).

The component type, is rendered with some condition in the object retrieved from the loop. the problem is:

1.- If I use the forEach, I am not able to create the dynamic list of values using a bean, sending the "description" attribute from the item retrieved in the loop, because It comes null.

2.- If I use the iterator, I can do that, and the list in the selectOneChoice is populated, but when I try to get the value (or submittedValue) in a bean, from the af:inputText generated, it always came null (this does not happen with the forEach).

3.- in resume: I am able to get the value in the input text on a bean, but my LovBean does nothing with the selectOneChoice.

4.- with the iterator I can populate the lovlist using a bean, but I can not get the submitted values in the textfields.

please help.

Message was edited by:
alopez
(sorry, I press the enter button and I only type three words, :P)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 24 2012
Added on Jan 25 2007
3 comments
386 views