空地

生活,工作,记录(内容基本都是转载,自己工作用到的时候看看而已)

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 2007-08-27 10:11 小梅 阅读(2251) 评论(4)  编辑 收藏

Feedback

#1楼 2008-11-01 00:26 sheay[未注册用户]

啊,正好找到我想要的
run time express value.
many thanks for you.
 回复 引用   

#2楼 2009-01-09 23:16 路过2009[未注册用户]

兄弟,你搞反了哦。。。。

Defines if the nesting attribute can have scriptlet expressions as
a value, i.e the value of the attribute may be dynamically calculated
at request time, as opposed to a static value determined at translation
time.

#PCDATA ::= true | false | yes | no

If not present then the default is "false", i.e the attribute
has a static value
 回复 引用   

#3楼 2009-06-23 12:53 xiaofanku[未注册用户]

误倒读者!  回复 引用   

#4楼 2009-06-23 13:09 xiaofanku[未注册用户]

http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPTags5.html#wp89854

re:
(optional) Whether the attribute's value can be dynamically calculated at runtime by an expression. Defaults to true.
 回复 引用