IterationService iterationService = AgilePlanningObjectFactory.getIterationService();
// find the iteration... if needed
if (StringUtils.isNotEmpty( (String) request.getParameter("persistanceId"))) {
Iteration iteration = iterationService.findByPersistanceId(Integer.parseInt((String)request.getParameter("persistanceId")));
// populate the form
IterationForm iterationForm = (IterationForm) form;
iterationForm.setEndDate(iteration.getEndDate());