Questions tagged [jsf-2.3]

JavaServer Faces (JSF) is a model-view-presenter framework typically used to create HTML form based web applications. 2.3 is the version name.

JavaServer Faces 2.3 is the major JSF upgrade that's part of Java EE 8. It has some significant new features like tighter integration with CDI, support for WebSockets, a component search expression framework and a multi-field validation.

For the real wiki, please jump over to the wiki: https://stackoverflow.com/tags/jsf/info.

160 questions
0
votes
1 answer

NullPointerException using JSF 2.3 websocket using JSF navigation

I have some simple navigation using primefaces menu. However I have jsf websockets on both pages. This causes a NullPointerException when navigating between pages. When navigating to Portfolio if there are websockets present in the Portfolio page…
zobbo
  • 117
  • 2
  • 13
0
votes
2 answers

How to implement JSF 2.3 on Google App Engine Project

I'm trying to create a Web Application on Google App Engine (GAE). I want to use Primefaces 7.0 and, obviously, JSF 2.3, but I can't understand which dependencies need to add to pom.xml (yes, is a maven project) to get a working project.
Giampaolo
  • 133
  • 2
  • 8
0
votes
0 answers

Wildfly 18 missing content-length in header Fields

I'm using wildfly 18 with java 11. undertow is configured to serve http/2. push is disabled and i'm also using gzipFilter. Response sent to the client does not content the content-length header field. i'm using jsf_2.3 How can I setup my wildfly so…
Yan'son
  • 1
  • 1
0
votes
1 answer

View parameter and @ViewScoped bean: recover after server restart

Supposing following scenario: In a web application I have a simple form on a page where the user can update a value in a database; the backing bean Controller is @ViewScoped. The object which holds the value is read from database in a custom…
MichaelRS
  • 51
  • 3
0
votes
0 answers

Include view parameters in h:link

I have a problem when adding view parameters to a - they are not added to the rendered link. I am using Mojarra 2.3.9. Template /WEB-INF/templates/main.xhtml
MichaelRS
  • 51
  • 3
0
votes
2 answers

Websocket + Pretty Faces = AbstractMethodError

I'm building a simple JSF 2.3 app in tomcat 8.5. I got the websocket working, and then I added Pretty Faces. If I use them separately, they both work. I mean, if I remove Pretty Faces' dependencies from the pom, my websocket works. And if I keep the…
onzinsky
  • 541
  • 1
  • 6
  • 21
0
votes
1 answer

Openshift + Tomcat9 + JSF -> jsf.application.resource.unable_to_create_compression_directory

I'm getting this error when deploying a JSF Mojarra 2.3 application in Tomcat 9.0.26 in Red Hat OpenShift: WARN [https-jsse-nio2-8443-exec-4] j.e.r.w.j.resource - jsf.application.resource.unable_to_create_compression_directory I think another…
dforce
  • 2,136
  • 3
  • 20
  • 36
0
votes
0 answers

ui:param value loses its value in included website (included by ui:include)

I have a JSF XHTML site which includes another JSF XHTML site (example.xhtml) via ui:include: ... ... Inside the example.xhtml site I use…
Jan
  • 1,032
  • 11
  • 26
0
votes
1 answer

Websockets: and @ServerEndpoint

I'm currently digging into JSF 2.3 and websockets. The use of within xhtml pages and the definition of web socket endpoints using @ServerEndpoint is clear to me. But is there any way to combine those two to get to connect…
Thomas S.E.
  • 1,528
  • 16
  • 28
0
votes
1 answer

JSF faces flow throws the error "Flow already exists"

My environment: JSF 2.3, Mojarra 2.3.9.payara-p2 PrimeFaces 7.0 Payara 5.192 OmniFaces 3.3 Project Java EE 8 Maven NetBeans 11.1 I have created a Faces flow: folder "flotTransfer" containing only 2 files (for the moment) flotTransfert-flow.xml and…
user1643352
  • 2,635
  • 2
  • 19
  • 25
0
votes
0 answers

Custom converter with attributes/injection not working with anymore after upgrade to JSF 2.3

I am trying to upgrade/use a custom converter that worked with JSF 2.2 (on Wildfly 13) to work on JSF 2.3 (with Mojarra 2.3.9.SP02 running on Wildfly 17.0.1) The converter is used via its own tag defined in a tag library. Everything's fine as long…
0
votes
1 answer

wildfly cluster login with java ee 8 security-api

we are trying to create a wildfly 16 High Available cluster with JEE8 Security API. Project works as standalone application well but not as cluster! We are getting a infispan NotSerializableException. We have a wildfly 16 standalone application with…
0
votes
1 answer

Proper way to set a property of a controller when using

I have a big form that I need to reuse in multiple pages. So, I decided to create a that contains the form and include it in some pages (page1.xhtml and page2.xhtml). form.xhtml: