How to spot mistakes in JSF pages in Netbeans

88 views Asked by At

Can anyone please tell me the best way to spot mistakes in JSF facelet xhtml files. On the Java side you have the compiler working for you, but for Facelet pages it seems to be just trial and error as far as I can make out.

I am using Netbeans IDE, which highlights some obvious syntax errors, but not all.

More challenging though is spotting a mismatch between the xhtml and the java bean. Text strings are used for "El" expressions that connect to the java bean, and it seems that any mistakes in these do not show up until run-time (and then only by failure of the expected action). Is this true?

Perhaps there are some useful tools I am missing that can do a compile-time check of the Facelet page?

0

There are 0 answers