AnsweredAssumed Answered

Lazy properties: is there an example?

Question asked by hbf on Sep 27, 2007
Latest reply on Sep 29, 2007 by rdanner
Hi,

I would like to equip my content-type with a property whose value is dynamically computed ("lazy evaluation"). Is this technique being used somewhere in Alfresco? Could somebody point me to some file for an example?

My goal is to refer to the property from the JavaScript API via
mynode.properties["my:propname"]
and behind the scences my Java code is called and performs the lazy evaluation.

Thanks for any hint,
Kaspar

Outcomes