@Override
protected void onInitialize() {
super.onInitialize();
queryResultPanel = type == ViewType.HORIZONTAL ? new QueryResultHorizontalPanel("queryResultPanel", model)
: new QueryResultVerticalPanel("queryResultPanel", model);
add(queryResultPanel);
}