*/
@RemoteProperty public PollVote getCurrentUserVote() {
HttpServletRequest request = RequestContextUtils.getActiveRequest();
if (request != null) {
UserManager userManager = (UserManager) WebApplicationContextUtils.getBean("sessionUserManager");
DAO dao = (DAO) WebApplicationContextUtils.getBean("baseDAO");
if ((userManager!= null) && (dao != null))
return getUserVote(userManager.getActiveUser(request), request.getRemoteAddr(), dao);
}
return null;
}