程序包 org.beetl.ext.spring
package org.beetl.ext.spring
-
类类说明GroupTemplate对象配置类的抽象基类测试当前用户是否满足指定权限表达式测试指定URL当前用户是否满足访问权限
urlIf('/system/user_list.html', 'GET')
第一参数表示测试URL, 第二参数表示访问方式(默认GET,建议全大写)返回当前登录用户的认证凭证<bean id="beetlConfig" class="org.beetl.ext.spring.BeetlGroupUtilConfiguration" init-method="init" > </bean > <bean id="viewResolver" class="org.beetl.ext.spring.BeetlSpringViewResolver"> <property name="contentType" value="text/html;charset=UTF-8"></property> </bean>Beetl ViewResolver视图解析器SpEL表达式函数,spring.spel()使用指定名字的Spring Bean为Beetl的Tag对象 注意这个Tag Bean应该是prototype而非单例的,否则在程序中会有问题整合了Spring自带静态工具类功能的FP类