*/
@Override
protected void processTemplate(Request request, Template template) throws RedirectException {
+ super.processTemplate(request, template);
String name = "";
String requestUri = null;
String insertUri = null;
*/
@Override
protected void processTemplate(Request request, Template template) throws RedirectException {
+ super.processTemplate(request, template);
Set<Sone> localSones = webInterface.core().localSones();
template.set("sones", localSones);
if (request.getMethod() == Method.POST) {
@Override
protected void processTemplate(Request request, Template template) throws RedirectException {
setCurrentSone(request.getToadletContext(), null);
+ super.processTemplate(request, template);
throw new RedirectException("index.html");
}
* {@inheritDoc}
*/
@Override
+ protected void processTemplate(Request request, Template template) throws RedirectException {
+ super.processTemplate(request, template);
+ template.set("currentSone", getCurrentSone(request.getToadletContext()));
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
protected String getRedirectTarget(Page.Request request) {
if (requiresLogin() && (getCurrentSone(request.getToadletContext()) == null)) {
return "login.html";