• Skip to primary navigation
  • Skip to main content

Tech Honey

The #1 Website for Oracle PL/SQL, OA Framework and HTML

  • Home
  • HTML
    • Tags in HTML
    • HTML Attributes
  • OA Framework
    • Item in OAF
    • Regions in OAF
    • General OAF Topics
  • Oracle
    • statement
    • function
    • clause
    • plsql
    • sql
You are here: Home / Items / How to get value of Text Box in OA Framework?

How to get value of Text Box in OA Framework?

October 17, 2012 by techhoneyadmin

Well getting the value of a text box from an OA Framework page can be termed as one of the most basic requirements, but still its worth to be learnt.

Before we begin I assume that you have an OAF page (xxTrialPG) and a controller (xxTrialCO). Also I assume that you have created a Text Box bean and have a OAMessageTextInputBean(xxTrialMessageTextInputBean) bean on xxTrialPG.

Let’s take this in steps for easy understanding.

Step 1: Import the OAMessageTextInputBean bean in your controller

import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;

Step 2: Create a handle or reference of the xxTrialMessageTextInputBean bean in our controller so that we can control the properties of xxTrialMessageTextInputBean via our controller.

OAMessageTextInputBean xxTrialMessageTextInputBeanHandle = (OAMessageTextInputBean) webBean.findChildRecursive(“xxTrialMessageTextInputBean”);

Step 3: Now using the xxTrialMessageTextInputBeanHandle handle created in step 2 we can get the value of the xxTrialMessageTextInputBean


String xxTrialString = xxTrialMessageTextInputBeanHandle.getValue(pageContext).toString();

Until next post

Keep Learning 🙂

 

Filed Under: Items, OAF Miscellaneous Tagged With: get value of Text Box at runtime in oaf, get value of Text Box dynamically in oa framework, How get value of Text Box dynamically in oa framework, how to get value of Text Box at runtime in oaf

Copyright © 2023 · Parallax Pro on Genesis Framework · WordPress · Log in