If you list a file without an extension, the helper assumes .js as the ext and 
appends it for you (called a shortcut). Otherwise just include the extension 
you want. It's all in the docs, ;-).

We are also building custom tags in thw view lib to access the html property in 
a tag format. Right now there is meta and img tags. Just no docs on the wiki, 
however the file headers on each of the tags has doco. It's all in the 1.8 
trunk right now.

.Pjf
-----Original Message-----
From: Jorge Loyo <[email protected]>

Date: Fri, 4 Sep 2009 09:41:37 
To: Mach-II for CFML<[email protected]>
Subject: [Mach-II] HTML Helper - addJavaScript Question



Just being lazy and not reading the doc so sorry in advance :-)

If I want to use the html helper to include a javascript file, which
is actually a CFM file. How can I do it?

ex. getProperty("html").addJavascript("customjs") customjs is actually
a "customjs.cfm" file


Thank you gents,

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---

Reply via email to