- super("createReply.html", template, "Page.CreateReply.Title", webInterface);
+ super("createReply.html", template, "Page.CreateReply.Title", webInterface, true);
String text = request.getHttpRequest().getPartAsStringFailsafe("text", 65536).trim();
String returnPage = request.getHttpRequest().getPartAsStringFailsafe("returnPage", 64);
if (request.getMethod() == Method.POST) {
String text = request.getHttpRequest().getPartAsStringFailsafe("text", 65536).trim();
String returnPage = request.getHttpRequest().getPartAsStringFailsafe("returnPage", 64);
if (request.getMethod() == Method.POST) {
throw new RedirectException(returnPage);
}
template.set("errorTextEmpty", true);
throw new RedirectException(returnPage);
}
template.set("errorTextEmpty", true);