You can override the delete function in your type, and call super.delete (or whatever it is) at the end. I do that for all sorts of functions.
Blair On 9/12/08, AJ Mercer <[EMAIL PROTECTED]> wrote: > Components have a BeforeSave method, is there an equivalent for deleting? > I have a component that uploads a file > I would like to delete the file when the record is deleted. > > > > -- > AJ Mercer > Web Log: http://webonix.net > > > Once you come to the realisation that everyone is crazy, > You will never be surprised or disappointed ever again. > AJM 2008 > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---
