Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cargotracker-dev] Swapping to Production stage for Faces in web.xml

Hi Reza,

I was wondering if it would be possible to switch the Faces project stage from Development to Production in the web.xml. There is a fundamental difference between Mojarra (what Payara is using) and MyFaces (what Liberty uses) that is causing a repeated warning with <f:metadata>. Using the application in Production mode stops the warnings from appearing for the user. Let me know if you think that's a viable option; if not, it would be okay for me to add a section in the readme about ignoring that warning. 

<!-- Overriding system level defaults is a decent usage of XML. -->

<context-param>

<param-name>javax.faces.PROJECT_STAGE</param-name>

<param-value>Production</param-value>

</context-param>


Thanks!

Chanun

Back to the top