CF10 can't find my Custom Tag. CFParam will take a hint!

It's a parody beyond parody the cfparam tag can't stand not an attribute 'index. So I aim to fix that with a custom label!  It's the first time I messed with custom tags, but so far I can't get to work.

I created a file called param.cfm, it just displays a cfparam which converts the provided ATTRIBUTES but allows specifying a suspicion on the tag < cf_param > attribute to satisfy this need.

I placed this file in c:\inetpub\wwwroot\project\custom-tags.

In my application.cfc, he simply says:

<cfset THIS.name = hash( getCurrentTemplatePath() )>
<cfset THIS.customTagPaths = 'c:|inetpub\wwwroot\project\custom-tags'>

<cf_param name="test" type="string" default="foo" hint="YES! WE CAN PUT HINTS ON PARAMS!">

Sorry, I wasn't clear.

The customTagsPath thing does not work for the calls of the pseudoconstructorcustom tag.  It works great everywhere else.

This isn't really surprise me now that I think about it.

CF, essentially under the hood:

appSettingAndHandlers = new Application()

theApp.setName(appSettingAndHandlers.name)
theApp.setCustomTagPaths(appSettingAndHandlers.customTagPaths)
//etc

if not theApp.started() then
     theApp.start()
     appSettingAndHandlers.onApplicationStart()

// etc

So while it gathers the constructor parameters, pseudo Application.cfc, just because there is a line of code declaring the value of the parameter does not mean that the value has been applied to anything yet.

Keep in mind Application.cfc is just a normal CFC and the Act of doing this:

this.customTagPaths = 'things here. "

simply sets a variable.  Setting this variable doesn't not as magically the variable mean something, or run any code.

Heh.  It's quite interesting.  I never thought of all this kind of stuff before.

--

Adam

Tags: ColdFusion

Similar Questions

  • Where can I find my custom Photoshop templates, I did via the finder

    Where can I find my custom Photoshop templates, I did via the finder?

    I use a more updated version of the cc 2015.5 PS.

    I used Adobe Capture to create patterns for use in Photoshop.

    I saved the patterns in photoshop and can not find them in the finder (presets/Patterns).

    Oh, I just thought about it, it's in the library / application support / Adobe / Photoshop / Presets / Patterns

    YAY!

  • I have photoshop CS5 Extended problem comes when I try to install it because I can't find a decompression program that will do it

    I have photoshop CS5 Extended but my card mother flashed on then I have now bought a new computer and wish of course download another copy, I have my my account serial No. and I downloaded a new copy of the program, the problem comes when I try to install it because I can't find a decompression program that will do they ask for the names of file etc which of course , I have not until I have unzip! can anyone please advise which program will unzip this automatically bearing in mind there are two files with the download. Or is there a way I can download without having to decompress?


    Thank you for your help.

    Download the exe and 7z, put them both in the same directory and click on the exe file.

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • I can't find the tab of Firefox which takes me to edit and print et al, except that I have a little bitty screen.

    I just got a new computer and have changed for windows 8, and the guy put in place with internet explore when I was accustomed to using firefox. My son put on firefox, but I can't find the tab firefox with access to edit, print, print preview, etc., except when I got the box of firefox on three-quarters of the screen, which is too small. How to fill the screen and still give me the small box so I can print? Please do not reply to an avalanche of gibberish, because the understanding of my computer is negligible.

    Hi Senyax, how are enlarge you Firefox when you want more? They will give you different results:

    (1) maximize the window (the middle between _ and X button)

    You should still be able to see the top bar of the window with the orange Firefox button. If you don't see this, one of your Firefox settings files could be damaged.

    (2) full screen (F11 key or the Firefox button orange > fullscreen)

    By default, nothing else that the site displays full-screen mode. Although you can have the tab bar and toolbar display (drag your mouse to the top of the screen and right click on an empty area of the tab bar, then uncheck "Hide toolbar"), you cannot use the orange Firefox menu button in this mode.

  • [p7-1240] How can I find out what graphics cards will work with my motherboard?

    I recently went through the nightmare of trying to install a Gigabyte GTX 650 in my PC. After a few days of struggle and scouring the internet for answers, I discovered that it is not compatible with the BIOS on my motherboard, and HP does not update the BIOS. I returned the card and is now seeking a new, but I'm not sure what card works now, since my computer meet the requirements of system for the graphics card and it stil ldid does not work. Because the GPU manufacturers do not list the specifications of the BIOS under system requirements, how can I know if a graphics card will work with my system?

    My computer is a p7-1240 with a 520W PSU upgrade and approximeately 11 "of space to install the card.

    Thexn, welcome to the forum.

    The problem is a lot of video cards latest require the computer to have a complete UEFI BIOS.  HP began using one in mid-October 2012.  Before that date, the BIOS is the legacy.  This is why the video card does not work with your computer.

    I don't know what you would spend on a card, but MSI is a GTX 750ti which is a VBIOS hybrid.  It has a switch to change to inheritance or UEFI.  Is there a video link directly below the image of a card.  Paul of Newegg gives a complete description of the map.

    I like the best EVGA cards.  Their Support gave me a lot of information on their cards.  However, you will need to return to a GT 640 map to find one of their cards that does not require the UEFI BIOS.  They have a few updates for their BIOS' are which solves the problem, but we must call them for accurate maps.

    Please click on the Thumbs up button '+' if I helped you and click on "Accept as Solution" If your problem is resolved.

  • Can not find AcerCloud customer to remove. It uses too much CPU and I even do not use.

    HI, I'm trying so my hand on streaming and running programs is fine on my cpu and is not more than 70%. However, I noticed that AcerCloud Client (32-bit) sometimes decides to examine the CPU usage, often maing my CPU 100% usage and I even do not use.  Normally I would not have noticed but my streaming (OBS) software crashes and disconnects me when the CPU usage becomes too high and it's really frustrating, especially since I don't even use the program.

    I picked it out, but in my list of programs he isn't here.  I removed Acer portal because I thought it was her.

    Where is AcerCloud customer?  I want to remove it since its origin a nuisance and I'm not using it anyway.  I win 10.  Help, please

    Hello

    Try to remove all the software listed on this page. With them, you can also remove the acer clouds.

    Also try to navigate to C:\Program cloud\ Acer and see if you find one kind configuration here which could allow you to uninstall. Also, if you don't find anything, try the Program Files (x 86) folder.

  • How can I find the custom dictionary on CS6 MAC?

    I need to change the custom dictionary on Dreamweaver CS6 on a MAC (OSX MAVERICK).   I have seeds several ways to find it on a PC and trawled although all records and made several searches but in ho prevail. Any suggestions?

    Yes I search first on the forum but nothing so far in the above worked.

    You may need to enable hidden Mac files: display hidden Mac OS x files

  • I jusr added SScreengrabber, but I have no idea how to use it and I can't find any direction. How will I know how to use this thing?

    How do I access Screengrabber? So, how did you use it? Is it easy to find guidance?

    See the characteristics of the right, http://www.screengrab.org/home/features/scrollable/

    Thank you

  • I can't find my profile to join the personal dicitonary. Troubleshooting gives me this...

    I need to correct spelling errors in error entered...
    I can't find the custom dictionary...

    You can find your profile to help > troubleshooting information. Look under Application Basics for profile folder and click the button.

  • Executable cannot find the custom error code file

    I'm building a LabVIEW 2013 application on a Windows 7 computer and deploying it to a Windows XP computer. My application has a custom error code file, stored in -- errors.txt, but my executable on the Windows XP machine can't find the custom error file and returns only the string of appeal for all errors that occur.

    When you use is not an installer, I tried to copy the error code at all locations listed here: http://digital.ni.com/public.nsf/allkb/6077DBEDA4F9FEE3862571F600449501 but the application still does not load the custom errors. I have the box checked to "Error Codes customized Include" in the construction specifications.

    When an executable of construction and the development of Windows 7 to XP, where do I put the custom error code file? It is found in Program Files (x 86), but find not because it's XP?

    It's been a few months that I posted this question and I do not know if someone cares about this track, but the solution I found was to put the custom in error code file \National Instruments\Shared\Errors\English\

    There are other places that the runtime will look for the custom error codes (I tried all the ones listed above), if the same error codes exist in 2 places the error popup will appear two error messages. Error default 1, it looks like:

    LabVIEW: An input parameter is not valid. For example if the input is a path, the path can contain a character not allowed by the operating system such as? or @.
    =========================
    NOR-488: Command requires GPIB controller charge controller.

    So if you have a custom error code file and it is available in 2 places that LabVIEW RTE check error codes, you will get the same message before and after the =.

    List the error as "still included" file when building the executable or by checking the box to include files in error did not tour, obviously. Unless you create a Setup program to distribute the application, the error code file must be moved manually. Shared\Errors file works best for me because it's a place that makes sense.

    Also, don't worry - it doesn't me taken 5 months to understand this point, I do not update all my loyal followers (ha) with a solution.

  • Where can I find my Chkdsk 'found' the file?

    I used Chkdsk to scan my WD 1 TB external drive and when the analysis was, the notification area told me he had moved all these files into a folder named "found." Only problem is I have looked for this, searches for her and still can't find it, however, these files always take a lot of hard drive. Where can I find it?

    Hi Buffchic1098,

    Found folder gets created only when the disk check corrects errors according to find them. The file will be in the same drive on which the command chkdsk was run. This will be a hidden folder and you need to unhide the to find.
    http://Windows.Microsoft.com/en-us/Windows-Vista/Show-hidden-files

    I hope this helps.

    Bindu S - Microsoft Support

    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • Where can I find support for html 5 tags for each version of Firefox?

    Where can I find support for html 5 tags for each version of Firefox?

    Thanks for the help.

    See:

  • I can't find the Fox for the custom personas option menu.

    I want to wear my own character customized to my firefox browser, nut, I just can't find the Fox that they speak. Quote:

    "Option 1: Test on your own computer.

    In the Personas menu in the bottom left of the status bar of the browser, you can activate a Persona "offline" on your personal computer by enabling a setting in preferences. In doing so, you can test your Personas before submitting them to the online catalogue.

    Follow these four steps to get the Custom Personas option up and running in your browser:

      1. If you have Personas installed, click on the little fox on the bottom left of your computer screen and click on "Preferences"
      2. Ensure the box "Show Custom Persona in Menu" is checked and close the box.
      3. Click on the little fox again. Mouse over "Custom" in the menu and to the right find and click "Edit"
      4. Build your Persona using the upload fields and additional settings." I can't find the fox. I have tried options and prefrences, but neither work. HELP!
    

    You have the add-on Personas Plus installed? The icon is added by this add-on.

    This add-on adds an icon to the fox for the left side of the status bar, or you can access it using the entrance of Personas on the Tools menu.

  • I want to use the custom pattern, actions ets... But I can not find custom files to [presets &gt; model] or [presets &gt; actions]... Where should you put these files?

    I want to use the custom pattern, actions ets... But I can not find custom files to [presets > model] or [presets > actions]... Where do I put these files?

    If you're on a PC - C:\Users\ [username] \AppData\Roaming\Adobe\Adobe Photoshop CC 2015\Presets

  • The payment change ADOBE info Web page fails - I can't scroll down to save the changes. My subscription is expired and I am dead in the water! I can't find a support customer portal to this problem - HELP PLEASE!

    I can't scroll down to save the changes. My subscription is expired and I am dead in the water! I can't find a support customer portal to this problem - HELP PLEASE!

    catsrock

    Great salvation,

    We are sorry for the inconvenience caused to you!

    I recommend you contact customer service regarding this issue.

    Kind regards

    Rahul

Maybe you are looking for