0
作为对复选框组问题的跟进,如何设置默认值?XPages复选框组和默认值
下面是测试的XPage源代码:
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
<xp:checkBoxGroup id="checkBoxGroup1" defaultValue="First">
<xp:selectItem itemLabel="First" itemValue="1"></xp:selectItem>
<xp:selectItem itemLabel="Second" itemValue="2"></xp:selectItem>
<xp:selectItem itemLabel="Third" itemValue="3"></xp:selectItem>
</xp:checkBoxGroup>
</xp:view>
有人也许会期待与标签“第一”要检查的复选框,但并非如此。任何深入了解这一点将不胜感激。
谢谢!
谢谢史蒂夫。易于修复1工作:) –