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
4
votes
1 answer

error jsf/primefaces : serializable of arraylist doesn't work

I've a bean controller and an entity which has String and Boolean as attribute. When I want to change the page of my lazy dataTable (primefaces), I've got this error. If I test with a list of string and not with a list of my entity as data, I don't…
user1387289
  • 41
  • 1
  • 3
4
votes
2 answers

Adaptive polling with JSF and PrimeFaces

In order to refresh data, I use a primefaces poll: and would like to control the update interval with a spinner.
kostja
  • 60,521
  • 48
  • 179
  • 224
4
votes
1 answer

How to use JSF component library with OSGI

I have a very specific questions about using JSF and component libraries. I tested to build WAB (OSG-fied WAR) package with Primefaces. It turns out that there are problems in integrating JSF and Primefaces when using OSGI. There are several ways…
user1285928
  • 1,328
  • 29
  • 98
  • 147
4
votes
3 answers

primefaces dataexport from table with column content in ui:repeat

I have a master detail resultset that I present on a datatable. The detail is fetched and rendered within to be combined into a single output string that remains in one column. BF Order Contents
Serkan Durusoy
  • 5,447
  • 2
  • 20
  • 39
4
votes
1 answer

How to get EL 2.2 working on WAS 7 (with Myfaces and Primefaces)?

I'm migrating a JSF 1.2 project, running in WAS7, to JSF2 with Myfaces 2.1.7 and Primefaces. Until now, everything was more or less working, putting myfaces-bundle-2.1.7.jar and primefaces 3.3.RC1.jar in the WEB-INF/lib and changing to classloading…
Lenn
  • 143
  • 1
  • 6
4
votes
1 answer

PrimeFaces datatable initial sortBy does not work

I have a PrimeFaces 3.2 DataTable using apache myfaces 2.0.2 . I want a initial sort. My JSF looks like:
veote
  • 1,400
  • 9
  • 33
  • 62
4
votes
2 answers

Navigate to another page on rowselect of datatable in primefaces

I have a primefaces datatable where number of records are displaying. I want navigate to another page on the rowSelect event (to edit the selected entity for example). The closest sample/demo I could find was use the p:ajax tag to bind the rowSelect…
Java
  • 2,451
  • 10
  • 48
  • 85
4
votes
1 answer

How to restrict editing of certain cells in a DataTable editable in PrimeFaces

I want to restrict certain cells in a DataTable from editing. I mean those fields are not allowed to be edited. How can I achieve this?
user1281029
  • 1,513
  • 8
  • 22
  • 32
4
votes
2 answers

p:dataTable multiple selection not working

I don't seem to get multiple selection in PrimeFaces dataTables working. I'm trying to implement a list of clients (dataList) and show their respective bookings in nested dataTables with a possibility to select multiple bookings for…
jfs
  • 293
  • 1
  • 3
  • 9
4
votes
1 answer

How to render images in JSF + Primefaces 3.2

I have been trying to get images rendered in Primefaces-application. This is working fine outside the accordion panel: But when I try to use it inside the accordion panel, it is not working…
Sami
  • 2,311
  • 13
  • 46
  • 80
4
votes
1 answer

Listener not called by p:ajax on p:inputText

I want to implement custom filtering on a p:dataTable. In the header of the dataTable, I have a p:inputText that I want to filter the table via ajax. The problem I am having is that the bean method is not being called by the p:ajax tag. Here is the…
Brent C
  • 833
  • 1
  • 9
  • 15
4
votes
2 answers

Primefaces Calendar component & date conversions

I am using primefaces' calendar component. I have a corresponding string in VO. While saving in database, I need to convert the string to java.sql.date. xhtml:
Shikha Dhawan
  • 1,414
  • 8
  • 27
  • 44
4
votes
2 answers

Restrict inputText value to alphabetic characters only

I need to allow only alphabetic characters [A-Z,a-z] in a PrimeFaces inputText field. How can I do this?
Linconnue55
  • 187
  • 3
  • 7
  • 16
4
votes
1 answer

PrimeFaces Panel collapses on update

I do not know if this is possible using just primefaces and JSF but I have a panel, which is collapsed on View Entry. I can open the Panel which has a checkbox that triggers an update of the Panel. The problem is that when the panel is updated by…
Coen Damen
  • 2,009
  • 5
  • 29
  • 51
3
votes
1 answer

Primefaces: how to change the default icon on the button of the calendar field?

In Primefaces, how do I change the icon that is being used by the button of the calendar field? For example, in the following field I want to change the icon to…
rapt
  • 11,810
  • 35
  • 103
  • 145