public void addEmptyRootContent() { VLViewComponentXML componentXML = new VLViewComponentXML(); componentXML.setId("Content"); if (components == null) { components = new ArrayList<>(); } components.add(componentXML); }
validationConfig.setId("Validation"); validationConfig.getProperties().put("mandatory", mandatory); validationConfig.getProperties().put("minLength", minLength); formatConfig.setId("Format"); row.addSubconfg(formatConfig); row.setId(attributeId); controller.viewContext().getViewConfig().addComponentDefinition(row); rowConfig.setId("FormRow"); VLViewComponentXML rows = new VLViewComponentXML(); rows.setId("Rows"); rowConfig.addSubconfg(rows);