Call Form page in Form_oaf (case)

Source: Internet
Author: User

2014-12-27 Created by Abalone new

I. Summary

Both the OAF framework and Oracle EBS provide Oracle Forms-based Oracle Ebsforms and OAF-based page integration.

You can run an Oracle EBS form from the Oaf page, or you can invoke a oaf HTML page from an Oracle EBS form.

1. Form Call Oaf page

Jump through Fnd_function

2. Oaf Call Form page

(1). Set the item URL to Form:responsibilityApplicationShortName:responsibilityKey:securityGroupKey:functionName

(2). Jump through Method Oapagecontext.forwardimmediatelytoform (StringUrl) in Webbean

Ii. case-Via item URL

1. Set the ID property for item, conform to the OA Framework File standards, and set the item Type property to Button,image or link

Form:responsibilityApplicationShortName:responsibilityKey:securityGroupKey:functionName

2. If you want to pass parameters to the form, set the destination URI property to use the values in the following format (note that the argument list is separated by a space between each "parameter=value" pair).

Form:responsibilityapplicationshortname:responsibilitykey:securitygroupkey:functionname:param1=value1param2= value2 Param3=value3

3. Special characters for parameters-spaces

Note: If you want to pass the VARCHAR2 parameter value and include a space, use "\" to enclose the string value. For example, the value to be passed to the form is as follows:

Txn_number=lt INVOICE 1 =>> txn_number=\ "LT INVOICE 1\"

4. Case, create a button item, set the destination URI

Iii. Cases-by Oapagecontext

1. Run-time control via Oapagecontext control

There is no need for special coding steps to run an Oracle form from a button, picture, or link on the oaf page.

Oabuttonbean, Oalinkbean, and oaimagebean support the URL format of the special form function above for the Destinationuri attribute.

When oaf encounters this special value, it generates the appropriate URL and adds a hidden iframe (built-in frame) to the Oaf page. The hidden IFrame is used for Formslauncher applets provided by Oracle EBS.

Provide a submit button to run Oracle Form

If you want to run Oracle Form via the Submit button on the Oaf page,

You must use the Oapagecontext.forwardimmediatelytoform (StringUrl) method in Oracle.apps.fnd.framework.webui.OAPageContext

2. Simple examples

 Public voidprocessformrequest (Oapagecontext pagecontext, Oawebbean Webbean)   {   super. Processformrequest (Pagecontext,webbean);    if (Pagecontext.getparameter ("Apply")! =null)     {    = "Form:SYSADMIN:SYSTEM_ADMINISTRATOR:STANDARD:FND_FNDMNMNU";     Pagecontext.forwardimmediatelytoform (destination);   }  }  

Reprint: tavor-http://blog.csdn.net/tavor/article/details/19044651

Thanks and regards

Call Form page in Form_oaf (case)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.