JSF – using javax faces. PROJECT_ STAGE

I want to understand the impact of the "javax. Faces. Project_stage" attribute of a JSF application The following link describes a good use case

http://css.dzone.com/news/jsf-20-new-feature-preview-ser http://www.java-tutorial.ch/java-server-faces/jsf-project-stage

There are other uses besides providing validation error messages. Is this property really helpful? I understand that we can check this variable to identify the environment and change some functions, but what else can JSF automatically help developers? Would it be great if you could share your project experience?

Solution

Setting this parameter to develop better error messages, including in client JavaScript, at the expense of some performance

Setting this parameter to production will close some error messages and emphasize performance

Resource: JSF 2.0 reminder: project stage

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>