Re: Testing if an EO would be deletable

2010-01-19 Thread Paul Hoadley
On 19/01/2010, at 9:57 PM, David Avendasora wrote: > Again, just thinking out loud. Not sure if any of this will work in the real > WOrld. :-) Thanks for the thoughts. Doing it in a general way certainly seems quite complex. -- Paul. http://logicsquad.net/ __

Re: Testing if an EO would be deletable

2010-01-19 Thread Paul Hoadley
On 20/01/2010, at 5:16 AM, Chuck Hill wrote: >> I was just reading Johan Henselmans's thread entitled "validating deleting >> an object with relationship", and it reminded me of a similar question I had >> recently: is there a convenient way to ask EOF if a particular EO _would be_ >> deletable

Re: Testing if an EO would be deletable

2010-01-19 Thread Paul Hoadley
On 20/01/2010, at 1:01 AM, Ramsey Gurley wrote: > Using Wonder? In fact, yes! > This might be of some help. > > http://webobjects.mdimension.com/hudson/job/Wonder53/javadoc/er/extensions/eof/ERXGuardedObjectInterface.html Thanks for the pointer. I see that ERXGenericRecord's implementation ju

Re: Testing if an EO would be deletable

2010-01-19 Thread Chuck Hill
On Jan 19, 2010, at 1:47 AM, Paul Hoadley wrote: Hello, I was just reading Johan Henselmans's thread entitled "validating deleting an object with relationship", and it reminded me of a similar question I had recently: is there a convenient way to ask EOF if a particular EO _would be_ del

Re: Testing if an EO would be deletable

2010-01-19 Thread Chuck Hill
On Jan 19, 2010, at 3:27 AM, David Avendasora wrote: On Jan 19, 2010, at 5:27 AM, Paul Hoadley wrote: Hi Cheong Hee, On 19/01/2010, at 8:49 PM, Cheong Hee (Gmail) wrote: I relied much on own logic checking than EOF to decide if the object is allowed to be deleted, apart from delete rule.

Re: Testing if an EO would be deletable

2010-01-19 Thread Ramsey Gurley
Using Wonder? This might be of some help. http://webobjects.mdimension.com/hudson/job/Wonder53/javadoc/er/extensions/eof/ERXGuardedObjectInterface.html Ramsey On Jan 19, 2010, at 4:47 AM, Paul Hoadley wrote: Hello, I was just reading Johan Henselmans's thread entitled "validating deleting

Re: Testing if an EO would be deletable

2010-01-19 Thread David Avendasora
On Jan 19, 2010, at 5:27 AM, Paul Hoadley wrote: > Hi Cheong Hee, > > On 19/01/2010, at 8:49 PM, Cheong Hee (Gmail) wrote: > >> I relied much on own logic checking than EOF to decide if the object is >> allowed to be deleted, apart from delete rule. One of the reasons is >> sometimes the obj

Re: Testing if an EO would be deletable

2010-01-19 Thread Paul Hoadley
Hi Cheong Hee, On 19/01/2010, at 8:49 PM, Cheong Hee (Gmail) wrote: > I relied much on own logic checking than EOF to decide if the object is > allowed to be deleted, apart from delete rule. One of the reasons is > sometimes the object itself also depends on its attribute value other than > d

Re: Testing if an EO would be deletable

2010-01-19 Thread Cheong Hee (Gmail)
ooorry for being naive. Cheers Cheong Hee - Original Message - From: "Paul Hoadley" To: "Apple WO-Dev" Sent: Tuesday, January 19, 2010 5:47 PM Subject: Testing if an EO would be deletable Hello, I was just reading Johan Henselmans's thread entitled &

Testing if an EO would be deletable

2010-01-19 Thread Paul Hoadley
Hello, I was just reading Johan Henselmans's thread entitled "validating deleting an object with relationship", and it reminded me of a similar question I had recently: is there a convenient way to ask EOF if a particular EO _would be_ deletable if I tried to delete it? I have a component wher