Uses of javax.faces.PROJECT_STAGE

后端 未结 5 1743
灰色年华
灰色年华 2020-12-06 04:22

I wanted to understand impact of \'javax.faces.PROJECT_STAGE\' property for a JSF application. A nice use case was presented in below links

https://dzone.com/article

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-06 05:06

    When we setting the PROJECT_STAGE as production we will get better error message, for example when we missed h:form tag around input fields then we may get following error message when stage is set as Development and when the stage is set as Production (or any value other than Development) we won't get any error message.

    The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within

提交回复
热议问题