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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T13:52:17+00:00 2026-05-16T13:52:17+00:00

I try to use a PageableListView with PagingNavigation. From the examples that looks quite

  • 0

I try to use a PageableListView with PagingNavigation. From the examples that looks quite easy, but I can’t get it to work. I always get the following error message:

The component(s) below failed to
render. A common problem is that you
have added a component in code but
forgot to reference it in the markup

Here is my java code:

class FriendsPanel extends Panel {
public FriendsPanel(String id){
    super(id);

    List<User> friends = ...;

        PageableListView<User> listview = new PageableListView<User>("listview", friends, 10) {
            protected void populateItem(ListItem<User> item) {
                User user = item.getModel().getObject();
                item.add(new Label("label", user.getName()));
            }
        };

        add(listview);
        add(new PagingNavigation("navigator", listview));
    }
}
}

My html looks like this:

<html xmlns:wicket>
  <wicket:panel>
    <br />
    <span wicket:id="listview">
        <span wicket:id="label">label</span><br>
    </span>
    <div wicket:id="navigator"></div>
  </wicket:panel>
</html>

Any ideas how to make this work?

  • 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-16T13:52:18+00:00Added an answer on May 16, 2026 at 1:52 pm

    PagingNavigation doesn’t supply any markup. If you want to use it, you’ll have to supply markup for the ‘pageLink’ and ‘pageNumber’ components. The javadoc indicates how they should be laid out.

    The confusingly-named PagingNavigator is a default version of the above that you can just drop straight in (it’s a panel that contains a PagingNavigation). You probably want to just use that.

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

Sidebar

Related Questions

When I try to use curl or file_get_contents to read something like http://example.com/python/json/ from
When I try to use the code below I get a duplicate variable error
I get the above error whenever I try and use ActionLink ? I've only
Do you always use a second-level cache in Hibernate or do you first try
I try to work with DirectoryInfo, FileInfo with very long path. I try use
I try to use timepickr plugin, from http://haineault.com/media/jquery/ui-timepickr/page/ my headers: <script src=<%=ResolveUrl(~/Scripts/jquery-1.4.2.min.js)%> type=text/javascript></script> <script
Now I am try to use boost bind & mem_fn . But there's a
When I try to use these two features together, I get a compilation error
When I try to use an ssh command in a shell script, the command
I am try to use stringWithFormat to set a numerical value on the text

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.