[ 
https://issues.apache.org/jira/browse/MYFACES-4573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Melloware resolved MYFACES-4573.
--------------------------------
    Resolution: Fixed

> 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: 2.3-next-M7, 4.0.0-RC5
>            Reporter: Melloware
>            Assignee: Melloware
>            Priority: Major
>             Fix For: 2.3-next-M8, 4.0.0-RC6
>
>
> 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