Hi all, this might be a CF question that I don't quite understand, but I wanted to make sure that what I was about to do made sense.
I have a custom file type for which I would like the default friendly url to be something other than the title/label. I that the generic farcry.core.packages.types.types component has a setFriendlyURL function call and in it sets the FU at <cfset stFriendlyURL.friendlyURL = stFriendlyURL.friendlyURL & "/#stobj.label#"> My plan for my custom type was simply to copy the entire function to my custom cfc definition, and replace the #stobj.label# with what I need. As I understand it, since my custom type is loaded after the generic type, my setFriendlyURL function will override the generic one for ONLY that specific custom type. Is this correct or am I going to set that for all my custom types? Also, I noticed (on line 1486 of types.cfc) this: <cfset stresult_friendly ....> shouldn't this be stresult.friendly since stresult is a struct? Thanks, Tomek --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
