【发布时间】:2016-05-28 17:00:02
【问题描述】:
这是水平单选按钮的代码:
<xp:radioGroup id="appType"
value="#{ruleDoc.AppType}" layout="lineDirection">
<xp:selectItem
itemLabel="Applications">
</xp:selectItem>
<xp:selectItem
itemLabel="Lotus Notes DB">
</xp:selectItem>
<xp:selectItem
itemLabel="Lotus Notes Groups">
</xp:selectItem>
<xp:selectItem itemLabel="Folders"></xp:selectItem>
<xp:selectItem itemLabel="Hardware"></xp:selectItem>
<xp:selectItem itemLabel="Other"></xp:selectItem>
<xp:selectItem itemLabel="Server"></xp:selectItem>
</xp:radioGroup>
但是显示很丑:
我想将它们显示在两行,每行 3 个值。在 Native Notes 中很容易做到,但我想不出在 XPages 中做到这一点的方法。 有任何想法吗?我做了一些搜索,但解决方案似乎很复杂。
【问题讨论】:
-
这可能对你有帮助,wissel.net/blog/d6plinks/SHWL-87B5ZJ
-
@Frank 效果很好——正是我正在寻找的东西,不知道为什么它没有出现在搜索中
标签: twitter-bootstrap xpages radio-group