* The Sone web interface
*/
public BackupProfilePage(Template template, WebInterface webInterface) {
- super("backupProfile.html", template, "Page.BackupProfile.Title", webInterface);
+ super("backupProfile.html", template, "Page.BackupProfile.Title", webInterface, true);
}
//
@Override
public Response handleRequest(Request request) {
StringWriter stringWriter = new StringWriter();
+ template.set("currentSone", getCurrentSone(request.getToadletContext()));
try {
template.render(stringWriter);
} finally {
return response;
}
- //
- // SONETEMPLATEPAGE METHODS
- //
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected boolean requiresLogin() {
- return true;
- }
-
}