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

The Archive Base Latest Questions

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

I have a RichFaces pickList from which the user should be able to select

  • 0

I have a RichFaces pickList from which the user should be able to select multiple items and it should be directly reflected on the backing bean. Right now I have no way to reload selection in case of a validation error or in case the page is reloaded. Is there a simple way to tell RichFaces that I want the backing list to be updated on every change?

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

    You can attach to onlistchange event.

    Using a4j:support:

    <rich:pickList ...>
        <a4j:support event="onlistchange"/>
    </rich:pickList>
    

    Or, in newer versions, using a4j:ajax:

    <rich:pickList ...>
        <a4j:ajax event="change" render="result"/>
    </rich:pickList>
    

    Or using a4j:jsFunction:

    <rich:pickList onlistchange="listChange();"... />
    <a4j:jsFunction name="listChange" />
    

    Both approaches in the form above will submit the form causing submitting selected values. You can also specify additional attributes for a4j:support/a4j:jsFunction if needed (for example ajaxSingle="true" for a4j:support to process only pickList component (other inputs will not be validated/updated), action/actionListener to execute server side logic when list is changed, reRender, etc.).

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

Sidebar

Related Questions

I have a requirement where users should be able to navigate from the first
I currently have a Richfaces dataTable bound to a backing bean that contains all
I have richfaces page thru which i have to add/update/delete a user details. My
I have a java backing bean which has a method (call it getDataList() )
I have Richfaces application which I deploy to Glassfish v3. For many weeks (almost)
I have a JSF page that displays a RichFaces Treeview, from a TreeNodeImpl model
This should be a very simple question. I have a richfaces tree that is
I'd like to be able to make an Ajax call using JSF/Seam/RichFaces and have
I have menu build on Richfaces using rich:menuitem. I need to determine, which menuitem
I have the follwoing code from Richfaces 3.3 <h:inputText id=transamount value=#{myBean.amount}> <a4j:support event=onkeyup ajaxSingle=true

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.