pass a extra argument to my cfc

Posted on 2008-02-05
Medium Priority
Last Modified: 2013-12-24
i want to pass a extra argument to my cfc i.e i want to pass a url.depID

how can i do this?

many thanks

<cftreeitem bind="cfc:salesmaxx3.components.departmentTree.getNodes({cftreeitempath},{cftreeitemvalue})">

Open in new window

Question by:pigmentarts
1 Comment
LVL 14

Accepted Solution

Scott Bennett earned 2000 total points
ID: 20825001
Set your getNodes function in your departmentTree.cfc to have a cfargument tag that will recieve the 3rd parameter, then you should be able to include the url.depid variable value like this:
<cftreeitem bind="cfc:salesmaxx3.components.departmentTree.getNodes({cftreeitempath},{cftreeitemvalue},#url.depID#)">

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Whether you have a site with just static html pages or a dynamic database-driven one, this step-by-step migration guide will help you get started with your new DV server. This guide is by no means comprehensive but it should cover the basics to get …
The Super Bowl is just days away. Millions of advertising dollars will be spent in just a few hours to drive people to websites around the globe. Optimizing your site in anticipation of a big event like this (and the traffic surges that follow) will…
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…
Through the video, you can check the migration process of Outlook PST file to PDF. Kernel for Outlook to PDF tool can convert Outlook emails with all attributes like Subject, To, From, Cc, Bcc and other folders such as Inbox, Outbox, Sent Items, Jun…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question