Tuesday, 25 September 2018

How to Create the Check Box in the OAF Page : Complete steps to Create the Check Box

How to Create the Check Box in the OAF Page : Complete steps to Create the Check Box

 
In this post, We will discus about How to Create the Check Box in the OAF Page. Check Box is the very useful user input item in the OAG page. If we want to get the Inputs from the Users in terms of Yes or No from the list of Options then we creates the check box filed in the oaf page to achieve this. Here below I will share the complete detail steps for How to Create the Check Box in the OAF Page.
 
 

How to Create the Check Box in the OAF Page

Step1:- Create the OAF Page,
Step2:- Create One New Item in the OAF Page,
Step3:- Change the style of the Item to the "messageCheckBox"
 
How to Create the Check Box in the OAF Page
 
 
 
Step the below properties for Check Box Item
 
How to Create the Check Box in the OAF Page

 
 
 
Create the Controller of the OAF Page and Put the below code in the Process Form Request method of the Controller.
 
 
OAMessageCheckBoxBean CheckBoxBean
(OAMessageCheckBoxBean)webBean.findChildRecursive("item1");


Object ChkBoxObj = CheckBoxBean.getValue(pageContext);


String CheckBoxValue = ChkBoxObj.toString();
/* now we can put Condition based on the Value select */
if CheckBoxValue='4' -- for Checked and 5 for Unchecked---
Condition
 
end if;

0 comments:

Post a Comment

Contact us for any Collaboration, Project Support & On Job Support Work

Name

Email *

Message *