Repository r = getRepository();
final String blobPath = WicketUtils.getPath(params);
String [] encodings = getEncodings();
if (StringUtils.isEmpty(objectId) && StringUtils.isEmpty(blobPath)) {
throw new RedirectException(TreePage.class, WicketUtils.newRepositoryParameter(repositoryName));
}
if (StringUtils.isEmpty(blobPath)) {
// blob by objectid