Free cookie consent management tool by TermsFeed Policy Generator

Changeset 6271


Ignore:
Timestamp:
05/24/11 23:29:21 (14 years ago)
Author:
dkahn
Message:

#1433 Fixed missing files and debugged and fixed a null pointer exception on AlgorithmClass.Description that was caused by invalid values coming from webservice

Location:
branches/WebApplication/MVC2/HLWebOKBAdminPlugin
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • branches/WebApplication/MVC2/HLWebOKBAdminPlugin/HLWebOKBAdminPlugin.csproj

    r6246 r6271  
    113113  <ItemGroup>
    114114    <Content Include="Global.asax" />
    115     <None Include="Properties\DataSources\HLWebPluginHost.OKBAdministrationService.Algorithm.datasource" />
    116     <None Include="Properties\DataSources\HLWebPluginHost.OKBAdministrationService.AlgorithmClass.datasource" />
    117     <None Include="Properties\DataSources\HLWebPluginHost.OKBAdministrationService.Platform.datasource" />
    118     <None Include="Properties\DataSources\HLWebPluginHost.OKBAdministrationService.Problem.datasource" />
    119     <None Include="Properties\DataSources\HLWebPluginHost.OKBAdministrationService.ProblemClass.datasource" />
    120115    <EmbeddedResource Include="Views\Admin\Menu.ascx" />
    121116    <None Include="Service References\OKBAdministrationService\AdministrationService.disco" />
     
    184179    <Content Include="Views\Web.config" />
    185180    <None Include="Service References\OKBAdministrationService\AdministrationService.wsdl" />
    186     <None Include="Service References\OKBAdministrationService\AdministrationService.xsd">
    187       <SubType>Designer</SubType>
    188     </None>
    189181    <None Include="Service References\OKBAdministrationService\AdministrationService1.xsd">
    190182      <SubType>Designer</SubType>
     
    200192    <Folder Include="App_Data\" />
    201193    <Folder Include="App_LocalResources\" />
     194    <Folder Include="Properties\DataSources\" />
    202195    <Folder Include="Resources\" />
    203196    <Folder Include="ViewModels\" />
     
    208201  <ItemGroup>
    209202    <WCFMetadataStorage Include="Service References\OKBAdministrationService\" />
     203  </ItemGroup>
     204  <ItemGroup>
     205    <None Include="Service References\OKBAdministrationService\AdministrationService.xsd">
     206      <SubType>Designer</SubType>
     207    </None>
    210208  </ItemGroup>
    211209  <Choose>
  • branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/Admin/Menu.ascx

    r6246 r6271  
    33<ul>
    44<li <% if(Session["SelectedSubMenu"] == "AlgorithmClass") {%> class="selected" <%}%>>
    5     <%: Html.ActionLink("AlgorithmClass", "Index", "AlgorithmClassPlgin")%>
     5    <%: Html.ActionLink("AlgorithmClass", "Index", "AlgorithmClass")%>
    66</li>
    77<li <% if(Session["SelectedSubMenu"] == "Algorithm") {%> class="selected" <%}%>>
  • branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/AlgorithmClass/Index.aspx

    r6244 r6271  
    1 <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
     1<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
     2
     3<%@ Import Namespace="HLWebOKBAdminPlugin.Models" %>
     4<%@ Import Namespace="HLWebOKBAdminPlugin.OKBAdministrationService" %>
     5
    26
    37<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    4   Index
     8    Index
    59</asp:Content>
    610
    711<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    812
    9     <h2>Index</h2>
     13    <h2>AlgorithmClass</h2>
    1014
     15<%  long? id = null;  %>
     16    <%: Html.ActionLink("New AlgorithmClass", "Detail", new {id}) %>
     17    <%: Html.ActionLink("Order ASC", "SortAsc")%>
     18    <%: Html.ActionLink("Order DESC", "SortDesc")%>
     19
     20    <div style="height:150px; overflow:scroll;">
     21        <table>
     22            <!--// We get this from the Controller (Index)-->
     23            <% foreach (AlgorithmClass p in ((AlgorithmClassModel)Model).AlgorithmClasses) {  %>
     24            <tr>
     25                <td>
     26                    <%: Html.Label(p.Name)%>
     27                </td>
     28                <td>
     29                    <%: Html.Label(p.Description) %>
     30                </td>
     31                <td>
     32                    <%: Html.ActionLink("detail", "Detail", new { p.Id })%>
     33                </td>
     34                <td>
     35                    <%: Html.ActionLink("delete", "Delete",new {p.Id}) %>
     36                </td>
     37            </tr>
     38            <% } %>
     39        </table>
     40    </div>       
    1141</asp:Content>
  • branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Web.config

    r6246 r6271  
    142142          </security>
    143143        </binding>
     144        <binding name="AdministrationService4" closeTimeout="00:01:00"
     145          openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
     146          bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
     147          maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text"
     148          textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
     149          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
     150            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
     151          <reliableSession ordered="true" inactivityTimeout="00:10:00"
     152            enabled="false" />
     153          <security mode="Message">
     154            <transport clientCredentialType="Windows" proxyCredentialType="None"
     155              realm="" />
     156            <message clientCredentialType="UserName" negotiateServiceCredential="true"
     157              algorithmSuite="Default" />
     158          </security>
     159        </binding>
    144160      </wsHttpBinding>
    145161    </bindings>
     
    173189        </identity>
    174190      </endpoint>
     191      <endpoint address="http://services.heuristiclab.com/OKB.SPR-3.3/AdministrationService.svc"
     192        binding="wsHttpBinding" bindingConfiguration="AdministrationService4"
     193        contract="OKBAdministrationService.IAdministrationService" name="AdministrationService4">
     194        <identity>
     195          <certificate encodedValue="AwAAAAEAAAAUAAAAwK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ==" />
     196        </identity>
     197      </endpoint>
    175198    </client>
    176199  </system.serviceModel>
Note: See TracChangeset for help on using the changeset viewer.