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

Bug 364366

Summary: ValidationPropertiesLibrary needs to be supported
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Justin Spadea <jspadea>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
EDT
none
RBD none

Description broy2 CLA 2011-11-21 11:00:45 EST
Created attachment 207313 [details]
EDT

Open gallery.validation.ValidationDemo in org.eclipse.edt.rui.samples_0.7.0.
Preview.
Click Submit.
Don't get the correct errors on User name and Password.
Don't get any errors on the other fields.
Should have 8 errors.
Screen shots of RBD and EDT attached.
Comment 1 broy2 CLA 2011-11-21 11:02:38 EST
Created attachment 207314 [details]
RBD
Comment 2 broy2 CLA 2011-11-21 11:05:27 EST
It also let me submit and create the account with only the User name and Password.
There are 6 other fields that are required.
Comment 3 Justin Spadea CLA 2011-11-21 13:49:24 EST
Here's the problems:

1. DataItem is not supported in EDT, so the annotations are not available on the field. For now, put the annotations directly on the field and not on a DataItem.

2. ValidationPropertiesLibrary is not supported in 0.7. We'll add it in the next release. For now you will get default error messages and the ValidationPropertiesLibrary setting will be ignored.
Comment 4 Justin Spadea CLA 2012-01-05 14:11:24 EST
Modified/Added:

[widgets]
MVC.egl

[jsgen]
MVCTemplate.java

[compiler]
IProblemRequestor.java
EGLValidationResources.properties
ValidationPropertiesLibraryAnnotationTypeBinding.java
ValidationPropertiesLibraryAnnotationValidator.java
Comment 5 Lisa Lasher CLA 2012-03-30 18:34:36 EDT
close