public class CategoryBrowserPage extends BasePage {
private static final long serialVersionUID = -3418218005629173956L;
public CategoryBrowserPage() {
try {
add(new CategoryListPanel("categoryList", "Categories"));
} catch (SimalRepositoryException e) {
UserReportableException error = new UserReportableException(
"Unable to get categories from the repository",
CategoryBrowserPage.class, e);
setResponsePage(new ErrorReportPage(error));