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
0 answers

JSF 2.3 - Servlet 4 - JavaEE 8 and Tomcat9: Unable to find CDI BeanManager

I am trying to migrate from JSF 2.1 to 2.3/Servlet 4/ Tomcat 9 but I have some trouble whith CDI configuration. I followed this guide from BalusC to enable CDI on Tomcat 9 (in my case) but I still get this exception when starting my app:…
akuma8
  • 4,160
  • 5
  • 46
  • 82
1
vote
2 answers

What next now that JSF and Spring are breaking up

I'm working on a JSF/PrimeFaces web application running on tomcat which uses Spring to inject different services based on the deployment context. I was looking at migrating it to JSF 2.3 when I realized JSF 2.3 requires a CDI container yet Spring…
willix
  • 686
  • 1
  • 6
  • 13
1
vote
1 answer

Unable to use beans with jsf 2.3 in servlet container

I started to test JSF 2.3 a short time ago. But I can't get one of the most important features to work. The use of ManagedBeans. I tried a lot, using different servlet containers (Tomcat 8&9, Jetty 9.2).But nothing helped. Hope somebody can see my…
spellsleeper
  • 61
  • 1
  • 7
1
vote
0 answers

PrimeFaces TreeTable Issue on Mojarra

I have a programmatic Dynamic TreeTable that is created and added to a form panel. This issue is only reproducible in Mojarra. The code works only with javax.faces.PARTIAL_STATE_SAVING
Ravi
  • 391
  • 2
  • 18
1
vote
2 answers

Is faces-config.xml and web.xml needed nowadays?

I have been studying JavaEE8 and practicing with some projects, understanding the new technologies like Servlet 4.0 and JSF 2.3. I have read in many forums and pages, in some I see that they say that web.xml and faces-config.xml are not necessary,…
David Ferreira
  • 1,233
  • 17
  • 24
1
vote
0 answers

JSF 2.3 f:websocket java.lang.AbstractMethodError

I have problems rendering f:websocket component. Server is Tomcat v8.5. Regarding instructions at links: http://balusc.omnifaces.org/2013/10/how-to-install-cdi-in-tomcat.html How to update JSF 2.2 to JSF 2.3 using Maven in a Spring…
bmlikota
  • 34
  • 3
1
vote
0 answers

How can I use JSF 2.3 with wildfly-swarm / thorntail?

What I have found out so far: If one would use wildfly 12, it is possible to use JSF 2.3 by enabling ee8.preview.mode, since then you would have Java EE 8, which comes with JSF 2.3. The currently newest release of wildfly-swarm (thorntail) 2018.5.0…
Benjamin
  • 533
  • 9
  • 27
1
vote
1 answer

JSF 2.3 & o:socket or f:websocket - Nothing 'pushed' to the client

After help from @BalusC I have my EJB method firing an event on JBoss WildFly 12.0.0.Final (MacOS) using JSF 2.3 running on EE8: beanManager.fireEvent("updateNotifications" ); the POJO: @Inject @Push(channel = "testChannel") private PushContext…
NOTiFY
  • 1,255
  • 1
  • 20
  • 36
1
vote
0 answers

Component ace:dialog doesn't work

I'm using icefaces 4.2 and jsf 2.3. I'm trying to get dialog window on client side. My code:
Michael
  • 11
  • 3
1
vote
1 answer

How to maintain the state after validation? (validateWholeBean)

I'm using the tag (JSF 2.3) for class-level validation. The validation is occurring correctly, however, the form data is deleted after the return of the messages with the validation errors. From what I realized this is the…
1
vote
1 answer

StringIndexOutOfBoundsException when using jsf 2.3.3 on Tomcat 9.0.2

I am trying to use latest jsf 2.3.3 on Tomcat 9.0.2 with Spring Boot: org.glassfish javax.faces 2.3.3 first issue is that the…
Mahmoud Saleh
  • 33,303
  • 119
  • 337
  • 498
1
vote
1 answer

CDI managed bean in Mojarra 2.3 throws PropertyNotFoundException, Target Unreachable, identifier 'localeBean' resolved to null

I have problem with bean discovery in JSF 2.3 and CDI application. I am using Glassfish 5.0, Java 8 (1.8.0_151). My files: faces-config.xml
Jan Novy
  • 11
  • 1
  • 1
  • 7
1
vote
2 answers
1
vote
1 answer

JSF 2.X on IBM Domino 9 (Servlet 2.5) - is it feasible at all?

Just curious whether it is possible to run JSF 2.3 on IBM Domino? I have tried to deploy (JSF versions 2.0, 2.1, 2.2, 2.3) via the UpdateSite Plugin install following Sven's post HowTo: Vaadin on Domino. But was not really successful as got the…
AndrewG10i
  • 661
  • 1
  • 6
  • 21
1
vote
0 answers

jsf & facelets: many tags in production enviroment: performance?

i am currently re-working some jsf-pages of a larger project and locate a lot of stuff surrounded by codes and comments... stuff. many parts are not "normal comments", but large code fragments with unknown purpose. i wonder…
doratono
  • 33
  • 4