According to TLD or attribute directive in tag file, attribute value does not accept any expressions

来源:互联网 发布:c语言实现base64编码 编辑:程序博客网 时间:2024/04/29 04:58

According to TLD or attribute directive in tag file, attribute value does not accept any expressions

自定义标签,默认不支持动态传入,在自定义标签加入rtexprvalue即可

<attribute>    <name>powerPath</name>    <required>true</required>    <!-- 支持动态传入 -->    <rtexprvalue>true</rtexprvalue>    <description>this is the power path</description></attribute>
0 0
原创粉丝点击