<?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 Re: Java backed Wscript calling JS script referenceError on args in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-wscript-calling-js-script-referenceerror-on-args/m-p/164607#M118340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Variables named after the keys of the map are usable in the jscript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My script is fetched through the classpath, it seems to need a server restart to use the latest version of the JS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Although this is not true for the java class, as seen in debug mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use JbossAS 405 launched in eclipse in debug mode, classes and JS copied (using ant) directly in alfresco/web-inf/classes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this wil help someone. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jerome&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jun 2008 10:30:08 GMT</pubDate>
    <dc:creator>jbaton</dc:creator>
    <dc:date>2008-06-11T10:30:08Z</dc:date>
    <item>
      <title>Java backed Wscript calling JS script referenceError on args</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-wscript-calling-js-script-referenceerror-on-args/m-p/164606#M118339</link>
      <description>Hi,My goal is to create a user and assign him to a group.To do that, I did a java-backed webscript where the user is created. But, as I couldn't find the API to assign the user to a group, I thought I could call a JS script using this codeString group, user;…Map&amp;lt;String, Object&amp;gt; params= new Has</description>
      <pubDate>Wed, 11 Jun 2008 08:43:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-wscript-calling-js-script-referenceerror-on-args/m-p/164606#M118339</guid>
      <dc:creator>jbaton</dc:creator>
      <dc:date>2008-06-11T08:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Java backed Wscript calling JS script referenceError on args</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-wscript-calling-js-script-referenceerror-on-args/m-p/164607#M118340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Variables named after the keys of the map are usable in the jscript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My script is fetched through the classpath, it seems to need a server restart to use the latest version of the JS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Although this is not true for the java class, as seen in debug mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use JbossAS 405 launched in eclipse in debug mode, classes and JS copied (using ant) directly in alfresco/web-inf/classes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this wil help someone. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jerome&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 10:30:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-wscript-calling-js-script-referenceerror-on-args/m-p/164607#M118340</guid>
      <dc:creator>jbaton</dc:creator>
      <dc:date>2008-06-11T10:30:08Z</dc:date>
    </item>
  </channel>
</rss>

