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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:53:18+00:00 2026-05-25T19:53:18+00:00

Using seam, in pages.xml I can catch the value of a query string parameter

  • 0

Using seam, in pages.xml I can catch the value of a query string parameter and put it in a backing bean like so:

  <page view-id="/my/page.xhtml" >
    <param name="myParam" value="#{myActionBackingBean.param}" />
    <action execute="#{myActionBackingBean.doAction()}" />
  </page>

As far as I’ve read, this will also take the value out of the backing bean and put it back in the query string over a redirect (i.e. defines a two-way binding).

In the project I’m working on, we have a few pages with duplicate params, like this:

  <page view-id="/my/page.xhtml" >
    <param name="myParam" value="#{myActionBackingBean.param}" />
    <param name="myParam" value="#{myDifferentBackingBean.param}" />
    <action execute="#{myActionBackingBean.doAction()}" />
  </page>

This seems to compile and run fine, but eclipse has started reporting an error (since a recent update, possibly a plugin update) that “Value myParam is not unique” for the second param name.

  • Are duplicate param tags like this invalid as suggested by eclipse?
  • What is the most likely behaviour to expect in the second case?
  • Is there another way to get the value of a query string parameter into two beans (could it be done using an <action> to copy from one to the other with EL, for example)

I have a lot of seam and EL to learn so I’m grateful for any good sources if these questions seem naive.

  • 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-25T19:53:18+00:00Added an answer on May 25, 2026 at 7:53 pm

    Probably the best way to do so is to create another bean just to keep your information and simply bind it to it.

    Then you can inject it into myActionBackingBean and myDifferentBackingBean.

    Otherwise you can copy it from one to another during the @Create method.

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

Sidebar

Related Questions

How does Seam Framework handle composite primary keys in pages.xml using EntityHome? The usual
I'm using seam page navigation rules. and did not experience any problem with adding
I'd like to be able to make an Ajax call using JSF/Seam/RichFaces and have
i'm using prettyfaces 3.1.0 with JSF1.2 and Seam 2.2.0. I have the following pretty-config.xml:
I have a seam component where I put a message using standard seam annotation:
I am using seam with EJB3 + JSF and I would like to add
How can Seam be configured to use different security-constraints for different web-resource-collections? In web.xml
We are using Seam 2.2.0 Java 1.6.14 Weblogic 10.3.1.0 (named 11g Doh!) I have
I succesfully created a project using seam credentials for authentication, but right now some
I haved generated simple CRUD application from seam-gen using seam generate-ui command, but the

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.