Blog blog = (Blog)getModel().get(Constants.BLOG_KEY);
String query = request.getParameter("query");
if (query == null || query.trim().length() == 0) {
if (blog instanceof Blog) {
return new AdvancedSearchView();
}
}
String pageAsString = request.getParameter("page");
int page = 1;