Is it possible to disable JSF's silent behavior?

When JSF page appears parse error on System.err

and System.out

no error message is displayed. The damaged page just won't load. We spend about half of our work days trial and error in xhtml files (there are extremely obscure reasons for the failure, such as setting a CSS class attribute to a p:fileUpload

-component) and it is very inefficient (and not so much fun). Can I change this behavior to get useful error messages?

+3


source to share


1 answer


Try installing javax.faces.PROJECT_STAGE

on Developmet

. It is supposed to give you better error messages.



Read this for more information: https://weblogs.java.net/blog/driscoll/archive/2009/09/28/jsf-20-reminder-project-stage

0


source







All Articles