<?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: Access Web Script Config file from Java B.E. Web Scripts in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/access-web-script-config-file-from-java-b-e-web-scripts/m-p/242940#M196070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;why you need that? i dont understand why you need that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With Java Back-end Web Scripts you register the web-script in web-scripts-application-context.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then you got access to Java Back-end Web Scripts&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jun 2010 13:57:26 GMT</pubDate>
    <dc:creator>toze</dc:creator>
    <dc:date>2010-06-21T13:57:26Z</dc:date>
    <item>
      <title>Access Web Script Config file from Java B.E. Web Scripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-web-script-config-file-from-java-b-e-web-scripts/m-p/242937#M196067</link>
      <description>Hello everyone,I'm writing a Java back-end web script and I'd like to leverage the Web Script Configuration (the one at Script level) in order to make my AbstractWebScript more flexible.I looked at http://wiki.alfresco.com/wiki/Web_Scripts#Web_Script_Configurationhowever there are no examples/explan</description>
      <pubDate>Mon, 14 Jun 2010 23:40:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-web-script-config-file-from-java-b-e-web-scripts/m-p/242937#M196067</guid>
      <dc:creator>cris_cc</dc:creator>
      <dc:date>2010-06-14T23:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Access Web Script Config file from Java B.E. Web Scripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-web-script-config-file-from-java-b-e-web-scripts/m-p/242938#M196068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;what configuration file are you talknig?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 11:36:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-web-script-config-file-from-java-b-e-web-scripts/m-p/242938#M196068</guid>
      <dc:creator>toze</dc:creator>
      <dc:date>2010-06-15T11:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Access Web Script Config file from Java B.E. Web Scripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-web-script-config-file-from-java-b-e-web-scripts/m-p/242939#M196069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm talking about the Web Script XML configuration file which can be located in the same folder as the Web Script description document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;helloworld.get.config.xml&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;(as mentioned in the link of my previous post)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in that post is mentioned that to read the config file you have to use this command :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;var s = new XML(config.script);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;So the config.script is available for JavaScript Web Scripts…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was trying to figure out how to achieve the same result from a Java Back-end Web Scripts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 13:32:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-web-script-config-file-from-java-b-e-web-scripts/m-p/242939#M196069</guid>
      <dc:creator>cris_cc</dc:creator>
      <dc:date>2010-06-15T13:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Access Web Script Config file from Java B.E. Web Scripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-web-script-config-file-from-java-b-e-web-scripts/m-p/242940#M196070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;why you need that? i dont understand why you need that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With Java Back-end Web Scripts you register the web-script in web-scripts-application-context.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then you got access to Java Back-end Web Scripts&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 13:57:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-web-script-config-file-from-java-b-e-web-scripts/m-p/242940#M196070</guid>
      <dc:creator>toze</dc:creator>
      <dc:date>2010-06-21T13:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Access Web Script Config file from Java B.E. Web Scripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-web-script-config-file-from-java-b-e-web-scripts/m-p/242941#M196071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Toze,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;there are two reasons 'cause I need that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. I can reuse the same configuration file across Web Script and Java Back-end Web Script&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I can apply the configuration change just Refreshing the Web Script rather than a full server restart&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However I've implemented what you mentioned so far.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I configured the bean into web-scripts-application-context.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it works but it doesn't cover any of the points mentioned above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 21:43:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-web-script-config-file-from-java-b-e-web-scripts/m-p/242941#M196071</guid>
      <dc:creator>cris_cc</dc:creator>
      <dc:date>2010-07-07T21:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Access Web Script Config file from Java B.E. Web Scripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-web-script-config-file-from-java-b-e-web-scripts/m-p/242942#M196072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Cris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;were you able to access the web script configuration from java?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Francesco&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 07:42:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-web-script-config-file-from-java-b-e-web-scripts/m-p/242942#M196072</guid>
      <dc:creator>checco</dc:creator>
      <dc:date>2013-04-12T07:42:17Z</dc:date>
    </item>
  </channel>
</rss>

