L.S.,

How can I access a node's version history in ESP?  Right now, I have...
<% history = currentNode.getVersionHistory();
  out.println(history);
  versions = history.getAllVersions();
  out.println(versions); %>

The first println shows a VersionHistory object instance, but the subsequent call to getAllVersions() yields a "org.mozilla.javascript.EcmaError: TypeError: getAllVersions is not a function, it is org.mozilla.javascript.Undefined."

Shouldn't I be able to access a standard Java object from within the ESP or do I have to add another ScriptableXyz class to get this done?


Thanks in advance,

Gert

Reply via email to