Computed constants.
Hi Maurice, congratulations for the final release!
I still had lots of errors from the SVN version of a couple of days ago,
but I'm gonna try this one.
I was reading the updated documentation and I found the section about
constants.
I understand that you can index "custom" mappings to a domain instance,
that's very useful.
What I was wondering is whether those constant mappings could be
computed. That is, computed out of other properties (for example a
concatenation of two properties, or maybe a substring of one of them
plus the temperature in Madagascar at that time... some crazy example :-))
Maybe it could accept a clousre, like:
constant name: "myComputed" , value: {
"bla"+tempMadagascar+(someProp*3) }
I guess those constants are indexed when the object is saved/updated, so
all the values are already there.
BarZ
Maurice Nicholson wrote:
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email