<%@ Page Language="C#" Buffer="true" CodeFile="recherche.aspx.cs" Inherits="_recherche" CodePage="65001" UICulture="fr" Culture="fr-FR" ValidateRequest="true" %> <%@ Import Namespace="ItlRuntime" %> <%@ Import Namespace="System.Collections.Generic" %> <%@ Import Namespace="System.Linq" %> <% EC.linkableClassMap = (Map) EC.newMap(new Map() , "ocsNewsEvent:news", new ClassLink("./page00013329.aspx?card=object", "linkTable.aspx?GID=00013329&card=object", "Actualité")); %><% string fulltext = (string) ((string)EC.itl.getParameterValue("string", "fulltext", "")); %> " /> Recherche générale
Trémentines

Recherche générale

<% int? numberResults = (int?) ((int?)EC.itl.getParameterValue("integer", "numberResults")); %>
<% ItlEnumerator e1 = new ItlEnumerator("G00010032_0", null, false); e1.add(new SqlEnumerator(new ItlRuntime.SQL.Collection("omc:stringList", @"SELECT this.`_oid` AS this FROM omc_stringList AS this WHERE (this.iso_sid <> '') AND (this.`_oid` <> this.`_oid`)", new ItlRuntime.SQL.Parameters(), new ItlRuntime.SQL.OrderAliases(), new ItlRuntime.SQL.OptionalOrderAliases(), null, null), @"SELECT this.`_oid` AS this FROM omc_stringList AS this WHERE (this.iso_sid <> '')", new Map(), true, (List) EC.newList(new List()), null, null)); e1.setLimit(1); ItlEnumerator foo = (ItlEnumerator) (e1); foo.reset(); if(foo.isNotEmpty()) { foo.resetGroup(); for(foo.start();foo.test();foo.fetch()) { ITL.show(foo.navigationBar(), "string", "html", "string"); } } foo.finish(); %>
id="fulltextField" type="text" name="fulltext" class="sdsSearchFulltextField"/>
style="width:20%;"> <% if(true) { string buttonClass__1 = (string) ("sdsSubmitButton"); %> type="submit" value="Rechercher" style="width:"/> <% } %>
<% if(fulltext != "") { itemCount = (int?)(ITL.gv["itemCount"] = 0);%>
Recherche dans les fichiers
<% sdsSearch.FileSearch fileSearch = (sdsSearch.FileSearch) (new sdsSearch.FileSearch("nexteo.e-magnus.fr/nexteo/")); sdsSearch.FileSearchResults results = (sdsSearch.FileSearchResults) (fileSearch.processSearch()); if(results.hasError == true) { %>
<% ITL.show(results.errorMessage, "string", "html", "string"); %>
<% } else { ItlEnumerator e7 = new ItlEnumerator("G00010032_6", null, false); e7.add(DynamicEnumerator.getDynamicEnumerator(results.list)); e7.setLimit(10); ItlEnumerator currentResult = (ItlEnumerator) (e7); currentResult.reset(); if(currentResult.isNotEmpty()) {%>

Il y a <% ITL.show(results.count(), "string", "html", "integer"); %> documents qui correspondent à vos critères de recherche.

<% ITL.show(currentResult.navigationBar(), "string", "raw", "string"); %>

<% currentResult.resetGroup(); for(currentResult.start();currentResult.test();currentResult.fetch()) { %>

<% ItlLink link8 = new ItlLink(((sdsSearch.FileSearchResult)currentResult.getCurrent()).url); link8.show(); ITL.show(((sdsSearch.FileSearchResult)currentResult.getCurrent()).doctitle, "string", "html", "string"); link8.close(); %>

<% ITL.show(((sdsSearch.FileSearchResult)currentResult.getCurrent()).characterization, "string", "html", "string"); %>

Taille : <% ITL.show(((sdsSearch.FileSearchResult)currentResult.getCurrent()).size, "string", "html", "System.Int64"); %> octets - Dernière modification : <% ITL.show(((sdsSearch.FileSearchResult)currentResult.getCurrent()).write, "string", "html", "date"); %>

<% }%>
<% } else {%>
<% } currentResult.finish(); } %>
<% if(numberResults == 0) { } %>
<% } %>