if (text.length() != 0) {
Sone currentSone = getCurrentSone(request.getToadletContext());
webInterface.core().createPost(currentSone, System.currentTimeMillis(), text);
throw new RedirectException(returnPage);
}
template.set("errorTextEmpty", true);
if (text.length() != 0) {
Sone currentSone = getCurrentSone(request.getToadletContext());
webInterface.core().createPost(currentSone, System.currentTimeMillis(), text);
throw new RedirectException(returnPage);
}
template.set("errorTextEmpty", true);