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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:53:54+00:00 2026-05-30T13:53:54+00:00

i have multiple search forms, for five different databases (tables) each form contains about

  • 0

i have multiple search forms, for five different databases (tables)
each form contains about 30 – 40 search fields, which can be filled.
I need all Params as GET-Params (because of SEO – for pagination)
how can i submit them and get them without define 200 entrys in the .xhtml file
(i think, to get them with facesContext is the way, how to recieve them)

thanks !

  • 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-30T13:53:55+00:00Added an answer on May 30, 2026 at 1:53 pm

    Without <f:viewParam>, they are available by ExternalContext#getRequestParameterMap(). If the bean in question is request scoped, you can also use @ManagedProperty("#{param.name}") on the property declaration instead. You can only at earliest access them in a @PostConstruct method instead of the constructor. You’d also still need setters for them.

    Note that you lose JSF-builtin conversion and validation this way. You’d need to do all conversion from String to for example Integer and do all validation on required parameters yourself instead of letting <f:viewParam> do its job.

    See also:

    • ViewParam vs @ManagedProperty(value = "#{param.id}")

    Unrelated to the concrete problem, 200 parameters are pretty a lot. Even GET query strings have its limits. Does the view contain 50 conditionally rendered/included tables or so? Are you sure that you can’t reuse a parameter for multiple purposes and have one common parameter which indicates how the other parameters have to be interpreted?

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

Sidebar

Related Questions

I have a database table which stores products. Each product can have multiple colours.
Let us say that I have a form to search by multiple tags in
I have a search form that would like the users to search multiple terms.
I have a search form field that I want to compare with multiple columns
I've got a form with multiple fields on it (company name, postcode, etc.) which
Is it possible to have selective queries in PostgreSQL which select different tables/columns based
I have a couple search forms, 1 with ~50 fields and the other with
Preface I have a need to create multiple copies of a search form (in
I have multiple projects in a couple of different workspaces. However, it seems like
We have multiple MFC apps, which use CMutex( false, blah ), where blah allows

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.