6.2.5.2 其他资源标签 - Reference Documentation
Authors: Graeme Rocher, Peter Ledbrook, Marc Palmer, Jeff Brown, Luke Daley, Burt Beckwith
Version: null
6.2.5.2 其他资源标签
r:resource
This is equivalent to the Grails resource tag, returning a link to the processed static resource. Grails' owng:resource tag delegates to this implementation if found, but if your code requires the Resources plugin, you should use r:resource directly.Alongside the regular Grails resource tag attributes, this also supports the "uri" attribute for increased brevity.See r:resource documentation for full details.
r:resource
这跟Grails的resource标签相当,都是返回一个处理过的静态资源链接。如果发现资源插件已经安装,Grails自带的g:resource标签将代理给r:resource,但是如果你的代码依赖资源插件,最好还是直接使用r:resource的好。跟常规的Grails的resource标签属性一样,为了增加简洁性,r:resource也支撑"uri"属性。更多完整的详细信息请参考r:resource文档。
