criteriaDescriptions[c] = new String[groups.length][];
if (groups.length > MAX_NOF_GROUPS){
throw new ConfigurationException("only up to " + MAX_NOF_GROUPS + " groups in a category can be displayed");
}
for (int i = 0; i < groups.length; i++) {
CriteriaGroup group = groups[i];
groupnames[c][i] = group.getGroupname();
formpropertynames[c][i] = "criterias"+c+"_"+i;
Criteria[] criterias = criteriaManager.getSortedCriterias(groups[i]);
criterianames[c][i] = new String[criterias.length];
criteriaDescriptions[c][i] = new String[criterias.length];
for (int j = 0; j < criterias.length; j++) {