}
public Collection<SubPanel> getSubPanels() {
if (subPanels == null) {
subPanels = new ArrayList<SubPanel>();
SubPanel item;
HtmlOutputText tabValue;
HtmlOutputText containerValue;
item = new SubPanel();
tabValue = new HtmlOutputText();
tabValue.setId("otext1");
tabValue.setValue("tab1");
item.setId("tabbbedPaneItem1");
item.getFacets().put("caption", tabValue);
containerValue = new HtmlOutputText();
containerValue.setId("otext2");
containerValue.setValue("content 1");
item.getChildren().add(containerValue);
subPanels.add(item);
item = new SubPanel();
tabValue = new HtmlOutputText();
tabValue.setId("otext3");
tabValue.setValue("tab2");
item.setId("tabbbedPaneItem2");
item.getFacets().put("caption", tabValue);
DateChooser dateChooser = new DateChooser();
dateChooser.setId("dc");
item.getChildren().add(dateChooser);
subPanels.add(item);
item = new SubPanel();
tabValue = new HtmlOutputText();
tabValue.setId("otext4");
tabValue.setValue("tab3");
item.setId("tabbbedPaneItem3");
item.getFacets().put("caption", tabValue);
containerValue = new HtmlOutputText();
containerValue.setId("otext5");
containerValue.setValue("content 3");
item.getChildren().add(containerValue);
subPanels.add(item);
}
return subPanels;
}