BrixNode getFolderNode() {
return getNode();
}
};
DataGrid grid = new DataGrid("grid", source, columns) {
@Override
protected void onRowClicked(AjaxRequestTarget target, IModel rowModel) {
//((ServletWebRequest) getRequest()).setForceNewVersion(true);
BrixNode node = (BrixNode) rowModel.getObject();
Page page = getPage();
SitePlugin.get().selectNode(this, node);
getRequestCycle().setResponsePage(page);
}
};
grid.setContentHeight(30, SizeUnit.EM);
add(grid);
}