Glad to be of help. Team Mach-II really tries to get quick turn arounds on simple defects like this in the Betas / RCs so our smart community can continue building awesome applications using the latest and greatest features we can offer! Thanks Jorge for finding this edge case in the property. We're working on ways to better integrate our unit testing of Properties like this. I'll be sure to use your test case so this never creeps back into a future version.
FYI, we are working on a few additional custom tags for the view custom tag library that is shipping in Simplicity that allow you call HtmlHelperProperty methods in a tag based format. Current, we have <view:meta> (addMeta() method) and <view:img> (addImage() method) current in there. The <script> and <style> tag in there still need to be hooked up. It will make for easier work with the HtmlHelperProperty. I'll let the list know when I get those items done. .Peter Jorge Loyo said the following on 09/08/2009 01:20 PM: > Awesome sir... Thank you! > > On Sep 8, 12:42 pm, "Peter J. Farrell" <[email protected]> wrote: > >> Jorge, >> >> I reopened this ticket for you: >> >> http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/ticket/336#comment:4 >> >> Looks like we fixed one problem and created another small edge case. I >> just committed a fix for you in the trunk. It should work. >> >> Best, >> .Peter >> >> Jorge Loyo said the following on 09/08/2009 08:26 AM: >> >> >> >> >>> Peter, >>> >>> I went ahead and tried the following code: >>> >>> <cfoutput>#getProperty("html").addJavascript("/includes/js/ >>> supplier.cfm")#</cfoutput> >>> >>> as well as simply: >>> >>> <cfoutput>#getProperty("html").addJavascript("supplier.cfm")#</ >>> cfoutput> >>> >>> But the result I get when I view the source is: >>> >>> <script type="text/javascript" src="/includes/js/supplier.cfm.js"></ >>> script> >>> >>> The ".js" extension gets appended after the ".cfm" >>> > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
