public static final String RENDERTYPE = "FormDataResultInternalRenderer";
public static final String FAMILY = "at.rits.formbuilder";
@Override
public void encodeBegin(FacesContext ctx, UIComponent component) throws IOException {
FormDataResultInternal formDatasResult = (FormDataResultInternal)component;
HtmlPanelGrid panelGrid = new HtmlPanelGrid();
panelGrid.setColumns(2);
Collection<FormDataResult> formDataResults = FormDataResultFactory.getFormDataResults(formDatasResult.getFormDatas());
for(FormDataResult formDataResult : formDataResults) {
String description = formDataResult.getFormBuilderItem().getProperties().getLabel();
HtmlOutputText descriptionHtmlOutputText = new HtmlOutputText();
descriptionHtmlOutputText.setValue(description);
panelGrid.getChildren().add(descriptionHtmlOutputText);