if (nextViewId != null) {
if (nextViewId.getPath().equals("recipe")) {
tabs.selectTab(0);
} else if (nextViewId.getPath().equals("deployments")) {
tabs.selectTab(1);
} else if (nextViewId.getPath().equals("files")) {
tabs.selectTab(2);
} else {
// should we throw an exception? someone gave a bad URL; just bring them to first tab
tabs.selectTab(0);