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

Bug 432060

Summary: Readonly widget: Allow empty selector item in the selector.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 5.0   
Target Milestone: 6.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description libing wang CLA 2014-04-04 16:32:02 EDT
When the r/o widget is consumed by passing an option to render two selector in the header, we should handle the second selector so that it will show none if there is no contents from the selected first selector.
Comment 1 libing wang CLA 2014-04-04 16:39:14 EDT
fixed with http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=9e9a1af204b38fa09ac49480cf8457ad2bd16e0e.

To verify:
1. In a file system, create two folders: say folder1, folder2..
2. In the first folder, leave it empty.
3. In the second folder, create another sub folder: say folder2_1.
4 In the sub folder, create a file. Say file2_1_1
5. consume the r/o widget by passing the selector number as 2.

When the widget starts up, it shows the first folder in the first selector and the second selector shows none.
When you select folder2 in the first selector, folder2_1 shows in the second selector. And file2_1_1 shows in the section's contents.