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
1
vote
1 answer

Import JSF 2.3 in POM file

I tried to import JSF dependency in order to use JSF 2.3 but I get error: org.glassfish javax.faces 2.3.0 Failed to collect…
Peter Penzov
  • 1,126
  • 134
  • 430
  • 808
1
vote
2 answers

JSF 2.3 don't work over Tomcat 8

I'm trying to test the new features of JSF 2.3 on Tomcat 8, but nothing works. A JSF 2.2 compatible code works fine with this configuration, but as for a new JSF 2.3 feature it fails. For example, the following code causes the following failure to…
Gallegote
  • 43
  • 1
  • 7
1
vote
1 answer

Mojarra 2.3.0-m06, @PersistenceContext field is null

I have such converter: @FacesConverter(managed = true, value = "myConverter") public class MyConverter implements Converter { @PersistenceContext(unitName = MyService.PERSISTENCE_NAME) private EntityManager entityManager; ... } The…
Vladiator
  • 326
  • 1
  • 3
  • 17
1
vote
0 answers

Spring JSF 2.3 Integration

In lieu of JSF 2.3+ greater coupling with CDI, will Spring integrate with JSF 2.3, and if so any timeline on this? It appears there are still issue with JSF 2.2 ViewScope.
1
vote
1 answer

Cannot start Tomcat 8 with JSF 2.3: java.lang.NoSuchMethodError: javax.faces.view.facelets.FaceletCache.setCacheFactories

I tried to run Tomcat with JSF 2.3.0-m05 but I get error java.lang.NoSuchMethodError:…
Peter Penzov
  • 1,126
  • 134
  • 430
  • 808
1
vote
1 answer

#{request} in EL is evaluated to null in Mojarra 2.3 m02

I am trying to use Mojarra 2.3.0-m02. Confirming the JSF configuration file faces-config.xml to be compatible with JSF 2.3 as follows.
Tiny
  • 27,221
  • 105
  • 339
  • 599
0
votes
0 answers

Using JSF websockets in an asynchronous context

I have a JSF Application and want to use websockets to send messages to the webclient. On the server side I'm executing some long-running asyn tasks, I perform it using the @Asynchronous annotation @Asynchronous public void…
Neo
  • 1,337
  • 4
  • 21
  • 50
0
votes
1 answer

Pretty faces redirect to root

I'm using pretty faces 3.4.4. I want to redirect pages with following url: www.domain.com/overview/overview.xhtml?target=my_param to www.domain.com/my_param To achieve this I use this setting:
codyLine
  • 509
  • 2
  • 8
  • 26
0
votes
1 answer

OWB 2.0.27, TomEE 8.0.14, JSF (myfaces) 2.3.10 startup errors

We are upgrading our webapp to JSF 2.3.10, OWB 2.0.22, and TomEE 8.0.14. I realize we should move to Jakarta EE, but, for now, this is our tech stack. I'm seeing stacktraces in the catalina logs concerning Default qualifiers. A snippet of…
RandyB
  • 1
  • 2
0
votes
0 answers

p:fileUpload is not invoking listener after upgrading from jsf-2.1 to jsf-2.3(myfaces-2.1 to myfaces-2.3) and primefaces-3.1 to primefaces-8.0

p:fileUpload listener in not invoking in primefaces-8.0 with myfaces-2.3,java-1.8 and tomcat-9.0.73. During migration process i am testing and it's working till primefaces-5.0 and myfaces-2.3. After upgrading to primefaces-5.0 with same myfaces-2.3…
0
votes
0 answers

OmniFaces converters (like omnifaces.ListConverter) not found after upgrade to jsf 2.3, Primefaces 7.0, omnifaces 3.14.1

Since upgrade from primefaces 6.2 and omnifaces 1.12 to primefaces 7.0 and omnifaces 3.14.1 is not working basic omnifaces tag as converter: Exception: `SEVERE: JSF1006:…
JanZ
  • 1
  • 1
0
votes
0 answers

Upgrade jsf 2.1 to 2.3 throw NullPointerException from getFlowStack

Recently I needed to upgrade jsf version to 2.3 after changing dependency com.sun.faces jsf-api 2.1.7
0
votes
0 answers

JSF Mojarra 2.3 @ Tomee is not running correctly as WindowsService

Used Software apache-tomee-8.0.13-plume javax.faces-2.3.9 Mojarra OpenJDK java-17-openjdk-17.0.3.0.6-1.win.x86_64 Windows Server 2019 and 2022 I have created a little sample app using the JSF WebSocket. Exactly this example If TOMEE is started by…
PosNerd
  • 33
  • 4
0
votes
0 answers

Get JSF managed bean by name in a Servlet

Some months ago I posted my question Accessing @SessionCoped @Named beans from a HttpSession which was marked as a duplicate because of the already answered quesiton Get JSF managed bean by name in any Servlet related class I tried to access my…
Alex Mi
  • 1,409
  • 2
  • 21
  • 35
0
votes
0 answers

JSF 2.3 CDI, spring integration

Our application is getting upgraded to JSF2.3, running on tomcat 10 with Jboss weld (CDI 4.0). We have extensive use of spring jdbcTemplate for persistence, we are not in a position to replace it immediately. Please suggest a way to integrate…