This discussion is archived
3 Replies Latest reply: Sep 5, 2012 10:49 PM by 951597 RSS

uncheck action about <af:selectBooleanCheckbox

951597 Newbie
Currently Being Moderated
Jdeveloper 11.1.1.5

There is a selectBooleanCheckbox in the page.

<af:selectBooleanCheckbox text="selectBooleanCheckbox 1"
label="" id="sbc1"
value="#{homeBean.checkFlag}" autoSubmit="true"
valueChangeListener="#{homeBean.valueChangeListener}"
/>

When I check the checkbox, the method setCheckFlag and valueChangeListener will be invoked.

But why the method setCheckFlag and valueChangeListener not invoked when I unselect the checkbox?

Some logic must be added when uncheck the checkbox in my project.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points