" DataSource dataSource = new DataSource();",
" dataSource.setID('testDS');",
" calendar.draw();",
" }",
"}"});
calendar.refresh();
//
GenericProperty property = (GenericProperty) calendar.getPropertyByTitle("dataSource");
ObjectPropertyEditor editor = (ObjectPropertyEditor) property.getEditor();
DataSourceInfo dataSource =
NonVisualBeanContainerInfo.get(calendar).getChildren(DataSourceInfo.class).get(0);