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
16
votes
2 answers

Aligning content inside panelGrid columns

How do I align the content in the columns created by panelGrid component to the top ? I tried with no success, the following code
Rajat Gupta
  • 25,853
  • 63
  • 179
  • 294
15
votes
4 answers

Input fields hold previous values only if validation failed

I came up with a strange problem. I tried to isolate the problem so following is my simplified code. public class MyBean { private List dataList; Data selectedData; public MyBean() { dataList = new ArrayList(); …
prageeth
  • 7,159
  • 7
  • 44
  • 72
13
votes
1 answer

JSF2 logs with tomcat

I'm having a project using JSF2 (2.1.2), Richfaces4 (4.0.0.Final) on tomcat6 (6.0.28). In order to manage portability between Tomcat and WebSphere7 for my EARs, I have the following jars inside my tomcat lib: el-api-2.2.jar, jsf-api-2.1.2.jar,…
Florian
  • 389
  • 1
  • 4
  • 15
13
votes
1 answer

JSF/RichFaces: conditional text styling

I have a string which can be yes or no, instantiated in an object in a Java backing bean. I can't seem to find the best way to conditionally style the text red or green dependent on whether the JSF gets yes or no from the bean respectively. I'm…
volvox
  • 3,014
  • 16
  • 51
  • 80
13
votes
1 answer

action is only invoked on second click

I want to submit a data table on a button click, but that action is not called on the first click. Here is my code:
Harshit Shah
  • 319
  • 1
  • 2
  • 11
12
votes
5 answers

Rich Extended DataTable column widths

I have issue with RichFaces extended dataTable If the columns are more say 20, instead of giving a horizontal scroll bar, the columns are getting compressed. I tried giving column width in %, px .But no use. Anyone familiar with this?
crazyTechie
  • 2,517
  • 12
  • 32
  • 41
12
votes
2 answers

How to create a composite component for a datatable column?

Given this datatable (naturally working): HEADER If I define a custom component…
Federico
  • 561
  • 2
  • 11
  • 32
11
votes
1 answer

Richfaces Skin Overriding Styleclass

I have a JSF2/Richfaces 4 project in which I want to use one of the default skins, BUT I also want to set some things' style using my own custom style sheet. This sounds pretty straightforward, but what I am finding is that in at least some cases,…
user470714
  • 2,858
  • 1
  • 28
  • 34
11
votes
4 answers

Icesfaces vs Myfaces vs Primefaces

I am starting out a new project that involves the use of JSF 2.0. From my initial reading, the Mojarra and Apache Implementation of the project covers the basic components that you will need. But I know that user's would seek gui with better…
Mark Estrada
  • 9,013
  • 37
  • 119
  • 186
11
votes
2 answers

JSF view getting rebuild on each ajax request

I'm having a performance problem with my JSF/RichFaces/Facelets ajax requests and from what I can tell its because the entire component tree is being rebuild on each ajax request. This is happening even if I use ajaxSingle=true, wrap sections in…
Ben Developer
  • 166
  • 1
  • 8
11
votes
3 answers

Pass parameters to messages from resource bundle to components other than **h:outputFormat**

Is there a convenient way to pass parameters to messages from resource bundle to components other than h:outputFormat? For instance, this is legal:
Andrey
  • 333
  • 3
  • 5
  • 16
11
votes
2 answers

Are there “server-side comments” in JSF / Seam / RichFaces?

With the JSF/Seam/RichFaces stack, is there a way to mark up comments (on XHTML pages) so that they will not be included in the HTML output? I.e., something like JSP's <%-- comments --%>, as opposed to normal . I heard that…
Jonik
  • 80,077
  • 70
  • 264
  • 372
11
votes
2 answers

Concatenate strings in JSF/JSP EL and Javascript

I'm having troubles with EL and javascript functions (JSF 1.2, Facelets, Richfaces 3.3.0GA). I have a page that includes another composition: And in my…
pakore
  • 11,395
  • 12
  • 43
  • 62
11
votes
1 answer

Richfaces - Get Element By Id

We are using Richfaces in one of our projects. I need to focus the element dynamically on some user action. The issue here is I only have the id (JSF specific id that I give to element.) For example: for h:inputText I use it as
Kumar D
  • 1,308
  • 5
  • 19
  • 43
11
votes
2 answers

Could not complete the operation due to error c00ce56e

I've upgraded from rich faces 3.3 to rich faces 4.2 because ajax didn't work for IE9. Now it still not works. After receiving the Response IE gets an JS error "SCRIPT58734: Der Vorgang konnte aufgrund des folgenden Fehlers nicht fortgesetzt werden:…
wutzebaer
  • 14,365
  • 19
  • 99
  • 170