flash("success", "Successfully imported " + successes + " of " + elir.extractors.size() + " extractors.");
return redirect(controllers.routes.ExtractorsController.manage(nodeId, inputId));
}
private static BreadcrumbList standardBreadcrumbs(Node node, Input input) {
BreadcrumbList bc = new BreadcrumbList();
bc.addCrumb("System", controllers.routes.SystemController.index(0));
bc.addCrumb("Nodes", controllers.routes.NodesController.nodes());
bc.addCrumb(node.getShortNodeId(), controllers.routes.NodesController.node(node.getNodeId()));
bc.addCrumb("Input: " + input.getTitle(), null);
bc.addCrumb("Extractors", controllers.routes.ExtractorsController.manage(node.getNodeId(), input.getId()));
return bc;
}