rk_cms中是这样的
MvcSetup(MainSetup)
ioc.get(FreeMarkerConfigurer.class, "mapTags");
freemarker_tags.js片段
var ioc = {
shiroTags : {
type : "com.rekoe.shiro.freemarker.ShiroTags",
singleton : true
},
mapTags : {
factory : "$freeMarkerConfigurer#addTags",
args : [ {
'shiro' : {
refer : 'shiroTags'
},
'cms_perm' : {
refer : 'permission'
},
'process_time' : {
refer : 'process'
},
'pagination' : {
refer : 'pagination'
},
怎样移植到nutzbook中统一在freemarker.js中配置?