Vincent
What is the simplest way to define a non persistent attribute for an entity. With just a getter and a setter.
Regards
Pierre
Vincent
What is the simplest way to define a non persistent attribute for an entity. With just a getter and a setter.
Regards
Pierre
Hi Pierre,
You can just use an extension (e.g. EmployeeExtension, which is stateful). Implement the accessors in the extension, declare the property as computed using this extension and mark it "delegateWritable=true" so that Jspresso does not consider it as a read-only computed property.
Hope this helps,
Vincent
Vincent,
"delegateWritable=true"
The missing piece! Thanks.
Pierre