checkBox.setId(sCheckboxId);
checkBox.setSelected(getOpen());
checkBox.setOnclick(sbOnclick.toString());
headerTable.getChildren().add(checkBox);
HtmlOutputLabel caption = new HtmlOutputLabel();
// even label has to have unique id (for GlassFish)
caption.setId(sCheckboxId+"label");
caption.setFor(sCheckboxId);
caption.setValue(sCaption);
caption.setStyleClass("sectionCaption");
headerTable.getChildren().add(caption);
panel.getChildren().add(headerTable);
} else {
HtmlPanelGrid headerTable = new HtmlPanelGrid();
headerTable.setColumns(3);
headerTable.setStyleClass("mandatorySectionHeader");
headerTable.setSummary(msgBroker.retrieveMessage("catalog.general.designOnly"));
headerTable.setOnclick(sbOnclick.toString());
HtmlSelectBooleanCheckbox checkBox = new HtmlSelectBooleanCheckbox();
checkBox.setId(sCheckboxId);
checkBox.setSelected(getOpen());
//checkBox.setOnclick(sbOnclick.toString());
checkBox.setStyle("display:none;");
headerTable.getChildren().add(checkBox);
HtmlGraphicImage img = new HtmlGraphicImage();
img.setId(sImgId);
setGraphicUrl(img);
headerTable.getChildren().add(img);
HtmlOutputText caption = new HtmlOutputText();
caption.setValue(sCaption);
caption.setStyleClass("sectionCaption");
headerTable.getChildren().add(caption);
if (getLabel() != null) {
panel.getChildren().add(headerTable);
} else {