Questions tagged [primefaces]

PrimeFaces is a JSF (Java Server Faces aka Jakarta Faces) component library that ships with a large set of rich components which utilizes jQuery under the covers as well as a few other select JavaScript libraries. It is a very mature library with an active development community.

PrimeFaces is a component library. It was one of the first which supports JSF 2.0 from top to bottom. It ships with a large set of components (over 100) and tools. Components utilize under the cover.

Online resources

Books

Related tag info pages

19281 questions
3
votes
4 answers

JSF PrimeFaces MenuBar dropdown submenu disapearing after hover in p:layout

Doing some application in JSF PrimeFaces 3.1.1 (still learning) and I implemented full page layout - Sunny (the tag). Everytihng is fine, except my menu bar. On hover on the submenu button in the menu, the dropdown submenu shows, but…
Erveron
  • 1,908
  • 2
  • 25
  • 48
3
votes
1 answer

Primefaces TabView by a model - remove model associated with tab on close

I'm using Primefaces (version 3.0.1) p:tabView component, which displays dynamic number of tabs backed by a list in a model. Tabs inside TabView are closable. I'd like to remove list element associated with a tab by close event. Here is my…
nikagra
  • 835
  • 2
  • 9
  • 23
3
votes
2 answers

Add icon to p:panel?

how could I add an icon to a component p:panel? Unfortunately it does not support an "icon" attribute. So I tried this:
membersound
  • 81,582
  • 193
  • 585
  • 1,120
3
votes
1 answer

Is there a way to update component even when JSF fail during Process Validation phase

I have an input text that have required=true attribute, like below
Thang Pham
  • 38,125
  • 75
  • 201
  • 285
3
votes
1 answer

JQuery UI with Primefaces

I have some old code that uses Primefaces 2.2.1 but I now that I need to upgrade the version to 3.1.1 to use some of the new features, some of my javascript functionality is breaking. I tracked down the issue and realized that in 2.2.1, the jQuery…
Hamed
  • 1,382
  • 11
  • 20
3
votes
3 answers

How to change the order of the primeFaces picklist buttons

Is there an easy way to change the order of the sort and move buttons from the PrimeFaces picklist? For better usability i need the buttons to be in this order: Sort: all up up down all down and for moving: all to the right right left all to the…
Chris
  • 1,092
  • 2
  • 19
  • 39
3
votes
2 answers

Changing background color of inputfield of editable coloumn in primefaces datatable on value change

I have an editable coloumn in dataTable. The code is:
Shikha Dhawan
  • 1,414
  • 8
  • 27
  • 44
3
votes
1 answer

How to set or inject request parameters in a managed bean?

I'm using a number of PrimeFaces s to call various action listeners on a page. In the javascript calls, I'm passing parameters. These parameters arrive in the request parameter map. Now, I can extract the parameters from the map in…
Steve
  • 8,066
  • 11
  • 70
  • 112
3
votes
1 answer

Make PrimeFaces dataTable editable by default

I'm working on JSF2, PrimeFaces 3. Is there a way to make the dataTable editable by default so the users do not have to click the rowEditor button? I'm using the dataTable for taking user inputs initially.
setzamora
  • 3,560
  • 6
  • 34
  • 48
3
votes
1 answer

Error Could not find Factory: javax.faces.context.FacesContextFactory

I am trying to run a sample primefaces 3.1 application using eclipse. When I run I am getting the following exception. I have placed jstl-1.0.2.jar,jsf-impl-2.0.3.jar,jsf-api-2.0.3.jar,primefaces-3.1.jar under WEb-INF/lib folder and index.jsf is…
Jacob
  • 14,463
  • 65
  • 207
  • 320
3
votes
3 answers

Primefaces selectOneMenu doesn't retain focus on selected item when reopened

The Primefaces p:selectOneMenu component does not seem to bring focus to a previously selected item. For example, if I have a menu of countries set up as follows
James Bassett
  • 9,458
  • 4
  • 35
  • 68
3
votes
1 answer

Lazy-loaded primefaces datatable gets updated before SQL statements finish executing

I have a problem when the primefaces data table gets updated before the SQL statements for updating\removing entities from this table finish executing. 01:08:13,255 INFO [reg.data.model.LazyEventDataModelMod] - Loading the lazy event data between 0…
Shajirr
  • 164
  • 3
  • 14
3
votes
2 answers

How can I determine whether a Primefaces RadioCheckbox was checked?

I know there are lot of examples here that shows how to count the checked checkboxes but for some reason I'm unable to make this work. What I'm trying to do is that when at least one checkbox in my page is checked a button should be enable or…
Night Elve
  • 217
  • 1
  • 3
  • 11
3
votes
1 answer

JSF ajax commandbutton not updating primefaces picklist

This is the code:
BigJ
  • 1,990
  • 2
  • 29
  • 47
3
votes
4 answers

Cannot get inside a table to look the same in different IE versions

I have a small piece of code that produce PrimeFaces dropdown List p:selectOneMenu, and I cannot get all the IE to look the same. First of all, here is the code
Thang Pham
  • 38,125
  • 75
  • 201
  • 285
1 2 3
99
100