I think I ran into this problem myself for something. What you need to do is take a look at the formtool definiton for list under /core/packages/formtools/list.cfc. Copy that over to your projects folder so you don't end up changing the core. Then scroll down to the 'edit' function, and check where it looks at the 'dropdown' value. There you will see a loop for the list. You might need to change that to your hearts content.
With this way, make sure you change the name of the formtool to something like "listPipe" and make sure the 'extends' value points correctly back to the original formtool. Then use that as the ftType in your cfc definition whenever you need the pipe delimited piece. The problem you might be running into is that the ftList also has a definition setting in which you can do "keyWord:Long Descriptive Visible String" where before the ":" is the keyword that is saved in the database, and after the ":" is what shows up for the user. Hope that helps, Tomek On Tue, May 26, 2009 at 4:15 AM, Phil Kemp <[email protected]> wrote: > > > Greetings, > > I have a custom type and inside I am using Coldfusion to make a list, which > will appear as a Drop Down. All works well with a list like > "Austria,Belgium,Luxembourg,France", but as soon as I change the delimiter > to a pipe it all goes wrong. The reason I need a pipe is because I'll end > up > with lists such as "Belgium,Netherlands,Luxembourg|England,Scotland,Wales". > > I can't find anything that tells the FormTools that my list delimiter is a > pipe and not a comma. Anyone got any suggestions? > -- > View this message in context: > http://www.nabble.com/FormTools-List-Delimiters-tp23718597s621p23718597.html > Sent from the FarCry - Dev mailing list archive at Nabble.com. > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
