Community
Participate
Working Groups
using the wtp 3.0 m4 candidate build The jsf semantics validator attempts to validate every resource (files, folders). Looking in jsf.core/plugin.xml, it looks like JSFNonELAttributeValueValidator has no filters. Shouldn't it at least have the same filters as the JSP validators?
(In reply to comment #0) > using the wtp 3.0 m4 candidate build > The jsf semantics validator attempts to validate every resource (files, > folders). Looking in jsf.core/plugin.xml, it looks like > JSFNonELAttributeValueValidator has no filters. Shouldn't it at least have the > same filters as the JSP validators? Just verified this. We were under the impression that the contentTypeBinding option would restrict us to only jsp and jsp fragment files. Filters based on file extension don't make a lot sense because the user can effectly use anything at runtime that they want; this is especially true as move to view definition metadata other than JSP (this is coming in the JSF 2.0 spec). As it stands, the validator normally exits immediately if the file being loaded doesn't have a JSP DOM model associated. I will try and add the facet enabled test though to ensure that it only gets run if the JSF facet is present.
Triaged for 3.0
Issue is fixed. The validator does a facet check when it is called and returns immediately if the resource being validated does not belong to a JSF project.
verified in wtp3.0M7 20080502091049 sdk