| Summary: | Generalize swiching-panel to support switching based on boolean type or simple value list | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Danny Ju <danny.ju> |
| Component: | Sapphire | Assignee: | Project Inbox <sapphire.ui-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | konstantin |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
*** This bug has been marked as a duplicate of bug 329063 *** |
Build Identifier: M20100909-0800 The switching-panel UI part currently supports two types of controllers: enum value and list selection. In use cause where property is a simple boolean, or list of simple strings, Will be useful I can do sth like this without defining a new enum type? > > <switching-panel> > <enum-controller> > <property>Remote</property> > </enum-controller> > <panel> > <key>Boolean.TRUE</key> > <content> > <separator> > <label>Remote Details</label> > </separator> > </content> > </panel> > <panel> > <key>Boolean.FALSE</key> > <content> > <separator> > <label>Local Details</label> > </separator> > </content> > </panel> > </switching-panel> > Reproducible: Always