Seems strange to me, but the BeforeSave() method is run when applying
a filter in objectadmin, this is not what I needed (actually it's
never what I want when overriding BeforeSave()) so I added the
following simple workaround in my custom BeforeSave():

<cfif structKeyExists(form, "farcryformsubmitbutton") AND
form.farcryformsubmitbutton NEQ "apply filter">
//Custom code to run when actually saving an object
</cfif>

<cfreturn super.beforeSave(stProperties = arguments.stProperties,
stFields = arguments.stFields, stFormPost = arguments.stFormPost)>

Hope that helps someone.

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

To unsubscribe from this group, send email to 
farcry-dev+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to