Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344109 - [client]File commands plugin - add nested validation properties.
Summary: [client]File commands plugin - add nested validation properties.
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: Malgorzata Janczarska CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-28 07:30 EDT by Malgorzata Janczarska CLA
Modified: 2011-09-01 11:41 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Malgorzata Janczarska CLA 2011-04-28 07:30:58 EDT
For visibleWhen we need to validate properties deeper that only one level in the item, for instance:
{
Git:{
	SomeGitProperty: "value1",
	SomeGitProperty2: "value2"
	}
}

to check if SomeGitProperty has value "value1" I propose separate nested keys with ":" (I think this char can't be used as key in json data), in this case:
validationProperties: {"Git:SomeGitProperty", "value1"}
Comment 1 Malgorzata Janczarska CLA 2011-04-28 07:32:33 EDT
.