<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Erreur script du certainement a l'encodage in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/erreur-script-du-certainement-a-l-encodage/m-p/73677#M48117</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bonjour, je repose ma question ici pour avoir un titre parlant.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;J'ai un javascript qui fait appel a un espace :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; var espace = companyhome.childByNamePath("SocA/Mon Espace");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Et là ça marche pas , si je renomme mon espace et que je mets &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; var espace = companyhome.childByNamePath("SocA/Espace");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Donc il aime pas les espce hors pour appelé des modèles je suis obligé d'avoir des espaces. J'ai pensé a l'encodage. Christophe m'a donné pas mal de chose, en autre modifier le server.xml de tomcat pour l'encodage mais c'était déjà fait.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Si vous avez des idées ou remarques, je suis preneur.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Merci&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Dec 2007 15:06:03 GMT</pubDate>
    <dc:creator>hlander10</dc:creator>
    <dc:date>2007-12-21T15:06:03Z</dc:date>
    <item>
      <title>Erreur script du certainement a l'encodage</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/erreur-script-du-certainement-a-l-encodage/m-p/73677#M48117</link>
      <description>Bonjour, je repose ma question ici pour avoir un titre parlant.J'ai un javascript qui fait appel a un espace : var espace = companyhome.childByNamePath("SocA/Mon Espace");Et là ça marche pas , si je renomme mon espace et que je mets  var espace = companyhome.childByNamePath("SocA/Espace");Donc il ai</description>
      <pubDate>Fri, 21 Dec 2007 15:06:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/erreur-script-du-certainement-a-l-encodage/m-p/73677#M48117</guid>
      <dc:creator>hlander10</dc:creator>
      <dc:date>2007-12-21T15:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Erreur script du certainement a l'encodage</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/erreur-script-du-certainement-a-l-encodage/m-p/73678#M48118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Voici mon idée :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Si on regarde la documentation propre à la fonction&amp;nbsp; childByNamePath(string path) (voir: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/JavaScript_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JavaScript_API&lt;/A&gt;&lt;SPAN&gt; ) l’argument path doit être compatible avec la syntaxe xpath (&lt;/SPAN&gt;&lt;A href="http://www.w3.org/TR/xpath" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/TR/xpath&lt;/A&gt;&lt;SPAN&gt;) qui elle n’aime pas les espaces.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Je me propose donc de reformuler le prédicat comme suit:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var espace = companyhome.childByNamePath("SocA/*[@cm:name=’Mon Espace’]");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;J’espère que cela vous aide.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ps: attention, l’abus d’utilisation du langage de recherche xpath peut aboutir à une dégradation des performance si l’élément courrant (point de dépard pour la rechercha) a de nombreux fils. Si c’est le cas utilisez plutôt le langage de recherché lucene(&lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Search_Documentation#Lucene_Language" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Search_Documentation#Lucene_Language&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 10:05:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/erreur-script-du-certainement-a-l-encodage/m-p/73678#M48118</guid>
      <dc:creator>pdubois</dc:creator>
      <dc:date>2008-01-09T10:05:13Z</dc:date>
    </item>
  </channel>
</rss>

