Wednesday, 26 September 2018

oamessagecheckboxbean in oaf

oamessagecheckboxbean in oaf

In this post , We will discuss about oamessagecheckboxbean in oaf. Here we will discuss what is oamessagecheckboxbean in oaf and how we can create the oamessagecheckboxbean in oaf. If we have an requirement in the OAF page to show the Check Box by default checked then we need to set some properties in the Checkbox item of the OAF page. In this post , I will share the complete steps to create the Check box item in the Oaf page and How to set checkbox checked in oaf.
 
 
Here below I will share the complete steps to Create the oamessagecheckboxbean in oaf
 
Step1:- Create the OAF Page,
Step2:- Create One New Item in the OAF Page,
Step3:- Change the style of the Item to the "messageCheckBox"
 
oamessagecheckboxbean in oaf
 
 
 
Step the below properties for Check Box Item
 
oamessagecheckboxbean in oaf
 
 
 
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 *