Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6080657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:05:13+00:00 2026-05-23T11:05:13+00:00

<a4j:ajax render=tree> <h:selectBooleanCheckbox id=checkEntry value=#{bean.selected} immediate=true disabled=false valueChangeListener=#{bean.changeActive}/> </a4j:ajax> My checkbox for JSF is

  • 0
<a4j:ajax render="tree">
<h:selectBooleanCheckbox id="checkEntry" value="#{bean.selected}" immediate="true"  disabled="false" valueChangeListener="#{bean.changeActive}"/>
  </a4j:ajax>

My checkbox for JSF is triggering the event “bean.changeActive”, when I uncheck my checkbox..but when rechecking it, it doesn’t trigger
The form tag is properly used..
any help on this regard is appreciated..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:05:13+00:00Added an answer on May 23, 2026 at 11:05 am

    You’re actually not interested in the value change event. You are interested in the click event. The checkbox value remains the same. It’s only the checked state which changes. It’s the checked state which controls whether the value will be sent or not.

    Use the click event instead and attach a listener on it.

    <a4j:ajax event="click" listener="#{bean.changeActive}" render="tree">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is my code: <h:inputText size=22 value=#{bean.searchString} id=drugName> <a4j:support actionListener=#{bean.searchMedication} ajaxSingle=true reRender=contentListGrid event=onkeyup id=searchAjax
I am working on JSF a4j componenet. <h:selectOneMenu id=sampleSelect value=#{myBackingBean.id} immediate=true> <f:selectItems value=#{myBackingBean.generateSampleList}/> <h:outputLabel
this is my code: <a4j:outputPanel ajaxRendered=true> <h:form> <rich:dataTable id=iprangesList value=#{ipRangeOverviewAction_publicIpRangeList} var=iprange rendered=#{ipRangeOverviewAction_publicIpRangeList.size>0} style=width: 100%
I am trying to use <a4j:ajax> to feed a method with a value just
I have such structure in my jsp: <h:commandLink action=#{docbean.save}> <a4j:actionParam name=somename value=bill_all assignTo=#{billdoc.billType}/> <a4j:actionParam
I have the follwoing code from Richfaces 3.3 <h:inputText id=transamount value=#{myBean.amount}> <a4j:support event=onkeyup ajaxSingle=true
what is data.foo syntax in JSF/Rich Faces? Say for example, <a4j:support event=onchange action=#{bean.retrieveStates} reRender=states_dropDown
I believe there is some way to add a handler to A4J.AJAX to handle
i'm using richfaces 4.2 and try to create a push system. <a4j:push address=subtopic@topic> <a4j:ajax
I'm trying to use a4j:poll component for ajax reloading a datatable after some time

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.