I'm write a grails plugin, provide a sitemesh layout ext.gsp.
<g:javascript>
Ext.define('Config',{
singleton: true,
basePath: '${resource(dir:"")}',
})
</g:javascript>
thi开发者_运维知识库s layout will be use in main app: Vote .
expect basePath = '/AMP'
but it render as basePath: '/AMP/plugins/tzlib-0.1',
精彩评论