commit | d3f60cf9253e809787b53dbb36e296196e7e33ef | [log] [tgz] |
---|---|---|
author | XenoAmess <xenoamess@gmail.com> | Mon Apr 13 07:35:06 2020 +0800 |
committer | XenoAmess <xenoamess@gmail.com> | Mon Apr 13 07:35:06 2020 +0800 |
tree | 2359de8c00cb99c546e3900ef3dceaf44e039375 | |
parent | 572513217a70bbae5dd0bd8e2ea92ba514cbcffe [diff] |
add travic-ci; add travis badge to README.md you might have to trigger your project to travis-ci in page https://travis-ci.org/apache/myfaces
Apache's implementation of the JavaServer Faces (JSF) and Jakarta Faces specification
Master / 2.3-next equals the JSF 2.3 API but delegates @ManagedBeans to CDI. The implementation of the old FacesEL (javax.faces.el.*) has been completely removed.
The upcoming Jakarta Faces 3.0. It's equals to JSF 2.3 but with “jakarta.faces” packages and constants instead of “javax.faces”.
JavaServer Faces 2.3 implementation
Servlet 4.0 will enable JSF 2.3 to serve resources via HTTP/2 push.
2.3-next equals the JSF 2.3 API but delegates @ManagedBeans to CDI. The implementation of the old FacesEL (javax.faces.el.*) has been completely removed.
mvn clean install
```xml <dependency> <groupId>org.apache.myfaces.core</groupId> <artifactId>myfaces-api</artifactId> <version>2.3-next-M1</version> </dependency> <dependency> <groupId>org.apache.myfaces.core</groupId> <artifactId>myfaces-impl</artifactId> <version>2.3-next-M1</version> </dependency> ```
```xml <servlet> <servlet-name>facesServlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>facesServlet</servlet-name> <url-pattern>*.xhtml</url-pattern> </servlet-mapping> ```
```xml <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:p="http://primefaces.org/ui"> <h:head> </h:head> <h:body> Hello World! </h:body> </html> ```
Since 2.3-next a Quarkus extension is available. A sample project can be found here: https://github.com/apache/myfaces/blob/master/extensions/quarkus/showcase/