[prev in list] [next in list] [prev in thread] [next in thread] 

List:       myfaces-dev
Subject:    [jira] [Created] (MYFACES-4336) AUTOMATIC_EXTENSIONLESS_MAPPING doesnt work on quarkus
From:       "Thomas Andraschko (Jira)" <dev () myfaces ! apache ! org>
Date:       2020-05-29 12:43:00
Message-ID: JIRA.13308317.1590756168000.132929.1590756180104 () Atlassian ! JIRA
[Download RAW message or body]

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)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic