Re: read-only binding

2016-02-04 Thread Chuck Hill
No, he is talking about a binding in a .wo template. There is no “read only” setting in the API file. I’ve always done the "empty do-nothing setter” thing and documented why in a comment. On 2016-02-04, 1:29 PM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of The

read-only binding

2016-02-04 Thread OC
Hello there, probably another 101, but strangely, I can't find a solution*: can I declare somehow that a particular binding should be R/O, i.e., that sub-component pulls the value when page is generated, but never tries to push the value back? Of course I can work-around by writing an empty do-

Re: check whether a relationship is empty, efficiently

2016-02-04 Thread Ramsey Gurley
I’ve done this before with a derived attribute to count to many relationship objects. https://github.com/nullterminated/ponder/blob/master/ERR2d2w/Sources/er/r2d2w/ERR2d2w.java#L111 I was very green when I wrote that, so it’s sorta crappy. It doesn’t support compound FKs. Despite the comment, c

Re: How to set up a stateful REST service

2016-02-04 Thread Laurence Mills-Gahl
Is this a job for Ramsey’s persistent session store framework?(ERPersistentSessionStoreage https://github.com/wocommunity/wonder/tree/master/Frameworks/Misc/ERPersistentSessionStorage) I haven’t deployed this, but I’m looking for this to simplify the distribution of REST services (with a lightw