Skip to main content



      Home
Home » Eclipse Projects » JavaServer Faces » No validation of JSF tag attributes?
No validation of JSF tag attributes? [message #728472] Fri, 23 September 2011 06:31
Eclipse UserFriend
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:

  <p:inputTextarea id="comments"
    value="#{customerBean.comments}"
    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?

thanks
Mike
Previous Topic:java stack is not updated when debugging jsf (on glassfish3)
Next Topic:newbie
Goto Forum:
  


Current Time: Sun Jul 13 19:10:11 EDT 2025

Powered by FUDForum. Page generated in 0.04081 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top