Sunday, 22 November 2015

Creating a hello world in Alfresco

Create a file hello.get.desc.xml with the fillowing content



<webscript>
<shortname>hello world</shortname>
<discription>Hello world example</discription>
<url>/helloworld</url>
</webscript>

now create a file hello.get.html.ftl

<html>
<body>
<p>hello</p>
</body>
</html>

copy both file in /tomcat/share/extention/tamplates/webscripts

create directory /templates/webscripts if not present



No comments:

Post a Comment