08-13-2008 03:51 PM
protected Map<String, Object> executeImpl(WebScriptRequest req, WebScriptStatus status) {
…
// put this object as well, so the javascript can
// access it's public methods
model.put("oJavaParent", this);
…
}
Then in the Java-backed web script ( javascript) I can call methods like this and it works. var x = oJavaParent.mypublicmethod(s);
I assume this would really speed up things like string formatting and concatenation that need to be called frequently. Unless there is a cost to the javascript-java bridging. I don't know how one would profile it.
08-13-2008 06:19 PM
08-13-2008 06:30 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.