col2.setHeader(Components.createOutputText(context, "Value"));
elementProperties.getChildren().add(col2);
}
private UIComponent createLogPageContent(FacesContext context, Debug debug) {
HtmlPanelGrid panelGrid = (HtmlPanelGrid) Components.createChildComponent(context, debug, HtmlPanelGrid.COMPONENT_TYPE, "consoleContainer");
panelGrid.setStyle("width: 100%; height: 100%;");
panelGrid.setColumns(1);
panelGrid.setRowClasses("o_debugRow1, o_debugRow2");
HtmlPanelGroup toolbar = (HtmlPanelGroup) Components.createChildComponent(context, panelGrid, HtmlPanelGroup.COMPONENT_TYPE, "consoleToolbar");
addButton(context, toolbar, "clearLog", "Clear");
addButton(context, toolbar, "pauseLog", "Pause");