if ("Bundle".equals(currentPath)) {
// set new bundle detail if we are changing detail
if (!nextViewPath.getCurrent().equals(currentBundleViewId)) {
// only cache the bundle id if bundle detail is the target view
currentBundleViewId = nextViewPath.isEnd() ? nextViewPath.getCurrent() : null;
bundleView = new BundleView(globalPermissions);
bundleGroupView = null;
currentBundleGroupViewId = null;
}
setContent(bundleView);
bundleView.renderView(nextViewPath);