Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364366 - ValidationPropertiesLibrary needs to be supported
Summary: ValidationPropertiesLibrary needs to be supported
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Justin Spadea CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-21 11:00 EST by broy2 CLA
Modified: 2017-02-23 14:15 EST (History)
1 user (show)

See Also:


Attachments
EDT (71.65 KB, image/png)
2011-11-21 11:00 EST, broy2 CLA
no flags Details
RBD (82.02 KB, image/png)
2011-11-21 11:02 EST, broy2 CLA
no flags Details

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