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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to get the entered values from a KFF field

2895588Sep 6 2015 — edited Sep 6 2015

Hi,

I  had a requirement in ADF dealing with KeyFlexFields. As I am new to ADF and to the KFF concept, can anyone please help me with an approach.

I have got a KFF Field , say "Additional Eligibility" in a jsff page. This field opens up into a pop up with LOVs for two other fields , say"OverTime" and "Shift Eligibility". The values to this fields are Yes or No. So, if an user selects "OverTime" as "Yes" , say and "Shift Eligibility" as "No", then the "Additional Eligibilty" field says "Y.N" .

The requirement is to get the value of this "Additional Field " ,i.e,"Y.N" as entered by the user.

The problem is that the VO responsible for this KFF field does not have an iterator. So, I am not able to get the VO object using an iterator.

I have tried to use UIComponent as well as ValueChangeListener to get the values entered.

However, in each case I am getting the following error:

Caused by: javax.el.ELException: java.lang.ClassCastException: oracle.apps.fnd.applcore.flex.ui.kff.KffComponent


The fact is that in both the  methods that I am calling in  the above cases (i.e for UIComponent  & ValueChangeListener ) I have an appslogger message at the entry point (Something like "Inside abc method"). But in the logs, the appslogger message is not getting printed at all. Instead the above exception is caught. So, I am not sure whether the method is even getting called or not. The methods that I am calling returns a String value. And there isn't any type casting in the methods involving the above class.


I am not sure how to get the required values programatically.


It would be really great if anyone could help me with the issue and may be suggest me an approach.


Thanks,

Samik


Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 4 2015
Added on Sep 6 2015
1 comment
500 views