CommentManagementForm queryForm) throws RollerException {
super(titleKey, request, response, mapping);
this.queryForm = queryForm;
Roller roller = RollerFactory.getRoller();
RollerRequest rreq = RollerRequest.getRollerRequest(request);
if (rreq.getWeblogEntry() != null) {
website = rreq.getWeblogEntry().getWebsite();
weblogEntry = rreq.getWeblogEntry();
}
else if (rreq.getWebsite() != null) {
website = rreq.getWebsite();
}
WeblogManager blogmgr = roller.getWeblogManager();
int offset = queryForm.getOffset();
comments = blogmgr.getComments(
website,
weblogEntry,