ZK 5 客制属性之使用(Custom attribute)

终於可以在不取得元件的方法下
从不同spaceOwner取得值了

[img]http://dl.iteye.com/upload/picture/pic/70044/1f7ce075-f79d-3c2d-8717-0e5150b053dc.png[/img]

<zk>
<window id="main" title="This is win1" border="normal" width="200px">
<custom-attributes scope="desktop" shared="${main.title}" />
<label value="win1 area" />
</window>
<window id="main2" title="This is win2" border="normal" width="200px">
这里本来抓不到win1的东西
但是却抓到了 Title
<label value="${main.title}" />
</window>
</zk>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值