简体   繁体   中英

How to populate a selectOneChoice control in oracle ADF?

I am using a procedure which has one IN param(VARCHAR) and one OUT param(REF CURSOR) . My task is to populate that REF CURSOR into a selectOneChoice control. I am able to call the procedure in ADF but unable to populate REF CURSOR into selectOneChoice control.

My Jdeveloper version is 11.1.1.5.0.

Just put the result of your cursor into a List (of a bean) or View Object. Then use that list to populate your SOC or use the View Object to generate a SOC for you.

Here an example for the bean method: http://sameh-nassar.blogspot.be/2009/11/filling-selectonechoice-from.html

Nobody will get direct answer for this question. Some research is required.

This link also helps a lot ...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM