How to get checkbox value in oaf
In this post , We will discuss about How to get checkbox value in oaf. When user click in the Check box on the OAF page then we need to take care this in our OAF page controller code to get checkbox value from oaf page. We first need to find the Checkbox item in the OAF page and then get the value from that. Here below I will share the sample code for how to get checkbox value in oaf.
Step the below properties for Check Box Item
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");
(OAMessageCheckBoxBean)webBean.findChildRecursive("item1");
Object ChkBoxObj = CheckBoxBean.getValue(pageContext);
String CheckBoxValue = ChkBoxObj.toString();
Condition
end if;
0 comments:
Post a Comment