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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:55:13+00:00 2026-06-13T22:55:13+00:00

This question is influenced by this answer by Balus C on the topic of

  • 0

This question is influenced by this answer by Balus C on the topic of f:viewParam . He writes in his answer that the first thing done by the the following code will “get the request parameter value by name id“.

<f:metadata>
    <f:viewParam name="id" value="#{bean.id}" />
</f:metadata>

I understand that this feature is used in conjunction with GET requests but I fail to understand how the request parameter with the name “id” gets created in the very first place ?Also if I understood correctly “f:viewParam” goes hand in hand with the special includeViewParams query parameter for implicit navigation . Which of these two features is actually responsible for creating the request parameter ? Or is it none of these two ?

  • 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-13T22:55:13+00:00Added an answer on June 13, 2026 at 10:55 pm

    It’s just part of standard HTTP. To pass a request parameter with name id, you’d basically need to have a link like follows

    /view.xhtml?id=42
    

    Such an URL is usually already provided elsewhere in your webapp. E.g.

    <h:link value="View details of item with ID #{item.id}" outcome="view">
        <f:param name="id" value="#{item.id}" />
    </h:link>
    

    See also:

    • Communication in JSF 2.0 – Processing GET request parameters
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I had the following code as per this question&answer How do I get the
Note: This question was influenced by this answer . The following is valid C
After reading this question , my first reaction was that the user is not
I know that there's a very similar topic for this question, however I'm trying
Some of the answers and comments to this question: Simplest C# code to poll
This question came to mind after seeing this simple piece of code: if (!x%y)
For another question I have created some XML related code that works on my
I'm a bit embarrassed in asking this question, but the result of the following
This question is directly related to this SO question I posed about 15 minutes
This question is kind of a follow up to this question I asked a

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.