|No validation of JSF tag attributes? [message #728472]
||Fri, 23 September 2011 10:31
Registered: September 2011
Hi, hoping someone can help. |
I'm using Eclipse Indigo Java EE to develop a JSF2 based application. We're in the process of converting from one taglib library (Myfaces Trinidad) to another (Primefaces), which involves a fairly laborious process of editing each .xhtml file and converting each JSF component from one form to another.
Unfortunately, we're not seeing any validation of tag attributes so it's making it really difficult to see when we've incorrectly converted a page.
To provide an example:
cols="75" rows="6" maxlength="60000">
The primefaces tag for inputTextarea expects an attribute maxLength (uppercase 'L') - in the above example I would expect eclipse to highlight the incorrect attribute name, but it doesn't. Note that the lack of validation applies to all the tag libraries we're using, not just primefaces.
Interestingly, it does highlight incorrect attribute names for custom components that we have developed. Hence, it would seem this type of validation is there, but for some reason, not being applied to the standard tag libraries that we're using.
Does anyone know how to fix this?
Powered by FUDForum
. Page generated in 0.01758 seconds