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
3
votes
1 answer

How to use jsf in "namespaced mode"

In a website we want to integrate some snippets provided by jsf-applications, think of a dashboard-app or a "portal-light". While analyzing the requirements we came across a blog-post by Arjan Tjims on jsf 2.3 new features, where he mentioned a new…
frifle
  • 810
  • 5
  • 24
3
votes
2 answers

Why does the first AJAX call reset my view parameter?

I cannot find out why the first ajax call causes the setter of my view parameter to be called again while every subsequent call does not call the setter again. I have the following simple view bean: package test; import…
Björn Zurmaar
  • 826
  • 1
  • 9
  • 22
3
votes
0 answers

Target Unreachable, identifier 'user' resolved to null - unsure of what is wrong after exhaustive research

Preface: I have thoroughly looked at about 10 different related stackoverflow articles such as the ones below, none of which solved my question. So I am presenting the complete code to see if anyone knows what might be wrong with my project. Please…
Sekai
  • 31
  • 3
3
votes
2 answers

Is it possible to inject a bean to phaselistener when using JSF 2.3, tomcat with weld cdi implementation?

I want to inject a @SessionScoped and a @RequestScoped beans into my PhaseListener implementation, but I got NullPointerException. I use tomcat with weld implementation to achieve CDI. I started to migrate JSF 2.2 to 2.3, so I changed to CDI from…
BravoNine
  • 101
  • 2
  • 9
3
votes
1 answer

FacesContext not injectable in Wildfly 14 with JSF 2.3 (Mojarra, main module)

I have a bean: import javax.faces.context.FacesContext; import javax.faces.view.ViewScoped; ... @Named @ViewScoped public class SimpleBean implements Serializable { private static final long serialVersionUID = 1L; @Inject protected…
Kawu
  • 13,647
  • 34
  • 123
  • 195
3
votes
1 answer

How to Upgrade project from Jsf 2.2 to Jsf 2.3 in Eclipse

Currently I am working on project using Primefaces 6.1 and Jsf 2.2 using Eclipse. Now I want to upgrade project from Jsf 2.2 to Jsf 2.3. But I am facing some issues after replacing Jsf's jar files with javax.faces-2.3.2.jar, javax.faces-api-2.3.jar…
Afridi
  • 6,753
  • 2
  • 18
  • 27
3
votes
2 answers

JSF 2.3 CDI not working on tomcat

I am trying to set up jsf 2.3 on tomcat 8 whenever I used @inject I keep having an error with it I have googled and searched on stackoverflow.com yet I can't find a solution to it. I have already installed CDI (Weld) on it following @BalusC example…
3
votes
1 answer

f:websocket in JSF 2.3

I trying to get BalusC's JSF 2.3+ example (How can server push asynchronous changes to a HTML page created by JSF?) working using JBoss WildFly 12.0.0.Final I have added the JBoss JSF JAR: jboss-jsf-api_2.3_spec-2.3.3.SP1.jar However when I try and…
NOTiFY
  • 1,255
  • 1
  • 20
  • 36
3
votes
1 answer

JSF 2.3 fails to support WebSocket with Tomcat 9

I tried to test new WebSocket feature with JSF 2.3.3(Glassfish implementation). I used Tomcat 9.0.1 as web server and followed this guide(https://javaserverfaces.github.io/whats-new-in-jsf23.html) I created a managed…
Sergiy
  • 1,854
  • 4
  • 22
  • 34
3
votes
1 answer

Tag Library supports namespace: http://xmlns.jcp.org/jsf/core, but no tag was defined for name: websocket

I'm upgrading jsf 2.2 to jsf 2.3, using wildfly 11.0.0 Beta as server. i follow the instructions on this site. http://arjan-tijms.omnifaces.org/p/jsf-23.html#1396 Server starts well and the application works fine. When i call the push.xhtml…
CSekem
  • 33
  • 5
3
votes
2 answers

JSF 2.3 schemas

http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_3.xsd seems that doesn't exit. 2.2 works fine.
Mircea Stanciu
  • 3,675
  • 3
  • 34
  • 37
3
votes
1 answer

Why is WildFly 10 + JSF 2.3 not working with Omnifaces 2.6.1?

I've been trying to get an app up and running using jsf 2.3, primefaces 6 and omnifaces 2.6.1 on Wildfly 10. I have already splitted the jsf 2.3 (api and impl) and completed the set up for WildFly. The applications starts smoothly without omnifaces…
Johnn Guerrero
  • 105
  • 2
  • 8
3
votes
1 answer

ApplicationScoped bean not injected in JSF 2.3 FacesConverter

I have following FacesConverter: @FacesConverter(forClass = Onderwerp.class, managed = true) public class OnderwerpConverter implements Converter { @Inject private Web web; @Override public Onderwerp getAsObject(FacesContext context,…
onderbewustzijn
  • 935
  • 7
  • 32
3
votes
1 answer

JSF 2.3 on EAP 7

I would like to upgrade to JSF 2.3 on an Jboss EAP 7. I followed this guide: https://docs.jboss.org/author/display/WFLY10/JSF+Configuration#JSFConfiguration-ConfiguringaJSFapptouseanondefaultJSFimplementation I splitted the JSF 2.3 jar following…
onderbewustzijn
  • 935
  • 7
  • 32
3
votes
0 answers

Submit form with file upload

I would like to implement form with file upload. I tried this.
Peter Penzov
  • 1,126
  • 134
  • 430
  • 808
1
2
3
10 11