use of org.activityinfo.ui.client.component.form.subform.RepeatingSubFormPanel in project activityinfo by bedatadriven.
the class FormWidgetCreator method createSubformPanel.
public SubFormPanel createSubformPanel(FormClass subForm, int depth, RelevanceHandler relevanceHandler, PanelFiller filler) {
final SubFormPanel panel;
if (subForm.getSubFormKind() == SubFormKind.REPEATING) {
panel = new RepeatingSubFormPanel(subForm, model);
} else {
panel = new PeriodSubFormPanel(model, subForm, relevanceHandler, filler, depth);
}
subformPanels.put(subForm, panel);
return panel;
}
Aggregations