Calling href() on Java objects does indeed work. The problem
was that getParentElement() method in Application always returned null (due to a very hard to find bug in helma.main.Server).
This commit is contained in:
parent
b46c2f1f4f
commit
c8be51599b
1 changed files with 0 additions and 13 deletions
|
@ -8,19 +8,6 @@ function constructor(name) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* overrides the internal href-function, as
|
|
||||||
* helma.framework.core.Application.getNodeHref(Object,String)
|
|
||||||
* isn't able to compute correct urls for non-node objects.
|
|
||||||
* @arg action of application
|
|
||||||
*/
|
|
||||||
function href(action) {
|
|
||||||
var url = getProperty("baseURI");
|
|
||||||
url = (url==null || url=="null") ? "" : url;
|
|
||||||
url += this.name + "/" + ( (action!=null && action!="") ? action : "main" );
|
|
||||||
return url;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* return true/false to determine if application is running
|
* return true/false to determine if application is running
|
||||||
|
|
Loading…
Add table
Reference in a new issue