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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:34:59+00:00 2026-06-09T13:34:59+00:00

I am trying to implement a generic search form/panel in Wicket. The form should

  • 0

I am trying to implement a generic search form/panel in Wicket. The form should allow searches in several fields in an Entity (using the DAO pattern) in order to filter the output of a ListView or a DataView. What is the best way to do this? I’ve thought of doing this using an extended DataProvider but I haven’t really seen any real example.

Did anyone implemented such a thing? Some pointers would be nice.

edit

An aditional question that might help set the direction of the answers:

  • Do Wicket Models combine well with DataProviders?
  • 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-09T13:35:00+00:00Added an answer on June 9, 2026 at 1:35 pm

    You can extend IDataProvider with search methods:

        public interface SearchableDataProvider<T> extends IDataProvider<T> {
    
        public void setSearchQuery(String... query);
    
        public void clearSearchQuery();
    
    
        @Override
        public Iterator<? extends T> iterator(int first, int count);
    
    
        @Override
        public int size();
    
    }
    

    And implement this interface in your EntityManagers such as UserManager, ArticleManager or AccountManager.

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

Sidebar

Related Questions

I'm trying to implement a generic function for a form with several fields in
When using ASP.NET MVC plus Entity Framework, and trying to implement a generic repository
I am trying to implement generic repository pattern using LINQ to SQL data context.
I'm trying to implement the repository pattern using a generic repository like the one
I am trying to implement a generic hashlist class using templates and I am
I am trying to implement a generic Wrapper-Class for Qt's class system using C#'s
currently I'm trying to implement a typed generic DAO . I do not even
I am trying to implement a generic table widget (using KendoUI) having the data
I'm trying to implement a generic configuration file parser and I'm wondering how to
I am trying to implement a generic repository pattern. I found this site which

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.