Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/16/13 08:57:22 (12 years ago)
Author:
fschoepp
Message:

#1888:

  • Added IVisualExtensionDao to the backend representing js extension that create new viewable elements of an algorithm.
  • Started to upgrade the frontend to render those new javascript UI extensions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OaaS/HeuristicLab.Services.Optimization.Web/Controllers/JobController.cs

    r9324 r9362  
    5757        return Content(AlgorithmConverter.ConvertRunsToJson(runs).ToString(), "application/json", System.Text.Encoding.UTF8);
    5858      }
     59
     60      [HttpGet]
     61      public ActionResult VisualExtension(string algorithmId) {
     62        var script = ControllerService.withControllerService<string>((service) => {
     63          User u = new User() { Username = Membership.GetUser().UserName, Password = Session["pw"] as string };
     64          return service.GetVisualExtension(algorithmId);
     65        });
     66        return Content(script, "text/javascript", System.Text.Encoding.UTF8);
     67      }
    5968    }
    6069}
Note: See TracChangeset for help on using the changeset viewer.