3,703
questions
0
votes
0
answers
37
views
Maps JavaScript API v3.44 Cannot read properties of undefined ( possible conflict richfaces 3.3.3)
Hellooo! We have a jsf application (Richfaces 3.3.3) in which we have integrated https://maps.googleapis.com/maps/api/js. We just upgraded from version 3.53 (since it has been removed) to version 3.54....
1
vote
1
answer
123
views
Project upgrade with RichFaces getting compilation error for org.richfaces.event.DataScrollerEvent
We have upgraded JSF project. We converted all javax.faces.* packages with jakarta.faces.* but project in not getting compiled.
For org.richfaces.event.DataScrollerEvent getting compilation error.
org....
2
votes
1
answer
188
views
Richfaces 3.x - Spring Boot - Migrate web.xml
I've been struggling with this for a few days to migrate an old Spring with standalone tomcat server to SpringBoot (1.5.22.RELEASE) with embedded tomcat server and not sure what exactly I've done ...
0
votes
1
answer
103
views
Attribute render of richfaces doesn't work when migrating to jboss 7.4
After migrating to jboss 7.4, all the html pages that use the attribute Render of richfaces doesn't work, any idea?
Java8
Richfaces 4.5.0.Final
omnifaces : 2.7
09:28:53,389 SEVERE [javax.enterprise....
1
vote
1
answer
222
views
Exceptions when using RichFaces or PrimeFaces in Payara 6 with Java 11
I'm migrating a web app to run on Payara Community version 6 (which uses Java 11) from Payara Server 4 (which uses Java 8).
When I deploy the web application, which uses RichFaces I get the following ...
0
votes
0
answers
38
views
Migrating from RichFaces 3.3.1.GA to RichFaces 4.5.0.Final: what is the replacement for AjaxBehaviorRenderer and HeaderResourceProducer classes
i am working on Richfaces migration from 3.3.1.GA to 4.5.0.Final on JSF 2.2 to achieve Wilfly Server Compatibility.
as part of that i encountered 2 classes for which i could not find alternatives.
...
0
votes
0
answers
33
views
How to reset old value on selectOneMenu
when I choose a value from my dropdown list I have to check if this value exists in a map, if it exists, I have to reset the dropdown list with the old value. How can I do this please.
This is my code ...
0
votes
0
answers
188
views
JSF 1.2 to upgrade to the latest version / Update to latest jQuery version
I am facing an issue with my current application using JSF 1.2 version. As I am working on resolving some vulnerability issues, we need to update the application so that the jQuery is at 3.6.3 which ...
2
votes
0
answers
214
views
Migration Richfaces -> Primefaces : rich:collapsibleSubTable migration
I trie to migrate an page using richfaces to primefaces.
I have a rich:datatable with multiple rich:collapsibleSubTable.
I tried to replace that with p:datatable and p:subtable like this
<p:...
1
vote
1
answer
115
views
Is there a way to replace richfaces tag "<a:queue" to primefaces and JSF 2.2
I need to migrate my legacy application using JSF 1.2/SEAM to JSF 2.2.
I need to replace the following code in one of the template files
<a:queue name="ic" requestDelay="250"/&...
0
votes
0
answers
271
views
deploy richfaces 4.5.17 web project in tomcat 10
I am trying to deploy richfaces 4.5 web project in tomcat 10 but getting error (it was working fine in tomcat 9)
changed all imports (javax -> jakarta)
tomcat 9 run on servlet 4 and tomcat 10 run ...
0
votes
0
answers
33
views
Why does richfaces 4.5.1 show components' IDs together with the label?
I'm migrating a microservice from Richfaces 3.3 to 4.5.1 and I have this strange problem:
when using a component like <rich:accordion id="menu" label="Menu"> I have no errors,...
0
votes
2
answers
81
views
rich:dataList vertically ordered between 2 columns
I have a dataGrid with 2 columns and a panelGrid inside it that shows the data correctly, but it fills both columns before changing row. I need it to fill first column, with half of list content and ...
0
votes
0
answers
66
views
Can we use <h:selectManyCheckBox> inside <rich:select>
I have just started to use jsf rich faces and my client wants a drop down list with multiple items with checkboxes. .
My code look like this but i am not getting desired result:
<rich:select id=...
0
votes
1
answer
32
views
RichFaces 4.5.15 x panelBorderRadius
I have tried to configure panelBorderRadius creating a new skin (from https://docs.jboss.org/richfaces/latest_4_5_X/Developer_Guide/en-US/html/chap-Developer_Guide-Skinning_and_theming.html#sect-...
3
votes
0
answers
542
views
java.lang.IllegalArgumentException: Cannot convert com...DocumentType@24 of type class com...DocumentType to class java.lang.Boolean
I am gettting the error
java.lang.IllegalArgumentException: Cannot convert com...DocumentType@XX of type class com...DocumentType to class java.lang.Boolean
only when I try to display my documents....
0
votes
0
answers
36
views
RichFaces Data Table Quirk
With RichFaces you can create a data table like this:
<rich:dataTable id="myTable" value="#{myBean.values}" var="value">
<f:facet name="header">
...
0
votes
1
answer
377
views
JSF 1.2 Rich File upload throwing IOException
I am trying to implement rich:fileUpload in a very old system using java8, JSF 1.2, RichFaces 3.3.3.Final, net.java.dev.ajax4jsf 1.0.6, on Glassfish 4.1. The system is massive so please don't ask me ...
0
votes
1
answer
277
views
JSF app with the error: Uncaught ReferenceError: RichFaces is not defined
An application is migrated and now there is an issue when een page is opened and in the console I see the error: "Uncaught ReferenceError: RichFaces is not defined"
It's a Java application ...
0
votes
0
answers
69
views
Emulate bypassUpdates when migrate from RichFaces to PrimeFaces
What's the best way to emulate the bypassUpdates property of a4j:support? This property skip JSF phase 4 and 5, no matter if validation success or not.
Thanks.
0
votes
0
answers
83
views
Performance issue migrating from Richfaces 3.3.x to PrimeFaces 10.0.0
I'm working migrating a legacy software that use a lot of cases like <ui:repeat var="area" value="#{areaList.getResultList()}">. Where getResultList() executes a DB query. ...
0
votes
0
answers
31
views
First h:form of an a4j:repeat is not rendering correctly
Let's say that I have a list of objects in my bean and I want to paint them in my page, for that I'm using an <a4j:repeat>, this objects need to be wrapped inside a <h:form> because each ...
-1
votes
1
answer
53
views
Unable to find rich autocomplete id during input validation with jQuery
I have a rich:autocomplete field along with a few text input fields under a rich:panel. During input validation with the following code, all text input fields are found however the rich autocomplete ...
0
votes
1
answer
134
views
rich:dataScroller won't reset at page 1 on a new search
i'm facing a problem with component rich:dataScroller:
when i trigger an actionListener to fill a datatable with new data and the table (made with component rich:dataTable) is currently at page > 1,...
0
votes
1
answer
104
views
How I can color the entire row using the information from the entity?
I have the following table in a .xhtml file. I want to color the entire row of the table, not only the text background. How can I do this in RichFaces?
Note: the table has more columns, I just posted ...
0
votes
1
answer
61
views
RichFaces 3: how to apply/change styles for rich:pickList displayed items
I can't figure out how to use the provided in the docs attributes to apply the styles to the displayed items. There is nothing similar n the provided examples where the items are already aligned to ...
0
votes
1
answer
645
views
How to use OWASP Encode.forHtmlContent with JSF <h:outputText> and other output elements from RichFaces?
I tried to find this in a lot of places, but it is not clearly written anywhere. For example in this documentation the usage is given only for JSP but not for JSF.
Example used in the documentation :
&...
0
votes
0
answers
53
views
FilterServletResponseWrapper replacement when migrating Richfaces to Primefaces. For file download
I am migrating a project from Richfaces to Primefaces and I am having problems getting file download to work again. The original uses a standard h:commandLink which tells the webflow to start the ...
1
vote
0
answers
47
views
How I can click the same jsf command button twice?
I open a popup using the jsf command button. After closing the popup, when I click the same button again, I cannot open the popup. So when I click the same button twice, I cannot open it. When I debug ...
0
votes
1
answer
527
views
Display the last 10 rows of the database
Question: Hello everyone, I am working on a project with Richfaces I want to display the last 10 rows of my database (MySQL), this is part of the code I use to display all the rows saved in my ...
0
votes
1
answer
50
views
Is there a way to default Richfaces to use long-polling for push instead of WebSockets?
I've seen answers for older versions of Richfaces to put richfaces.Push.transport = "long-polling in the JavaScript, but that doesn't seem to work anymore. Especially when using packed.js (org....
1
vote
0
answers
130
views
How to set up pom.xml for RichFaces 4.5.17.kcc5 and Primefaces 7.0.RC3 working together on the JSF 2.3 project
Originally my project is set up for RichFaces 4.5.17.kcc5 and it works fine.
After I added the PrimeFace 7.0.RC3 library to the project, my build stop installing (mvn clean install) and I start ...
0
votes
1
answer
79
views
Delete elements from a dynamically updated data table
I have a Richfaces 1.2 dataTable that is updated every 2 seconds using a a4j:poll request. It sends a request to the server and reRender the table adding new elements and changing the state of ...
0
votes
1
answer
49
views
Progress popup showing up after cancelling action in the confirmation popup
I have below code written to show a confirmation popup when deleting a user. Also I have progress popup ( tied to other pages also) which I have attached to this action.
But since both of them are ...
-1
votes
1
answer
491
views
Migrate JSF RichFaces project from JSF 2.0 to 2.3 [closed]
How to Migrate from JSF 2.0 to JSF 2.3 in existing EJB with RichFaces Project.
Please suggest the steps to be followed.
0
votes
1
answer
282
views
How to generate a matrix with JSF, Primefaces and Richfaces
I'm trying to make a 5x5 matrix in JSF 2.2 with Primefaces 6.2 and Richfaces 4.5.16.Final.
Quite similar to Generate Matrix Datatable with JSF Framework like Primefaces.
The only difference is, I want ...
0
votes
0
answers
881
views
JSF 2.1 and RichFaces migration to JSF 2.2
We are migrating our large application (which uses JBoss EAP 6.2 + RichFaces 4.3.5 + JSF 2.1.19) to a newer server . ie (JBoss EAP 7.2)
Can anybody suggest a stable combination of JSF+RichFaces+JBoss ...
1
vote
0
answers
465
views
Remove jquery.js reference coming as part of Richfaces 4.x
During a security scan it was found that jquery.js ( version 1.12.3 ) coming as part of Richfaces 4.x to our application is a vulnerability . So we had to mitigate that and try to resource map it so ...
0
votes
0
answers
556
views
How to use javascript inside xhtml files
I have a js file(abc.js) and having a function increment().Which stores count of places as var noOfPlaces.
In the xhtml file.Have a component which is having onclick function.
I want to have if else ...
-1
votes
1
answer
87
views
WARNING: FacesMessage(s) have been enqueued, but may not have been displayed. site:stackoverflow.com
com.sun.faces.lifecycle.RenderResponsePhase execute INFO: WARNING: FacesMessage(s) have been enqueued, but may not have been displayed. site:stackoverflow.com
1
vote
1
answer
1k
views
How to add csrf token for immediate file upload for Spring Security 3.2?
I have been trying to add CSRF token for file uploads in my Spring application having spring security 3.2. The Spring Security CSRF documentation suggests we add MultipartFilter before the spring ...
1
vote
0
answers
217
views
JSF1.2 and RichFaces 3.2.1 upgrade
I have the project which is designed and developed on very legacy frameworks. The frameworks which we are currently using are:
jboss-seam-2.2.1.jar
jsf-api-1.2_04-p02.jar
jsf-facelets-1.1.14.jar
jsf-...
1
vote
0
answers
273
views
Rich:Editor - com.sun.faces.application.view.StateHolderSaver cannot be cast to [Ljava.lang.Object;
I'm facing an annoyng problem and i hope someone can help me.
I'm using JSF 2.0, Mojarra 2.0.9 and RichFaces 4.3.0_final.
Trying to add a Rich Faces Editor into a jspf page, but when the page is ...
0
votes
0
answers
214
views
Is there a way to use rich:columnGroup in rich:extendedDataTable?
I got the task to convert one of our old tables, which was built with rich:dataTable into a rich:extendedDataTable. In the old tables we worked with rich:columnGroup to split the header into 2 rows. I ...
0
votes
0
answers
86
views
Bootstrap 4 doesnt collapse
i'm getting troubles on using bootstrap 4 in a jsf - richFaces web application.
I have a template that include 2 portion of .xhtml pages
Seems that accordions divs doesnt recognize Bootstrap classes. ...
0
votes
1
answer
1k
views
Javascript working in HTML but not XHTML JSF
I am working on a web-app that is using JSF 2.1 and RichFaces 3.3
I have an external piece of Javascript that needs to run across all of the applications' pages, so I put it in the head of my ...
0
votes
2
answers
482
views
How to fix RichFaces' resources being included multiple times with JBoss EAP 7.3.0?
I'm migrating from JBoss EAP 7.1 to 7.3 at the moment and one of my problems is related to RichFaces – which is EOL with v4.5.17 for a very long time – I know. But nevertheless I need to cope with ...
1
vote
1
answer
1k
views
RichFaces FileUpload and Flash Support ending in 2020
Well, in my company we have a legacy web system that uses JSF 1.2, Seam 2.2 and RichFaces 3.3
Well, there's one part of the system that uses rich:fileUpload with FlashSupport, but as we know Flash ...
0
votes
1
answer
80
views
How to override the default image loaded by a facet of orderingList richfaces component
I'm trying to change the image loaded by default in the facets of orderingList richfaces component.
The default image is being loaded from DATB folder so i'm trying to override the loading and make ...
0
votes
1
answer
47
views
richface resizable columns
I'm just trying to modify some of our tables, especially in the way that the columns can be made bigger or smaller by dragging them with the mouse. Unfortunately I don't get it done and my google ...