Melloware created MYFACES-4573:
----------------------------------

             Summary: Quarkus Native: Register web.xml and error pages
                 Key: MYFACES-4573
                 URL: https://issues.apache.org/jira/browse/MYFACES-4573
             Project: MyFaces Core
          Issue Type: Improvement
          Components: Extension Feature
    Affects Versions: 4.0.0-RC5, 2.3-next-M7
            Reporter: Melloware


When running in Quarkus Native mode only:
 # resources in /META-INF/resources are registered which means 
`META-INF/web.xml` is not included but needs to be.
 # Resource registered in error pages must be registered with Reflection so 
things like OmniFacesExceptionHandler and PrimeExceptionHanlder can handle them 
and display them in EL  on pages.

 
{code:java}
    <error-page>
        <exception-type>java.lang.Throwable</exception-type>
        <location>/error.xhtml</location>
    </error-page>
    <error-page>
        
<exception-type>javax.faces.application.ViewExpiredException</exception-type>
        <location>/viewExpired.xhtml</location>
    </error-page>
    <error-page>
        <error-code>404</error-code>
        <location>/error.xhtml</location>
    </error-page> {code}
 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to