coldfusion - Where do you put cfimport -


Works on my cfimport page, but I tried to move it to Rookstart and it does not work. Then I tried to put it in a folder in a folder, and it was not working. Should cfimport be on the page itself?

Yes, the tag is used only on the page where cfimport is used; From:

The page that uses the imported tag should have a cfimport tag. For example, if you use the cfimport tag on a page that you include with a cfinclude call, you can not use the imported tag on that page, which contains the cfinclude tag. Similarly, if you have a cfimport tag on your application.cfm page, then imported tags are only available on the Applications.cfm page, not on other pages of the application Cold Fusion does not make any errors in these situations, but imported tags do not run.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -