if (isCancelled(request)){
return mapping.findForward(BaseConstants.FWD_CANCEL);
}
ClassNewsForm cnForm = (ClassNewsForm)form;
ClassNewsVO cnVO = new ClassNewsVO();
BeanUtils.copyProperties(cnVO, cnForm);
cnVO.setLastModifiedBy(getLastModifiedBy(request));
cnVO.setAuthorId(getCurrentUserId(request));
classNewsService.save(cnVO);
ActionMessages errors = new ActionMessages();
errors.add(BaseConstants.INFO_KEY, new ActionMessage("message.classnewssubmitted"));
saveMessages(request, errors);
return mapping.findForward(BaseConstants.FWD_SUCCESS);