Helma Logo
main list history

Version 2 by simono on 21. September 2009, 15:15

Version 1 by simono on 21. September 2009, 15:14

1in apps.properties add this to enable the app
2(it's pointing to folder ~/helloworld we create later)
3 helloworld
4 helloworld.mountpoint = /helloworld
5 helloworld.repository.1 = ~/helloworld/
6
7then create the app by creating those folders:
8
9 ~/helloworld/Root/Root.actions.js:
10
11
12and in the js file:
13
14 Root.prototype.main_action = function() {
15  res.writeln("hello world");
16  return;
17  }