You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Andraschko (Jira)" <de...@myfaces.apache.org> on 2020/05/29 12:43:00 UTC
[jira] [Created] (MYFACES-4336) AUTOMATIC_EXTENSIONLESS_MAPPING
doesnt work on quarkus
Thomas Andraschko created MYFACES-4336:
------------------------------------------
Summary: AUTOMATIC_EXTENSIONLESS_MAPPING doesnt work on quarkus
Key: MYFACES-4336
URL: https://issues.apache.org/jira/browse/MYFACES-4336
Project: MyFaces Core
Issue Type: Task
Affects Versions: 2.3-next-M2
Reporter: Thomas Andraschko
Its implemented via:
facesContext.getApplication().getViewHandler().getViews(facesContext, "/",
ViewVisitOption.RETURN_AS_MINIMAL_IMPLICIT_OUTCOME).forEach(s -> {
facesServletRegistration.getRegistration().addMapping(s);
});
which actually loops the webroot in a normal environment.
I think that will be a bit tricky to implement.
Also for security reasons, we probably need to add something like a special "src/main/resources/quarkus-webroot" directory or something, to avoid auto-register of xhtml snippets from referenced JARs as views
--
This message was sent by Atlassian Jira
(v8.3.4#803005)