Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330012

Summary: [JSF2.0] False warning: JSF 2 validator IDs are marked as not registered
Product: [WebTools] Java Server Faces Reporter: Xiaonan Jiang <xiaonan_jiang>
Component: JSF ToolsAssignee: Ian Trimble <ian.trimble>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: raghunathan.srinivasan, yurykats
Version: unspecifiedFlags: raghunathan.srinivasan: iplog-
Target Milestone: 3.3 M7   
Hardware: PC   
OS: Windows XP   
See Also: https://git.eclipse.org/r/114271
https://git.eclipse.org/c/jsf/webtools.jsf.git/commit/?id=638c3c1439097154d7087e494b3678f497ad8815
Whiteboard:
Attachments:
Description Flags
Patch raghunathan.srinivasan: iplog+

Description Xiaonan Jiang CLA 2010-11-11 11:15:40 EST
Build Identifier: wtp 3.2

If using a JSF 2 validator in the <f:validator> tag, the validator will mark it as warning:

   'javax.faces.RegularExpression' validator id is is not registered.

BTW, there is a typo in the warning message:
   "is is" should be "is".

Reproducible: Always

Steps to Reproduce:
1. Create a JSF 2.0 project and a facelet page
2. Copy the following
   <h:form>
	<h:inputText>
	<f:validator validatorId="javax.faces.RegularExpression"></f:validator>
	</h:inputText>
</h:form>
3. Save the page
Comment 1 Xiaonan Jiang CLA 2010-11-11 11:53:26 EST
Created attachment 182918 [details]
Patch

Added in the ImplicitRuntimeJSFAppConfigProvider. Not sure whether this will affect any of your tooling for JSF 1.x.

Also cover the problem of EnumConverter.
Comment 2 Ian Trimble CLA 2011-03-14 16:04:25 EDT
Fix submitted at 2011/03/14 01:03PM PDT. (Metadata tests updated to match.)
Comment 3 Eclipse Genie CLA 2017-12-18 20:16:51 EST
New Gerrit change created: https://git.eclipse.org/r/114271