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 6853081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:28:07+00:00 2026-05-27T01:28:07+00:00

I have a problem similar to this question: Wicket: can Checkgroup be Ajax enabled?

  • 0

I have a problem similar to this question: Wicket: can Checkgroup be Ajax enabled?

I’m using a ListView where each Item has a checkbox. I also have a “select all” checkbox. I am using a CheckGroup, CheckGroupSelector and Check and everything works great. Now there is a new requirement to change the state on some other controls on the page when the checkboxes are updated.

Nicktar’s suggestion in the above linked question was the first that came to my mind, too, but I haven’t been able to find out how it is possible to use AjaxCheckBox with CheckGroup/CheckGroupSelector. According to the doc you have to use Check.

But in this mail from 2008, Igor Vaynberg also states that it is possible to use AjaxCheckBox in a CheckGroup.

I tried it with just replacing where I used Check with the AjaxCheckBox, but it didn’t work, the CheckGroupSelector didn’t find the checkboxes anymore.

I also looked into using the onSelectionChanged method in CheckGroup, but I’d like to avoid using this as it triggers another roundtrip to the server, as far as I understood.

Can someone give me a hint? Or is there another nice solution for this?

By the way, I’m using Wicket 1.4.

  • 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-27T01:28:07+00:00Added an answer on May 27, 2026 at 1:28 am

    Why can’t you add an AjaxFormChoiceComponentUpdatingBehavior to the CheckGroup ?

    From AjaxFormComponentUpdatingBehavior‘s JavaDoc:

    NOTE: This behavior does not work on Choices or Groups use the AjaxFormChoiceComponentUpdatingBehavior for that.

    AjaxFormChoiceComponentUpdatingBehavior is the behavior to use with CheckGroups and RadioGroups. If you used an AjaxFormComponentUpdatingBehavior with the onchange event, you’d run into this bug with IE
    . AjaxFormChoiceComponentUpdatingBehavior handles this properly, adding onclick event handlers to each of the Checks in the CheckGroup.

    As a side note, what Igor stated in that mail, is that CheckBox can be replaced with AjaxCheckBox, not Check. AjaxCheckBox is nothing more than a convenience subclass of CheckBox with an AjaxFormComponentUpdatingBehavior("onclick"), as the sources show.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Similar to this question: link However I have already mastered that. My problem is
I am having a problem very similar to this question here: Can I use
I'm having a problem similar to [this question][1] https://stackoverflow.com/questions/1449072/debugging-problem-in-x-code-iphone-development I have created an application,
I have a problem similar to the first problem in this question , which
I have a problem similar to the one found in this Question I have
I have previously solved a similar problem in this question , where I asked
I have a problem similar to this question but with an added complication: MySql,
following up on this question , I now have another problem - how can
I have a similar problem to the one enumerated in this question , except
I seem to have similar problem as this guy: Django newbie deployment question -

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.