return null;
}
if (results.size() == 1 && results.get(0).getEntityType().getViewId() != null) {
IndexedEntity entity = results.get(0);
// TODO: Replace with Seam Faces Redirect Helper once is an BETA build
if (!conversation.isTransient()) {
conversation.end();
}
facesManager.get().viewId(entity.getEntityType().getViewId()).param("oid", entity.getEntityId()).endConversation()
.redirect();
return null;
}