diff --git a/DocFunction/functions.js b/DocFunction/functions.js new file mode 100644 index 00000000..eafd288c --- /dev/null +++ b/DocFunction/functions.js @@ -0,0 +1,10 @@ +/** + * Method used by Helma for URL composition. + */ +function href(action) { + var base = this.getParentElement().href() + + this.getElementName() + "/"; + return action ? base + action : base; +} + +