PrimeFaces 13.0.0-RC1 in Maven Central
Please start testing and report any bugs found with the latest release!
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 12.0.0 / PF Extensions 12.0.6
PrimeReact 9.2.3
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 12.0.0 / PF Extensions 12.0.6
PrimeReact 9.2.3
Has 'ajax' been upgraded for PF 13 on Mojarra 4.0.0.SP01 on Jakarta Faces.
Code: Select all
<p:ajax event="tabChange" listener="..." update="..." />
PF 12.0.4/13.0.0-RC1-Jakarta. Jakarta Faces 4.0.1.
Mojarra 4.0.2.SP01. OmniFaces 4.1
WildFly 28.0.1.Final 'preview' Jakarta EE 10.0.0
JDK 20.0.1, Kotlin 1.8.21, Gradle 8.1.1 Groovy DSL, MongoDB 6.0.6
IntelliJ IDEA 2023.1.2, macOS Ventura 13.4
Mojarra 4.0.2.SP01. OmniFaces 4.1
WildFly 28.0.1.Final 'preview' Jakarta EE 10.0.0
JDK 20.0.1, Kotlin 1.8.21, Gradle 8.1.1 Groovy DSL, MongoDB 6.0.6
IntelliJ IDEA 2023.1.2, macOS Ventura 13.4
Its working fine for me on Mojarra 4.X and PF 13.X.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 12.0.0 / PF Extensions 12.0.6
PrimeReact 9.2.3
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 12.0.0 / PF Extensions 12.0.6
PrimeReact 9.2.3
Code: Select all
INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Preview 28.0.1.Final (WildFly Core 20.0.2.Final) started in 2553ms - Started 304 of 546 services (322 services are lazy, passive or on-demand) - Server configuration file in use: standalone-full.xml
INFO [org.primefaces.webapp.PostConstructApplicationEventListener] (ServerService Thread Pool -- 84) Running on PrimeFaces 13.0.0-RC1
Added ...
Code: Select all
<p:ajax event="tabChange" listener="#{nOTiFYMotorcycleController.onTabChange}" update=":formNOTiFY:msgs"/>
Code: Select all
public void onTabChange(TabChangeEvent event) {
LOGGER.info(">>>>> TabChangeEvent event = {}", event);
}
Then ...
Code: Select all
WARNING [org.primefaces.component.api.UIData] (default task-1) Unable to automatically determine the `lazy` attribute, fallback to false. Either define the `lazy` attribute on the component or make sure the `value` attribute doesn't resolve to `null`. clientId: formNOTiFY:tabViewHome:dataTableMotorcycles
...
INFO [jakarta.enterprise.resource.webcontainer.faces.context] (default task-5) jakarta.el.PropertyNotFoundException: Target Unreachable, identifier 'nOTiFYMotorcycleController' resolved to null: jakarta.el.PropertyNotFoundException: Target Unreachable, identifier 'nOTiFYMotorcycleController' resolved to null
at or
Code: Select all
listener="#{tabbedView.onTabChange}": Target Unreachable
Code: Select all
SEVERE [jakarta.enterprise.resource.webcontainer.faces.context] (default task-1) jakarta.el.PropertyNotFoundException: /index.xhtml @37,107 listener="#{tabbedView.onTabChange}": Target Unreachable, identifier 'tabbedView' resolved to null: jakarta.el.PropertyNotFoundException: /index.xhtml @37,107 listener="#{tabbedView.onTabChange}": Target Unreachable, identifier 'tabbedView' resolved to null
PF 12.0.4/13.0.0-RC1-Jakarta. Jakarta Faces 4.0.1.
Mojarra 4.0.2.SP01. OmniFaces 4.1
WildFly 28.0.1.Final 'preview' Jakarta EE 10.0.0
JDK 20.0.1, Kotlin 1.8.21, Gradle 8.1.1 Groovy DSL, MongoDB 6.0.6
IntelliJ IDEA 2023.1.2, macOS Ventura 13.4
Mojarra 4.0.2.SP01. OmniFaces 4.1
WildFly 28.0.1.Final 'preview' Jakarta EE 10.0.0
JDK 20.0.1, Kotlin 1.8.21, Gradle 8.1.1 Groovy DSL, MongoDB 6.0.6
IntelliJ IDEA 2023.1.2, macOS Ventura 13.4
Yep still working fine for me in Mojarra 4.x TabView changes just fine and fires Ajax `onTabChange`.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 12.0.0 / PF Extensions 12.0.6
PrimeReact 9.2.3
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 12.0.0 / PF Extensions 12.0.6
PrimeReact 9.2.3
Are you exactly using:
Code: Select all
Jakarta EE Platform 10
WildFly 28.0.1.Final
WELD 5.1.0 (Final)
Mojarra 4.0.0.SP01
Code: Select all
INFO [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0003: Processing weld deployment NOTiFYmoto.ear
Code: Select all
package com.notifymoto.controller;
import jakarta.enterprise.context.RequestScoped;
import jakarta.faces.application.FacesMessage;
import jakarta.faces.context.FacesContext;
import jakarta.inject.Named;
import org.primefaces.event.TabChangeEvent;
import org.primefaces.event.TabCloseEvent;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Named("tabbedView")
@RequestScoped
public class TabbedView {
/**
*
*/
private static final long serialVersionUID = 1L;
/**
*
*/
private static final Logger LOGGER = LoggerFactory.getLogger(TabbedView.class);
public void onTabChange(TabChangeEvent event) {
try {
System.out.println(">>>>> onTabChange event = " + event);
FacesMessage msg = new FacesMessage("Tab Changed", "Active Tab: " + event.getTab().getTitle());
LOGGER.info(">>>>> msg = {}", msg);
FacesContext.getCurrentInstance().addMessage(null, msg);
} catch (Exception exception) {
System.out.println(">>>>>> TabChangeEvent event = " + exception);
}
}
public void onTabClose(TabCloseEvent event) {
FacesMessage msg = new FacesMessage("Tab Closed", "Closed tab: " + event.getTab().getTitle());
FacesContext.getCurrentInstance().addMessage(null, msg);
}
}
PF 12.0.4/13.0.0-RC1-Jakarta. Jakarta Faces 4.0.1.
Mojarra 4.0.2.SP01. OmniFaces 4.1
WildFly 28.0.1.Final 'preview' Jakarta EE 10.0.0
JDK 20.0.1, Kotlin 1.8.21, Gradle 8.1.1 Groovy DSL, MongoDB 6.0.6
IntelliJ IDEA 2023.1.2, macOS Ventura 13.4
Mojarra 4.0.2.SP01. OmniFaces 4.1
WildFly 28.0.1.Final 'preview' Jakarta EE 10.0.0
JDK 20.0.1, Kotlin 1.8.21, Gradle 8.1.1 Groovy DSL, MongoDB 6.0.6
IntelliJ IDEA 2023.1.2, macOS Ventura 13.4
Just tested.
Download this: https://github.com/primefaces/primeface ... change.zip
Unzip it and run `mvn clean jetty:run` and navigate to http://localhost:8080/primefaces-test
It is running Jakarta Mojarra 4.0.2 and you will see "tabChange" event fires just fine over and over.
Download this: https://github.com/primefaces/primeface ... change.zip
Unzip it and run `mvn clean jetty:run` and navigate to http://localhost:8080/primefaces-test
It is running Jakarta Mojarra 4.0.2 and you will see "tabChange" event fires just fine over and over.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 12.0.0 / PF Extensions 12.0.6
PrimeReact 9.2.3
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 12.0.0 / PF Extensions 12.0.6
PrimeReact 9.2.3
I appreciate that this works 100% on Jetty.Melloware wrote: ↑05 Jun 2023, 15:29Download this: https://github.com/primefaces/primeface ... change.zip
Unzip it and run `mvn clean jetty:run` and navigate to http://localhost:8080/primefaces-test
It is running Jakarta Mojarra 4.0.2 and you will see "tabChange" event fires just fine over and over.
But it won't run on WildFly 28.0.1 with Mojarra 4.0.0.SP01 as an EAR.
Code: Select all
WARNING [jakarta.enterprise.resource.webcontainer.faces.lifecycle] (default task-1) /index.xhtml @37,107 listener="#{tabbedView.onTabChange}": Target Unreachable, identifier 'tabbedView' resolved to null: jakarta.el.PropertyNotFoundException: /index.xhtml @37,107 listener="#{tabbedView.onTabChange}": Target Unreachable, identifier 'tabbedView' resolved to null
SEVERE [jakarta.enterprise.resource.webcontainer.faces.context] (default task-1) jakarta.el.PropertyNotFoundException: /index.xhtml @37,107 listener="#{tabbedView.onTabChange}": Target Unreachable, identifier 'tabbedView' resolved to null: jakarta.el.PropertyNotFoundException: /index.xhtml @37,107 listener="#{tabbedView.onTabChange}": Target Unreachable, identifier 'tabbedView' resolved to null
PF 12.0.4/13.0.0-RC1-Jakarta. Jakarta Faces 4.0.1.
Mojarra 4.0.2.SP01. OmniFaces 4.1
WildFly 28.0.1.Final 'preview' Jakarta EE 10.0.0
JDK 20.0.1, Kotlin 1.8.21, Gradle 8.1.1 Groovy DSL, MongoDB 6.0.6
IntelliJ IDEA 2023.1.2, macOS Ventura 13.4
Mojarra 4.0.2.SP01. OmniFaces 4.1
WildFly 28.0.1.Final 'preview' Jakarta EE 10.0.0
JDK 20.0.1, Kotlin 1.8.21, Gradle 8.1.1 Groovy DSL, MongoDB 6.0.6
IntelliJ IDEA 2023.1.2, macOS Ventura 13.4
Then I would contact Jboss Wildfly support as we have proven it is not...
A) a Mojarra 4.x issue
B) a PrimeFaces 12 or 13 issue
So the only place the issue can be is either with your code or with Wildfly....
So there is no reason to post about it anymore here as we have proven over and over its NOT a PrimeFaces or Mojarra issue.
A) a Mojarra 4.x issue
B) a PrimeFaces 12 or 13 issue
So the only place the issue can be is either with your code or with Wildfly....
So there is no reason to post about it anymore here as we have proven over and over its NOT a PrimeFaces or Mojarra issue.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 12.0.0 / PF Extensions 12.0.6
PrimeReact 9.2.3
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 12.0.0 / PF Extensions 12.0.6
PrimeReact 9.2.3
-
- Information
-
Who is online
Users browsing this forum: No registered users and 34 guests