view = new LogSummaryByMonthView();
registerObjectsForNavigation(blog, blog.getBlogForMonth(year, month+1));
} else if (yearAsStriing != null && yearAsStriing.length() > 0) {
cal.set(Calendar.YEAR, Integer.parseInt(yearAsStriing));
logSummary = blog.getLogger().getLogSummary(cal.get(Calendar.YEAR));
view = new LogSummaryByYearView();
} else {
// get the log for this monthAsString
logSummary = blog.getLogger().getLogSummary(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH)+1);
view = new LogSummaryByMonthView();
registerObjectsForNavigation(blog, blog.getBlogForThisMonth());