* Do not rely on Java classes to implement IPathElement.

Implement all necessary features such as href() and getChildElement()
  ourselves instead.
This commit is contained in:
hns 2006-11-20 13:34:15 +00:00
parent 694139d897
commit 68db756b0e

10
DocFunction/functions.js Normal file
View file

@ -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;
}