webber

  BlogJava :: 首页 :: 联系 :: 聚合  :: 管理
  11 Posts :: 2 Stories :: 3 Comments :: 0 Trackbacks

rtexprvalue属性含义

 

自定义标志的tld中的<attribute>结构中的rtexprvalue属性是在运行时刻动态计算还是取编译进行时的静态值,如果为true,它就取得静态值,即:必须给它显现赋值,如:

<tag>
         <name>codePopupTree</name>
         <tag-class>com.neusoft.talentbase.framework.code.taglib.CodePopupTreeTag</tag-class>
         <body-content>empty</body-content>
         <attribute>
             <name>type</name>
             <required>true</required>
             <rtexprvalue>true</rtexprvalue>
         </attribute>

</tag>

此时在使用这个标签时必须像下面这个写:

<tb:codePopupTree type="CODE_AdministrationArea" />

rtexprvalue     属性的全称为

run    time    expression    value   
   运行时表达式

posted on 2009-12-30 15:12 webber 阅读(2561) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: