EBS Customizations (MOSC)

MOSC Banner

Unable to read checkbox value in OAF

edited Jan 24, 2014 2:31AM in EBS Customizations (MOSC) 6 commentsAnswered
Hi,


I have programmatically created few check boxes in an OAF page. I am unable to determine programmatically whether the box is checked by user or not (upon submission). I want to capture the values for checkboxes that were selected by user. Initially, all the check boxes are unselected.


Here is what I have done so far and unable to read the checked value:


1. Create check box

     OAMessageCheckBoxBean cbi=(OAMessageCheckBoxBean)createWebBean(pageContext,OAWebBeanConstants.MESSAGE_CHECKBOX_BEAN ,null,"CBNAME"+i);

2. I tried with and without setting the value for this checkbox bean using

     a. "setValue"

     b. "setSelectedValue"

3. Upon user submission, I try to read the value of the check boxes as follows:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center