Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330012 - [JSF2.0] False warning: JSF 2 validator IDs are marked as not registered
Summary: [JSF2.0] False warning: JSF 2 validator IDs are marked as not registered
Status: RESOLVED FIXED
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: JSF Tools (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M7   Edit
Assignee: Ian Trimble CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-11 11:15 EST by Xiaonan Jiang CLA
Modified: 2017-12-19 13:26 EST (History)
2 users (show)

See Also:
raghunathan.srinivasan: iplog-


Attachments
Patch (2.45 KB, patch)
2010-11-11 11:53 EST, Xiaonan Jiang CLA
raghunathan.srinivasan: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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