public class ManageExternalRegistrationDataDA extends FenixDispatchAction {
public ActionForward prepare(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
HttpServletResponse response) {
final ExternalRegistrationDataEditor bean;
if (getRenderedObject() != null) {
bean = getRenderedObject();
request.setAttribute("registration", bean.getExternalRegistrationData().getRegistration());
} else {
bean = new ExternalRegistrationDataEditor(getAndTransportRegistration(request).getExternalRegistrationData());
}
request.setAttribute("externalRegistrationDataBean", bean);
return mapping.findForward("manageExternalRegistrationData");
}