public String postComment() { Comment comment = (Comment) FrameworkUtils.resolveVariable("comment"); // $NON-NLS-1$ if (comment.save()) { FrameworkUtils.flashMessage( "confirmation", Translation.get().getValue("commentPostConfirmation")); // $NON-NLS-1$ //$NON-NLS-2$ return "xsp-success"; //$NON-NLS-1$ } return "xsp-failure"; //$NON-NLS-1$ }