protected Group createInquirySection(String groupId, String headerText) {
   Group group = ComponentFactory.getGroupWithDisclosureGridLayout();
   group.setId(groupId);
   group.setHeaderText(headerText);
   group.setItems(new ArrayList<Component>());
   return group;
 }
Exemple #2
0
 /**
  * Setter for the lower group's items
  *
  * <p>Convenience method for configuration to set the items List for the lower header group
  *
  * @param items
  */
 public void setItems(List<? extends Component> items) {
   if (lowerGroup != null) {
     lowerGroup.setItems(items);
   }
 }