Thanks Guys. I already had dmProfile.cfc extended so I went with
overrriding the GetProfile().



On Mar 4, 4:02 pm, Jeff Coughlin <[email protected]> wrote:
> Chris,
>
> Extend dmProfile.cfc (by placing a file with the same name in 
> <project>/packages/system and extending the same file from core using the 
> "extends" attribute).  Then add the following inside the component:
>
>   <cffunction name="beforeSave" access="public" output="false" 
> returntype="struct">
>     <cfargument name="stProperties" required="true" type="struct" />
>     <cfargument name="stFields" required="true" type="struct" />
>     <cfargument name="stFormPost" required="false" type="struct" />
>
>     <cfset stProperties.fullName  = "#stProperties.firstName# 
> #stProperties.lastName#" />
>
>     <cfreturn stProperties />
>   </cffunction>
>
> Regards,
>
> --
> Jeff Coughlin
> Web Application Developerhttp://jeffcoughlin.com/blog
>
> On Mar 4, 2010, at 6:05 PM, Chris Roth wrote:
>
>
>
> > I'm looking for a goos place to set a variable
> > session.dmprofile.fullName from
>
> > session.dmprofile.firstName  session.dmprofile.lastName
>
> > It looks like I can easily do it in security.cfc when the dmProfile
> > object is instantiated, but I would really rather not do it there
> > having to override security.cfc in my project is really not something
> > I want to do..
>
> > Any suggesstions on a good place to do it for ease and longevity...
>
> > Chris- Hide quoted text -
>
> - Show quoted text -

-- 
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

Reply via email to