Another approach would be to leave edit.cfm along and override setdata()
instead.
Jake is suggesting exending the cfc, and overriding the edit method,
which will created a struct and populate stPropertiels.label w/whatever
you want. But eventually, it will make a call to setData( stProperties ).
If you only want to override the property, you can simply do so in
setData, and leave edit.cfm as it is. This approach might make it
easier to upgrade farcry, as you are touching less code.
function setData( stObj:Struct ) {
stObj.label = stObj.title & " " + stObj.someOtherProperty
super.setData( stObj );
}
tilespace wrote:
> AH HA!
>
> Sweet!
>
> Thanks Jake!
>
> On Jan 4, 10:39 am, "Jake Churchill" <[EMAIL PROTECTED]> wrote:
>
>> Extend dmImage and in the edit.cfm file you will see that stProperties.label
>> is set to form.label. Just change that or append the image name or
>> whatever.
>>
>> _____
>>
>> Jake Churchill
>> Team Leader
>> 11204 Davenport, Ste. 100
>> Omaha, NE 68154http://www.cfwebtools.com
>> 402-408-3733 x103
>>
>>
>>
>> -----Original Message-----
>> From: [email protected] [mailto:[EMAIL PROTECTED] On
>>
>> Behalf Of tilespace
>> Sent: Friday, January 04, 2008 12:35 PM
>> To: farcry-dev
>> Subject: [farcry-dev] Image Administration
>>
>> Hello... Quick question about the image administration area...
>>
>> Is there any way to add the filename to the label?
>>
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.5.516 / Virus Database: 269.17.13/1208 - Release Date: 1/3/2008
>> 3:52 PM
>>
>> No virus found in this outgoing message.
>> Checked by AVG Free Edition.
>> Version: 7.5.516 / Virus Database: 269.17.13/1208 - Release Date: 1/3/2008
>> 3:52 PM- Hide quoted text -
>>
>> - Show quoted text -
>>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---