0% found this document useful (0 votes)
211 views

OAF by SSPatil - Adding Submit Button Programmatically

The document describes how to programmatically add a submit button to an OAF page. It provides code to create an OASubmitButtonBean object, set its ID, UINodeName, event, and text properties, and add it to the desired region of the page using the addIndexedChild method. It also addresses how to add a parameter and value to the button.

Uploaded by

Mostafa Taha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
211 views

OAF by SSPatil - Adding Submit Button Programmatically

The document describes how to programmatically add a submit button to an OAF page. It provides code to create an OASubmitButtonBean object, set its ID, UINodeName, event, and text properties, and add it to the desired region of the page using the addIndexedChild method. It also addresses how to add a parameter and value to the button.

Uploaded by

Mostafa Taha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

2/21/24, 8:03 AM OAF by SSPatil: Adding Submit Button Programmatically.

‫تسجيل الدخول‬ ‫إنشاء مدونة إلكترونية‬

OAF by SSPatil
Simple way to Learn OAF...!

FOLLOWERS FRIDAY, JANUARY 3, 2014 ABOUT M


‫) التالي‬86( ‫المتابعون‬
Adding Submit Button Programmatically.

ADDING SUBMIT BUTTON PROGRAMMATICALLY

To create the submit button programmatically write the following code in controller.

‫متابعة‬
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
{
POPULAR POSTS Sangu P
super.processRequest(pageContext, webBean);
Reusable Codes in OAF

How to Add New Row to a


Table Region in OAF //creating submit button through coding

OAF TOP
Prepared Statement in
OAF Home
OASubmitButtonBean subBtn=
(OASubmitButtonBean)pageContext.getWebBeanFactory().createWebBean(pageContext,"BUTTON_SUBMIT"); Introduct
How to create TAB Page in
OAF subBtn.setID("SubBtn"); Structure
subBtn.setUINodeName("SubBtn"); Onion St
Export data from OAF to subBtn.setEvent("Submit"); MVC Arc
Excel programmatically
subBtn.setText("Submit ");
CSS Sty
Adding Message Lov Input
webBean.addIndexedChild(subBtn); /*in which region u want to add the button give the id of that region in the above
Naming C
through personalization. line (remove webBean and give the id of region).*/
Installatio
How to get the value of the Sample O
field in OAF
} Regions

Invoking sequence in OAF Items in


Posted by Unknown at 3:47 PM
Page Displayin
Displayin
Import Commands in OAF 1 comment:
Inserting
Uploading File to server Partial P
from OAF Page sky pilot October 21, 2015 at 3:08 AM
Calling o
additionally i need to agregate a parameter and its value to this button, how i would do it? tks
Search p
Reply
Update P

To leave a comment, click the button below to sign in with Google. Registrat
Persona
SIGN IN WITH GOOGLE
Calling D
VO Exte
Calling K

LABELS
Errors (1
Persona

CONTEN
Newer Post Home Older Post ► 2016

► 2015
Subscribe to: Post Comments (Atom)
▼ 2014

https://yesyespatil.blogspot.com/2014/02/adding-submit-button-programmatically.html 1/2
2/21/24, 8:03 AM OAF by SSPatil: Adding Submit Button Programmatically.
► December (1)

► September (2)
► February (5)
▼ January (10)
How to Add New Row to a Table Region in
OAF

How to ADD/Remove Global Buttons in OAF


Page.
How to Bounce Apache Server in R12

Adding HTML Tab/Menu to the standard OAF


page.
How to create TAB Page in OAF
Uploading File to server from OAF Page

Adding Message Lov Input through


personalization.
Adding Submit Button Programmatically.

Migrating OAF pages from one instance to


another
Prepared Statement in OAF

► 2013 (9)

TOTAL PAGEVIEWS

6 2 3 5 2 9

CURRENT VISITORS OF THE BLOG

TRANSLATE SUBSCRIBE TO
▼ ​‫اختيار اللغة‬ Posts

Comments

Picture Window theme. Powered by Blogger.

https://yesyespatil.blogspot.com/2014/02/adding-submit-button-programmatically.html 2/2

You might also like