* The Sone web interface
*/
public ViewPostPage(Template template, WebInterface webInterface) {
- super("viewPost.html", template, "Page.ViewPost.Title", webInterface);
+ super("viewPost.html", template, "Page.ViewPost.Title", webInterface, false);
}
//
protected void processTemplate(Request request, Template template) throws RedirectException {
super.processTemplate(request, template);
String postId = request.getHttpRequest().getParam("post");
- Post post = webInterface.core().getPost(postId);
+ Post post = webInterface.getCore().getPost(postId);
template.set("post", post);
}
- //
- // SONETEMPLATEPAGE METHODS
- //
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected boolean requiresLogin() {
- return true;
- }
-
}