Set the 'cacheAssetPaths' parameter to true... it doco implies that it 
does not append the asset timestamps if set to false:


      cacheAssetPaths ΒΆ
      
<http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/wiki/HTMLHelperProperty#cacheAssetPaths>

The cacheAssetPaths parameter is optional and takes a boolean. It 
defaults to false if not defined. This parameter enables or disables 
caching of the asset paths (paths passed into addJs and addCss methods) 
and their respective timestamps. If the cache is enabled (true), the 
asset tag makes fewer file system calls to compute the timestamp for the 
specified asset. File system interaction can be expensive and therefore 
can have a negative impact on application performance.

jarthel said the following on 08/19/2009 01:22 AM:
> this is the code from the "view source" => <script type="text/
> javascript" src="/fcrec/fcrecPartKForm.js"></script>
>
> this is the code as displayed in my cfm file => <cfset getProperty
> ("html").addJavascript("/fcrec/fcrecPartKForm") />
>
> +++++++++++++
>
> According to the HTML helper wiki, timestamp is added by default. But
> as you can see, there's nothing in my source.
>
> This is mach-ii.xml config:
> +++++++
>               <property name="html" 
> type="MachII.properties.HtmlHelperProperty">
>                 <parameters>
>                       <parameter name="metaTitleSuffix" value=" - Mach-II" />
>                       <parameter name="cacheAssetPaths" value="false" />
>                       <parameter name="webrootBasePath" 
> value="/flinders/webapps/edss" />
>                       <parameter name="jsBasePath" 
> value="/flinders/webapps/edss/js" />
>                       <parameter name="cssBasePath" 
> value="/flinders/webapps/edss/css" />
>                       <parameter name="imgBasePath" 
> value="/flinders/webapps/edss/img" />
>                 </parameters>
>               </property>
> ++++++++++++
>
> It's mostly a copy/paste job from the wiki but I deleted extra
> settings.
> >
>   


--~--~---------~--~----~------------~-------~--~----~
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