Пример #1
0
        public ActionResult ShowListOfMetadataNodesTitle()
        {
            List <SearchMetadataNode> SearchMetadataNode = GetMetadataNodes();

            string recieverActionName = "";
            string modelTitle         = "";

            recieverActionName = "ShowListOfMetadataNodesForTitleReciever";
            modelTitle         = "Select a node for the title";

            EntitySelectorModel model = BexisModelManager.LoadEntitySelectorModel(
                SearchMetadataNode,
                new List <string>()
            {
                "DisplayName"
            },
                new EntitySelectorModelAction(recieverActionName, "ImportMetadataStructureSetParameters", "DCM"),
                "DisplayName",
                "ImportMetadataStructureSetParameters"
                );

            model.Title = modelTitle;

            return(PartialView("_EntitySelectorInWindowView", model));
        }
Пример #2
0
        public ActionResult ShowListOfMetadataStructures()
        {
            List <ListViewItem> metadataStructures = LoadMetadataStructureViewList();

            EntitySelectorModel model = BexisModelManager.LoadEntitySelectorModel(
                metadataStructures,
                new EntitySelectorModelAction("ShowListOfMetadataStructuresReciever", "CreateDataset", "DCM"));

            model.Title = "Select a Metadata Structure";

            return(PartialView("_EntitySelectorInWindowView", model));
        }
Пример #3
0
        public ActionResult ShowListOfDatasets()
        {
            List <ListViewItem> datasets = LoadDatasetViewList();

            EntitySelectorModel model = BexisModelManager.LoadEntitySelectorModel(
                datasets,
                new EntitySelectorModelAction("ShowListOfDatasetsReciever", "CreateDataset", "DCM"));

            model.Title = "Select a Dataset as Template";

            return(PartialView("_EntitySelectorInWindowView", model));
        }
Пример #4
0
        public ActionResult ShowListOfDataStructures()
        {
            List <ListViewItemWithType> datastructures = LoadDataStructureViewList();

            EntitySelectorModel model = BexisModelManager.LoadEntitySelectorModel(
                datastructures, new List <string> {
                "Id", "Title", "Description", "Type"
            },
                new EntitySelectorModelAction("ShowListOfDataStructuresReciever", "CreateDataset", "DCM"));

            model.Title = "Select a Data Structure";

            return(PartialView("_EntitySelectorInWindowView", model));
        }