
JSF Facelets Templates and Composite Components Explained
Build JSF Facelets templates with ui:composition and ui:insert, include fragments with ui:include and write reusable composite components with cc:interface.
Managed beans, the component lifecycle, Facelets and PrimeFaces, for apps that are still running and need care.

Build JSF Facelets templates with ui:composition and ui:insert, include fragments with ui:include and write reusable composite components with cc:interface.

Fix a JSF commandButton or commandLink that does nothing: check the form, validation messages, conversion errors, nested forms, rendered and immediate.

Fix JSF input values that do not reach the bean: missing setter, request scope loss, validation failure, immediate, AJAX execute and wrong binding.

Use PrimeFaces DataTable lazy loading with LazyDataModel: paging, sorting and filtering pushed to the database through a repository query.

Use PrimeFaces dialogs in JSF: p:dialog with widgetVar, opening from the client or server, confirm dialogs, forms inside dialogs and common mistakes.

Draw bar, line and pie charts in JSF with PrimeFaces: build a ChartModel in a bean, bind p:chart, update it with AJAX, handle click events and size data.

Upload files in JSF with PrimeFaces p:fileUpload: size and type limits, UploadedFile, safe storage outside the web root and common errors.

Secure a JSF app with Jakarta Security: form authentication, an identity store, role rules in web.xml and EL, CSRF protection and session cookie settings.

Run JSF pages inside Spring Boot: the JoinFaces starter, Mojarra setup, Spring beans in EL, scopes, Spring Security login and packaging as a jar.

Use JPA safely from JSF: where to put transactions, injecting EntityManager into CDI services, avoiding lazy loading errors and handling optimistic locking.
We send one email when a new post is published. No spam.