PanelConfig test = context.lookupPanelConfig("test");
assertNotNull(test);
context.push(test); // --> /panel
ParamConfig param = context.lookupParamConfig("param");
assertNotNull(param);
assertEquals("test.param", param.getValue());
PanelConfig panel = context.lookupPanelConfig("panel");
assertNotNull(panel);
context.push(panel); // --> /panel/panel
param = context.lookupParamConfig("param");
assertNotNull(param);
assertEquals("test.panel.param", param.getValue());
context.pop(); // --> /panel
ListConfig list = context.lookupListConfig("list");
assertNotNull(list);
Iterator items = list.getItemConfigs();
assertTrue(items.hasNext());
ItemConfig item = (ItemConfig)items.next();
context.push(item); // --> /panel/item
param = context.lookupParamConfig("param");
assertNotNull(param);
assertEquals("test.item.param", param.getValue());
panel = context.lookupPanelConfig("panel");
assertNotNull(panel);
context.push(panel); // --> /panel/item/panel
param = context.lookupParamConfig("param");
assertNotNull(param);
assertEquals("test.item.panel.param", param.getValue());
context.pop(); // --> /panel/item
context.pop(); // --> /panel
assertTrue(items.hasNext());
item = (ItemConfig)items.next();
context.push(item); // --> /panel/item
param = context.lookupParamConfig("param");
assertNotNull(param);
assertEquals("test.param", param.getValue());
panel = context.lookupPanelConfig("panel");
assertNotNull(panel);
context.push(panel); // --> /panel/item/panel
param = context.lookupParamConfig("param");
assertNotNull(param);
assertEquals("test.panel.param", param.getValue());
context.pop(); // --> /panel/item
context.pop(); // --> /panel
context.pop(); // --> /