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工作:) –