开发者

grails plugin issue - Sitemesh Layout

开发者 https://www.devze.com 2023-04-05 01:28 出处:网络
I\'m write a grails plugin, provide a sitemesh layout ext.gsp. <g:javascript> Ext.define(\'Config\',{

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',

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号