adminfaces / admin-template

JSF responsive admin template based on Bootstrap and AdminLTE
https://adminfaces.github.io/docs/latest/#admin_template
MIT License
212 stars 101 forks source link

Replace href by outcome in error pages #152

Closed rmpestano closed 5 years ago

rmpestano commented 5 years ago
Issue Overview

In PrimeFaces 7.x p:link will not prepend application context into url anymore:

Button/Link/MenuItem: the url/href attribute doesn't automatically prepend the contextPath anymore. Use the outcome attribute for referencing JSF views in the same application or manually prepend it via #{request.contextPath}.

This breaks error pages which has link to home in admin-template, see href usage here.

Current Behaviour

Link to home page in error pages doesn't redirect use to index page in PrimeFaces 7.0.

Expected Behaviour

Link to home page in error pages should redirect to index page.

Additional Information