All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dynamicextensionsalfresco.controlpanel.WebScripts.index.get.html.ftl Maven / Gradle / Ivy

Go to download

Adds an OSGi container to alfresco repository supporting dynamic code reloading, classpath isolation and a bunch of other useful features

There is a newer version: 3.1.0
Show newest version
<#import "templates/html-macros.inc.ftl" as html>
<@html.document title="Web Scripts - Dynamic Extensions" active="web-scripts">

  

Annotation Web Scripts

<#if (webScriptsByFamily?size > 0) > <#list webScriptsByFamily?keys as family> <#assign webScripts=webScriptsByFamily[family]>

${family}

<#list webScripts as webScript>
Method Format URI Handler
${webScript.method} ${webScript.defaultFormat!""}
    <#list webScript.uris as uri>
  • ${uri}
${webScript.handler!'n/a'}
<#else>

No Web Scripts found.

Web Script URI mappings

The Web Script engine caches URI mappings. Once a URI is called, it will continue to be mapped to a particular Web Script or "404 Not Found".

Calling a URI for an annotation Web Script that has, in the meantime, been undeployed, will result in a "503 Service Unavailable" response.

To clear all URI mappings, reset the Alfresco Web Script index:

Resetting the Web Script engine will also deploy any new regular Web Scripts.

Regular Web Scripts

Regular Web Scripts are listed in the Alfresco Web Script index.

Note that annotation Web Scripts do not show up in the Alfresco Web Script index. For annotation Web Scripts see the list above instead.

To deploy regular Web Scripts as Dynamic Extensions, simply include the XML, JavaScript and Freemarker resources in the OSGi bundle. For example:

  • /path/to/webscript.get.desc.xml
  • /path/to/webscript.get.js
  • /path/to/webscript.get.html.ftl

To register the Web Scripts, reset the Alfresco Web Script index.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy