I have a controller that extends AbstractWizardFormController and I have implemented the following methods. But my referenceData method does not get invoked. Shouldn't it be invoked by the showForm() in superclass?
protected Object formBackingObject(HttpServletRequest request) throws Exception
{
long parentId = RequestUtils.getRequiredLongParameter(request, "parentId");
TranDefGroup tranDefGroup = new TranDefGroup();
tranDefGroup.setParentId(parentId);
return tranDefGroup;
}
protected Map referenceData(HttpServletRequest arg0) throws Exception
{
Map model = new HashMap();
ArrayList tranList = configurationService.getTranList();
model.put("tranList", tranList);
return model;
}


Reply With Quote