<cffunction name="setdateAdded" hint="I set the dateAdded value ."
access="public" output="false" returntype="void">
<cfargument name="dateAdded" hint="I am this record's dateAdded
value." required="yes" type="any" _type="string" />
<cfif Len(Trim(dateAdded)) EQ 0>
<cfset dateAdded = Now()>
</cfif>
<cfset super.SetDateAdded(dateAdded)>
</cffunction>
Is there a better place to do something like this for new records?
--
You received this message because you are subscribed to the Google Groups "Reactor" group.
To post to this group, send email to reacto...@googlegroups.com.
To unsubscribe from this group, send email to reactor-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/reactor-users?hl=en.