Matt, >From the talk that you have read, passing the argument collection into a CFC method is no different than passing a comma delimited arguments in the method call. You treat them the same in the cffunction defintion. If you expect a certain argument, you make it a required argument, otherwise you provide a default value for the arguments that are optional.
The only difference here is if you do not want to define all the arguments inside of the function and just handle whatever the method receives? If this is your approach, you would have to probably handle looping over the arguments scope with some sort of business logic to determine what to do with each structure key/value. Teddy R. Payne, ACCFD Google Talk - [email protected] On Thu, Dec 30, 2010 at 4:52 PM, Matthew Nicholson <[email protected]> wrote: > Afternoon All! > > > > Here’s my basic dilemma. I’m enhancing a CF application that needs a whole > lot of TLC. With that, I’m attempting to redesign a few aspects of the > application to use components to keep with good design principles. > > > > Now, I think I’m being exceptionally thick headed but I can’t for the life > of me figure a way to pass as argumentCollection into my component and then > utilize its information. > > > > Does anyone have a good resource or tutorial on how to do this? I’ve found > plenty that talk of using the argumentCollection but none of them illustrate > it’s use within the component. > > > > Thank you very much for your time and expertise! > > > > Matthew R. Nicholson > > SolTech, Inc. > > Cell: 770-833-5326 > > www.soltech.net > > To find what you seek in the road of life, the best proverb of all is that > which says: "Leave no stone unturned." > ~Edward Bulwer Lytton > > > > ------------------------------------------------------------- > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by FusionLink > ------------------------------------------------------------- ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
