} else if ("BundleGroup".equals(currentPath)) {
// set new bundle detail if we are changing detail
if (!nextViewPath.getCurrent().equals(currentBundleGroupViewId)) {
// only cache the bundle id if bundle detail is the target view
currentBundleGroupViewId = nextViewPath.isEnd() ? nextViewPath.getCurrent() : null;
bundleGroupView = new BundleGroupEditView(globalPermissions, Integer.parseInt(nextViewPath
.getCurrent().getPath()));
bundleView = null;
currentBundleViewId = null;
}
setContent(bundleGroupView);