Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/20/12 13:00:30 (12 years ago)
Author:
fschoepp
Message:

#1888:

  • Web project now creates custom html for each type we want to enter / display
  • Added endpointConfigurationName to HiveServiceLocator (because Web Project contains more than one endpoint configuration)
  • Removed logging statement from ConfigurationService to prevent exception during failure of loading ConfigurationSettings
  • ApplicationManager: Changed default implementation to WebApplicationManager (instead of LightWeight) for testing purposes within Web Project
  • WebApplicationManager: The application manager which returns plugin descriptors from the currently loaded assemblies (instead of LightweightAppManager)
  • HiveService: Fixed a transaction bug
  • IControllerService: Created a method to dispatch Scenarios to certain IScenarioManager (in this case HiveScenarioManager)
  • Added more mappable types to ControllerModel
  • PlaceholderControllerService dispatches all Scenarios to the HiveScenarioManager
  • Web project now dispatches the scenario to the controller after pressing "Run Job"
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Optimization/ProblemParameters.cshtml

    r8384 r8506  
    1 @model HeuristicLab.Services.Optimization.ControllerService.Model.OptimizationScenario
     1@model HeuristicLab.Services.Optimization.ControllerService.Model.InputParameters
    22
    33@{
     
    1010    @Html.ValidationSummary(true)
    1111    <fieldset>
    12     @foreach (var itm in Model.InputParameters) {
    13         <div class="editor-label">
    14             @Html.Label(itm.Name, itm.Name)
    15         </div>
    16         <div class="editor-field">
    17           @switch(itm.Type) {
    18             case HeuristicLab.Services.Optimization.ControllerService.Model.ParameterType.Decimal:
    19             case HeuristicLab.Services.Optimization.ControllerService.Model.ParameterType.Integer:
    20               @Html.Raw(Html.TextBoxFor(model => ((HeuristicLab.Services.Optimization.ControllerService.Model.DecimalValue)itm.Value).Value).ToString().Replace("Value", itm.Name));
    21               break;
    22             case HeuristicLab.Services.Optimization.ControllerService.Model.ParameterType.Boolean:
    23               //@Html.CheckBoxFor(model => itm.Value);
    24               break;
    25             default:               
    26               @Html.EditorFor(model => itm.Value, new { id = itm.Name });
    27               break;
    28           }
    29         </div>
    30     }
     12    @Html.EditorFor(model => Model)
    3113    <p>
    3214        <input type="submit" value="Proceed to algorithm parameters" />
Note: See TracChangeset for help on using the changeset viewer.