Questions tagged [richfaces]

RichFaces was a component library for JSF and an advanced framework for easily integrating AJAX capabilities into business applications. It reached end-of-life in June 2016.

RichFaces was a component library for JSF and a framework for integrating AJAX capabilities into business applications. The main features of this library were:

  • 100+ AJAX enabled components in two libraries
  • <a4j:xxx>: page-centric AJAX controls
  • <rich:xxx>: self-contained, ready-to-use components
  • Numerous JSF benefits while working with AJAX
  • Skinnability mechanism
  • Component Development Kit (CDK)
  • Dynamic resources handling
  • Testing facilities for components, actions, listeners, and pages
  • Broad cross-browser support
  • Client-side validation, expanding JSR 303 Bean Validation
  • Advanced queueing.

RichFaces versions 3 and 4

After JSF 2.0 was released with the new AJAX support, a new development branch, RichFaces 4, was started using the new features of the spec. The older 3.x branch, although it worked well with JSF 2.x in its last version, did not use the new AJAX features of the spec and was discontinued to focus on RichFaces 4.

Richfaces 3 and 4 were violently incompatible. There is a very incomplete migration guide, to help projects to migrate legacy RichFaces 3 code to RichFaces 4. See this answer for many of the issues omitted from this guide, amounting to several times what was documented in the guide by the RichFaces project.

End-of-life

The RichFaces project reached end-of-life in June 2016. It will not be updated by JBoss any further. The last version of RichFaces was 4.5.17.Final.

You can read more about EOL here.

Online resources

Related tag info pages

Related tags

3716 questions
49
votes
5 answers

f:convertDateTime displays wrong Date

In my Web Application I retrieve data using Hibernate and display it in a RichFaces dataTable. In my MySQL-table there is a field of type "date". When I print this field to the log in my Bean, it shows the correct date from database (e.g.…
Tom
  • 586
  • 1
  • 4
  • 9
42
votes
10 answers

RichFaces Vs PrimeFaces (for performance)

I am using JSF 2.0 and I am looking for a copmponent library with minimal load in terms of performance. Which one is better to use if I have choice between RichFaces and PrimeFaces? What are the advantages and disadvantages of both?
Sanju
  • 3,187
  • 10
  • 41
  • 55
33
votes
6 answers

CSS Alternatives to style="display:none"

I'm implementing a JSF component base where you must override the css being used or it will use its default css. I'm trying trying to hide the div and I've tried to set the rich-panelbar-header-act class style="display:none", but then it pulls in…
c12
  • 9,557
  • 48
  • 157
  • 253
32
votes
2 answers

What is viewstate in JSF, and how is it used?

In JSF, there is a viewstate associated with each page, which is passed back and forth with submits etc. I know that viewstate is calculated using the states of the various controls on the page, and that you can store it either client side or server…
Matthew Farwell
  • 60,889
  • 18
  • 128
  • 171
29
votes
4 answers

difference between JSF, RichFaces, PrimeFaces and IceFaces

I am new to jsf and want to know about the clear difference between JSF, Rich-/Prime-/IceFaces. In JSF we create pages with .jsp extension and write java code in the backing beans. But how exactly all "faces" are different and related to jsf.
learner
  • 757
  • 2
  • 14
  • 35
25
votes
5 answers

Maven Dependencies Eclipse

I added the below depdencies in my pom richfaces-api org.richfaces.framework 3.3.3.Final
Punter Vicky
  • 15,954
  • 56
  • 188
  • 315
22
votes
5 answers

HTTP response header content disposition for attachments

Background Write an XML document to a browser's response stream and cause the browser to display a "Save As" dialog. Problem Consider the following download() method: HttpServletResponse response = getResponse(); BufferedWriter bw = new…
Dave Jarvis
  • 30,436
  • 41
  • 178
  • 315
21
votes
7 answers

How to conditionally style a row in a rich:dataTable

How can I change the style of a particular row based on a condition? I can use JSF EL in rich:column style class attribute, but I have to write for each column. I want to change the entire row. Thanks
Luca Molteni
  • 5,230
  • 5
  • 34
  • 42
20
votes
3 answers

How to invalidate an user session when he logs twice with the same credentials

I'm using JSF 1.2 with Richfaces and Facelets. I have an application with many session-scoped beans and some application beans. The user logs in with, let's say, Firefox. A session is created with ID="A"; Then he opens Chrome and logs in again with…
pakore
  • 11,395
  • 12
  • 43
  • 62
19
votes
2 answers

How to add a message to a specific component from JSF backing bean

I have an h:inputText and an h:message connected to it: I want to send a message to it from java, in a manner…
Benchik
  • 2,057
  • 5
  • 26
  • 44
19
votes
3 answers

Retrieving other component's client ID in JSF 2.0

Does JSF 2.0 have a built-in method for finding the client ID of another component? There are about a thousand client ID-related questions on SO and there are a lot of hackish methods to do this, but I'm wondering if JSF 2.0 brought a simpler…
cutchin
  • 1,177
  • 1
  • 8
  • 12
18
votes
2 answers

Conditionally rendering an

I am trying to toggle a page that shows a . Before I just included the template and it would just show the table the whole time. Now I want to be able to toggle it on/off on the…
Gilbert V
  • 1,050
  • 5
  • 16
  • 43
17
votes
2 answers

How to reload page when a button is clicked?

I need to refresh current page when confirm button is clicked. I am trying to find the answer on the internet, but with little or no success at all. It would be nice if there was a way to update it from front-end (JSF), not from backing bean, but, I…
WheelPot
  • 307
  • 1
  • 3
  • 15
17
votes
3 answers

checks for constraint violation before persisting an entity

What is the best mechanism for preventing constraint violation checks before creation | modification of an entity? Suppose if the 'User' entity has 'loginid' as the unique constraint, would it be wise to check if there is an user entry already with…
Joe
  • 14,513
  • 28
  • 82
  • 144
17
votes
1 answer

Displaying a number in 2 point decimal format in jsf

I am using JSF 2 and RichFaces 3. Here in the picture shown below, numbers are being displayed as what they are in the database. But I want to display them as 6749395.20 if fraction part is there and 5095138.00 if no fraction part is there. As of…
Addicted
  • 1,694
  • 1
  • 16
  • 24
1
2 3
99 100