Passing values through cfm to CFC's
Posted on 2005-04-22
I have a page with a combobox, containing the names of different railroads. I want to take the value the user chooses and pass it into my cfm page as a component. Each individual railroad is an extension of the base railroad component.
The type of information I want to display is different, depending on the railroad selected.
<cfset railObj = createObject("component","NAME OF VALUE SELECTED FROM COMBOBOX") >
How do I get the value of the selected item imported into the cfset statement