https://github.com/gedmarc/guiced-servlets-jsf
JSF Integration for Guiced Injection Framework. Allows for Faces to execute through the Guice Filter
https://github.com/gedmarc/guiced-servlets-jsf
Last synced: 8 months ago
JSON representation
JSF Integration for Guiced Injection Framework. Allows for Faces to execute through the Guice Filter
- Host: GitHub
- URL: https://github.com/gedmarc/guiced-servlets-jsf
- Owner: GedMarc
- License: gpl-3.0
- Created: 2018-10-18T17:19:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-02-04T21:59:13.000Z (over 2 years ago)
- Last Synced: 2025-03-10T15:21:36.647Z (over 1 year ago)
- Language: Java
- Size: 102 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Guiced-Servlets-JSF
JSF Integration for Guiced Injection Framework. Allows for Faces to execute through the Guice Filter
To configure correctly, add the following to faces-config
```
com.jwebmp.guicedservlets.jsf.FacesApplicationFactoryWrapper
```
Remember to remove your context path from web.xml or it will be skipped
REMOVE
```
Faces Servlet
javax.faces.webapp.FacesServlet
Faces Servlet
*.jsf
Faces Servlet
*.xhtml
```
This mapping is performed through the servlet binder
You can change/add URL mappings by configuring GuicedServletJSFBindings or by mapping your own
```
module.serve$("/faces/", "/faces/*", "*.jsf", "*.faces", "*.xhtml")
.with(FacesHttpServlet.class);
```
This implementation is a merge of http://javaevangelist.blogspot.com/2013/08/jsf-2x-tip-of-day-guice-elresolver.html and https://github.com/skuzzle/guice-jsf and uses the automated configurations of guiced-servlets and guiced-injection