Firstly, hello to the list. I have run into a question that has me stumped, and I am hoping for some suggestions:
In the FC4 site I am presently building, I have extended several of the core system types, and when attempting to override the delete method of dmImage, I am not sure how to call delete() on the abstract types CFC. In a custom type which directly extends types.cfc or versions.cfc, I would simply use: <cfset stReturn = super.delete(stObj.objectID) /> In the case of an extended system type, however, the base CFC is the specific system type CFC, not the abstract types CFC, so there is an additional level of inheritance, and super is pointing to the method I wish to replace. I could implement the standard CF solution of adding a function to the system type that calls super and then calling this function from the child, e.g.: <cfset stReturn = super.superDelete(stObj.objectID) /> This would require modifying the base CFCs, though, and I would rather not touch the core if I can avoid it. Is there a good way to work around this without hacking the core files? Thanks for any thoughts, -- Ezra Parker --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
