articles = qr.query("select * from Article join ArticleTag on Article.id=ArticleTag.articleId where tag=? and authorId=? order by postDate desc limit ? offset ?", new BeanListHandler<Article>(Article.class),
tag, user.id, pageSize, (pg - 1) * pageSize);
Integer n = user.getTagList().get(tag);
itemCount = n == null ? 0 : n;
}
return new TemplateResult(this);
}