}
}
public void _saveWebAsset(ActionRequest req, ActionResponse res, PortletConfig config, ActionForm form, User user) throws Exception
{
UserCommentsForm userCommentForm = (UserCommentsForm) form;
UserComment userComment = new UserComment();
BeanUtils.copyProperties(userComment,userCommentForm);
//Copy additional fields
userComment.setCommentUserId(user.getUserId());
Date now = new Date();
userComment.setDate(now);
UserProxy userProxy = com.dotmarketing.business.APILocator.getUserProxyAPI().getUserProxy(userCommentForm.getUserProxy(),APILocator.getUserAPI().getSystemUser(), false);
userComment.setUserId(userProxy.getUserId());
userComment.setMethod(userCommentForm.getMethod());
userComment.setTypeComment(userCommentForm.getTypeComment());
userComment.setSubject(userCommentForm.getSubject());
userComment.setComment(userCommentForm.getComment());
UserCommentsFactory.saveUserComment(userProxy.getInode(),userComment);
}