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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T14:20:28+00:00 2026-06-16T14:20:28+00:00

Recently, I’ve been working on a project that uses Primefaces UI. One of the

  • 0

Recently, I’ve been working on a project that uses Primefaces UI. One of the requirements is to have a data table where a user can select multiple rows. I’ve implemented something similar to: http://www.primefaces.org/showcase-labs/ui/datatableRowSelectionRadioCheckbox.jsf, but it didn’t work.

At first, I thought there was something wrong with my code but when I copied the examples from primefaces it also did not work. So I was wondering if there was something wrong with my tech stack: JavaEE6, Glassfish 3.1.2.2, mojarra(javax.faces) 2.1.16, primefaces 3.4.2.

As for sample code, I copied exactly from the link given above.

Note that single selection also don’t work.

  • 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-16T14:20:29+00:00Added an answer on June 16, 2026 at 2:20 pm

    I was able to solved this problem by:

    1.) Created a new project from scratch and test if my stack really works. As Arjan Tijms said, even if you add a dependency to the latest version of mojarra it’ll be ignored. Try deploying the new app in Glassfish and you will notice the following line:

    [#|2012-12-31T11:19:15.958+0800|INFO|glassfish3.1.2|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=39;_ThreadName=Thread-2;|Initializing Mojarra 2.1.6 (SNAPSHOT 20111206) for context '/web-demo-0.0.1-SNAPSHOT'|#]
    

    2.) My bean is SessionScoped so it is Serializable, but I forgot to marked my injected ResourceBundle and FacesContext as transient. (My main problem).

    3.) For the primefaces selection with popup dialog example, make sure that the action button targets the dialog element id for update.

    4.) Make sure to run maven clean on eclipse projects, as well as the project dependencies you have. For example I have a web-commons where I defined the dependency to mojarra, although I keep cleaning the main project, I didn’t notice that the commons dependency adds the mojarra jar to the final ear.

    And that’s all and my project is now working properly 🙂 Thanks.

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

Sidebar

Related Questions

Recently we started working with Database project in Visual Studio 2010. I have added
Recently I have been working with the xml coding,and the problem happened. Given the
Recently I have been working with a SQL Server database and I was trying
Recently I've been maintaining a legacy project written in VC++ 6.0. The code uses
Recently I noticed (after others have extended the project) that the compile time significantly
recently, while working on a db2 -> oracle migration project, we came across this
Recently I've started working on project VB for my As computing class, and after
Recently there have been a lot of move towards MVVM framework due to the
Recently I've studied the backpropagation network and have done some manual exercise. After that,
Recently I am working on a Mobile Device Management application in that i implemented

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.