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

  • Home
  • SEARCH
  • 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 668445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:02:26+00:00 2026-05-14T00:02:26+00:00

In a Wicket Panel i implemented a method called showAttentiePopup(AjaxRequestTarget) which shows an ModalWindow

  • 0

In a Wicket Panel i implemented a method called showAttentiePopup(AjaxRequestTarget) which shows an ModalWindow popup screen. This method works fine when i call it from the same Panel. But when I try to call the method from another Panel it crashes with the following error:

java.lang.IllegalStateException: No Page found for component [MarkupContainer [Component id = createAttentie]]
 at org.apache.wicket.Component.getPage(Component.java:1665)
 at org.apache.wicket.RequestCycle.urlFor(RequestCycle.java:851)
 at org.apache.wicket.Component.urlFor(Component.java:3170)
 at org.apache.wicket.behavior.AbstractAjaxBehavior.getCallbackUrl(AbstractAjaxBehavior.java:123)
 at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.getCallbackScript(AbstractDefaultAjaxBehavior.java:116)
 at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.getCallbackScript(AbstractDefaultAjaxBehavior.java:104)
 at org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow$CloseButtonBehavior.getCallbackScript(ModalWindow.java:876)
 at org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow.getWindowOpenJavascript(ModalWindow.java:1005)
 at org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow.show(ModalWindow.java:286)
 at nl.topicuszorg.fks.web.client.dossier.overzichten.documenten.AttentieOverzichtPanel.showAttentiePopup(AttentieOverzichtPanel.java:171)
 at nl.topicuszorg.fks.web.client.dossier.overzichten.documenten.EditFileDocumentPanel$2.onSubmit(EditFileDocumentPanel.java:195)
 at org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:94)
 at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:128)
 at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163)
 at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297)

Someone an idea what the problem might be?

The method showAttentiePopup:

   public void showAttentiePopup(AjaxRequestTarget target) {
         Component content = new EditAttentiePanel(createAttentie.getContentId(), new Attentie(), EditFunctie.AANMAKEN) {

                /** */
                private static final long serialVersionUID = 1L;

                @Override
                protected void annuleren(AjaxRequestTarget target) {

                       FKSModalWindow.closeCurrentWindow(target);
                }

                @Override
                protected void opslaan(AjaxRequestTarget target, Attentie attentie) {
                       //Inhoud even weggelaten
                }

         };

         createAttentie.setOutputMarkupId(true);
         createAttentie.setInitialWidth(900);
         createAttentie.setInitialHeight(450);
         createAttentie.setTitle("Nieuwe Attentie Aanmaken");
         createAttentie.setContent(content);
         createAttentie.show(target);      
   }

Greetings,
Rick

  • 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-14T00:02:26+00:00Added an answer on May 14, 2026 at 12:02 am

    Your stack trace indicates the ModalWindow createAttentie is not part of a page at the time your code is trying to render it.

    Trace through your page construction logic and component structure and make sure everything is wired together correctly.

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

Sidebar

Related Questions

I use Wicket's AjaxFallbackLink in a number of places. This works fine for users,
I'm basically duplicating the 'authentication' Wicket example from v1.4.x in SVN. It works fine
Wicket has this device called a lazy proxy factory. Given: <property name=foo ref=beanx/> the
In my wicket spring based applications, I have this method to inject the spring
Recently I've migrated from Wicket 1.4 to Wicket 1.5. I've got problem Panel with
I'm new to Wicket, but googling this problem didn't give me anything that made
I'm stuck - I need to have a Wicket Panel be able to add
My Wicket application runs fine on the live Google App Engine at /* <filter-mapping>
We have a wicket application for our main website. Lately we have implemented a
I have a Wicket application and my pages expire very quickly. Why is this,

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.