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

Failed to link org/primefaces/application/resource/DynamicResourcesPhaseListener : javax/faces/event/PhaseListener

I recently upgraded from JSF 2.2 to JSF 2.3.6 for JBoss EAP 7.2. After making all the changes including pom.xml changes and annotation changes, when I deploy the WAR file into the server, my WAR deployment is getting failed with an error - Failed to…
user1734698
  • 157
  • 2
  • 2
  • 17
1
vote
1 answer

PrimeFaces Paginator JumpToPageDropdown Bug

I am migrating from PrimeFaces 6.2 to 8.0. In my project I am using multiple Primeface DataTables with a Paginator. MCVE: Create a data list with more than 10 elements. Then click through the different page numbers. When any page number bigger than…
Hendrik
  • 413
  • 7
  • 17
1
vote
0 answers

selectEvent is null

Previously, I used java ee 7 and glassfish 4 and my code was working correctly. After switching to Jakarta ee 8 and payara the selectEvent used is returning null. Follow the code below. html
1
vote
1 answer

Undefined component type javax.faces.ViewRoot in JSF 2.3 startup

This is a new twist from my earlier issues found here. I'm upgrading from MyFaces 2.1 to 2.3.5, and from PrimeFaces 6.1 to 7. This has also included migrating from managed beans to CDI. At this point, the server starts up and it appears that…
Didjit
  • 785
  • 2
  • 8
  • 26
1
vote
1 answer

Migrating to JSF 2.3, Problems with MyFaces Initialization

I'm upgrading an application comprised of two projects, "common" and "myapp". I'm now upgrading it to JSF 2.3 (MyFaces) and Primefaces 7, and I can't figure out how to get past a failure in initialization. I should note that there've been a lot of…
Didjit
  • 785
  • 2
  • 8
  • 26
1
vote
1 answer

JSF ViewScope bean, viewParam, ajax request update the MB attribute with NULL

I have an application that is using JSF 2.2 on payara 4.1.9.2 with javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL true Here…
Videanu Adrian
  • 972
  • 3
  • 16
  • 41
1
vote
2 answers

h:selectOneRadio group problem within nested ui:repeat elements

I'm currently trying to implement a dynamic survey page containing pages, sections and questions defined by the user (part of a larger application). The user may defined different question types, which will render a different component (radio,…
areal
  • 157
  • 5
1
vote
0 answers

WELD-001408: Unsatisfied dependencies for type ExternalContext with qualifiers @Default

I am using JSF 2.3, PrimeFaces 6.2, WildFly 10, and JEE7. Upon deploying my application , I am getting the exception above, altough according to https://arjan-tijms.omnifaces.org/p/jsf-23.html this should not cause exception. Below is my source…
Alex Mi
  • 1,409
  • 2
  • 21
  • 35
1
vote
1 answer

Understanding JSFs options.params in jsf.ajax.request

We migrated our JSF 2.2 based application to JSF 2.3, Except of some smaller issues we were able to get everything up and running. For one view we use Butterfaces JSF component, especially the tree component. With JSF 2.3 it was not possible to…
jheider
  • 111
  • 8
1
vote
1 answer

JSF 2.3 whole bean validation throws all fields away. Is it intended? Do I use something wrong?

I have a form with lets say 3 fields: password hint password password again I have a bean, which contains these 3 fields, and I have a class level validator, which checks if the bean has a matching password and password again field. Imagine a…
Gábor Lipták
  • 9,646
  • 2
  • 59
  • 113
1
vote
0 answers

How to fix injection of FacesContext on error page

I've got JSF 2.3 WAR project with standard JSF exception handling. Any error in request is dispatching to the jsf error page which is configured inweb.xml. I'm also use new JSF 2.3 improved CDI support to inject FacesContext. The problem is when on…
Tomazz
  • 23
  • 6
1
vote
2 answers

List Received List in JSF 2.3

I have Upgrade my project from JSFContainer 2.2 to JSFContainer 2.3 filinglist has class…
Jai
  • 352
  • 2
  • 18
1
vote
1 answer

How to prettify routes in Java EE?

Facing poor documentation and guides on Internet about how to prettify routes in Java EE/Jakarta EE (version 7 or 8). I want to ask you people if you have any recommendations. I am currently using OCPsoft Rewrite, but their documentation, guides and…
robinvrd
  • 1,760
  • 12
  • 28
1
vote
2 answers

f:convertNumber on Double: ClassCastException

In JSF 2.3, I have an h:inputText to edit a Double value, which has in addition Bean-Validation constraints. The h:inputText has a f:convertNumber. When submitting the form, this leads to a ClassCastException (see below). So, it seems, that…
1
vote
0 answers

Receiving "The origin server did not find a current representation for the target resource or is not willing to disclose that one exists."

I have read this SO question, which suggests to add index.html, and I've done that, in addition to adding it in my . The error still persists. I am running TomEE 8.0.0-M1 with Java EE8 (and thus JSF 2.3), Java 11, and am running…
Mario Ishac
  • 5,060
  • 3
  • 21
  • 52