Ollie Jones said the following on 09/09/2009 10:18 AM: > Hi, trying to figure out BuildUrl -- looks like it's a good > development practice to use it rather than hardcoded image.cfm? > event=foo type stuff. > > Is that right? should hardcoded URLs be deprecated? > Yes. Use buildUrl() instead or if you are using Mach-II 1.8 preferably the <a> tag in the view custom tag library for a more tag based format (instead of method calls). > Is this the latest and greatest writeup (by Peter Farrell)? > http://docs.google.com/Doc?id=dhjcwfn4_20fszzw3 > All Google Docs are going to be out of date. Check out the wiki:
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/wiki/URLManagementFeatures Also, there are the new URL routes in 1.8 and buildUrl improvements: http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/wiki/MachII1.8SESImprovements > Is there other documentation? Are there other "toplevel" functions > like this for other purposes? > Check out the API docs - ViewContext for views and BaseComponent when inside Filters/Plugins/Listeners/Properties. --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
