Skip to Main Content

E-Business Suite

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!

Help with reading formValue from a OAF page in ebs R12.2.10

Shamili GuptaJun 2 2025

Hello,

I have to extend an oaf page to add extra field for more information on the page. The data which I require to get more information is stored as form value in nested region. Code from the PG layer is below.

<oa:formValue rendered="false" prompt="Person ID" dataType="NUMBER" viewName="TerminationDetailsVO" viewAttr="PersonId" shortDesc="Person ID" id="PerPersonId" adminCustomizable="false" promptTranslationExpansion="100%" user:akAttributeCode="PER_PERSON_ID" user:akAttributeApplicationId="800"/>

I tried using below code in ProcessRequest but couldn't read value of personId. All i need is to be able to read value of PersonId

try{
OAFormValueBean personIdBean = (OAFormValueBean)oawebbean.findChildRecursive("PerPersonId");
String strFormValue = (String)personIdBean.getValue(oapagecontext);
oapagecontext.writeDiagnostics(this,"personId from strFormValue"+strFormValue,1);
} catch(Exception e){
oapagecontext.writeDiagnostics(this,"error while getting value from formvalue",1);
}

or

String v_emp =(String)oapagecontext.getSessionValue("PerPersonId");

Also, is there a way to implement changes without bouncing the server?

Any lead is greatly appreciated.

-Thanks,

Comments
Post Details
Added on Jun 2 2025
0 comments
280 views