Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343677 - Surface element property validation in with directive presentation
Summary: Surface element property validation in with directive presentation
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Komissarchik CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2011-04-22 21:02 EDT by Ling Hao CLA
Modified: 2021-11-19 09:22 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ling Hao CLA 2011-04-22 21:02:05 EDT
Error validation for ElementProperty does not appear. 

In Sapphire sample -> IContact -> PrimaryOccupation ElementProperty, add a Service annotation which extends ModelPropertyValidationService.
Comment 1 Konstantin Komissarchik CLA 2011-04-25 15:51:44 EDT
Could you clarify where you would expect the validation to be surfaced in this scenario?
Comment 2 Ling Hao CLA 2011-04-25 17:18:32 EDT
Validation can be next to the radio button group. There are instances in which "none" is not valid.
Comment 3 Konstantin Komissarchik CLA 2011-04-26 01:34:06 EDT
Enhancement implemented. Please verify. 

Element property validation will now be shown next to controls presented by the with directive. Use @Service annotation to attach an impl of ModelPropertyValidationService or @Required to easily flag the case where the child element must exist.
Comment 4 Ling Hao CLA 2011-04-26 15:04:52 EDT
Verify validations appeared.
Verify @Required and @Service annotations working as expected