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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:50:30+00:00 2026-06-13T07:50:30+00:00

On one page I have added two panels, see figures select one or more

  • 0

On one page I have added two panels, see figures "select one or more" and "select one". The figure "select one or more" is the first panel that is visible to the user when the page is loaded for the first time. After the user makes some selections he/she can click the next button. Doing so, the other panel "select one" gets visible and the first panel gets invisible. Clicking on back button the first panel gets visible and the second panel disappears. Doing a selection on the second panel and clicking on next the page "your selection" gets open.

Everything works fine until I click on the back button of the browser from the second page "your selection" to the first page. Back on the first page the user sees the panel "select one or more" but nothing works. When I click on the checkboxes I see in the debug:

BehaviorRequestTarget - component not enabled or visible; ignoring call. Component: [MarkupContainer [Component id = selection]]

And when I click on the next button

BehaviorRequestTarget - component not enabled or visible; ignoring call. Component: [MarkupContainer [Component id = next]]

This is the ajax debug text:

INFO: focus set on idb

INFO: Initiating Ajax POST request on ?wicket:interface=:2:allpopup:content:form:allItemsContainer:items:7:selectionContainer:selected::IBehaviorListener:0:&random=0.997746484662292

INFO: Invoking pre-call handler(s)...

INFO: Received ajax response (0 characters)

ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Could not find root <ajax-response> element

INFO: Invoking post-call handler(s)...

INFO: Invoking failure handler(s)...

Any idea why this happen and what to do about it?

Thank you

enter image description hereenter image description hereenter image description here

  • 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-06-13T07:50:31+00:00Added an answer on June 13, 2026 at 7:50 am

    I added the following to my BasePage.java file (which extends WebPage) to force page reload when the back browser button is clicked.

    // Sets page reload on browser back button
    @Override
    protected void configureResponse() {
        super.configureResponse();
        WebResponse response = getWebRequestCycle().getWebResponse();
        response.setHeader("Cache-Control", "no-cache, max-age=0, must-revalidate, no-store");
        response.setHeader("Expires","-1");
        response.setHeader("Pragma","no-cache");
    }
    

    I believe I got the suggestion from the following link: http://www.richardnichols.net/2010/03/apache-wicket-force-page-reload-to-fix-ajax-back/

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

Sidebar

Related Questions

i am porting over a website from asp. i have one page that i
I have two methods on the page. One AddMessageToInboxOutbox(params[]) and other one SendNewMessageMail(params[]). Once
i m a beginner... i have added two different jQuery... one is pop up
I am preparing a registration page using JSF/Spring webflow&mvc application. I have added two
I have two drop down select input types on a html page. Content's of
I have a bit of javascript that I have used successfully on one page,
I have a bit of javascript that I have used successfully on one page,
I have added two user control to the project. One is for portrait and
I am working on a MVC project that is supposed to have one page
I have two jquery items on one page (slider and vticker) and only one

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.