如何在 ICEfaces 中的 panelTabSet 上设置 tabindex

发布于 2024-09-08 23:09:43 字数 241 浏览 0 评论 0原文

如何指定 panelTabSet 的 tabindex?我尝试在 panelTabSet:

<ice:panelTabSet id="foo" tabindex="4"> ...

和 panelTabs 上

<ice:panelTab id="bar" tabindex="4"> ...

设置它我缺少什么?

How can I specify the tabindex of a panelTabSet? I have tried setting it on the both the panelTabSet:

<ice:panelTabSet id="foo" tabindex="4"> ...

and on the panelTabs

<ice:panelTab id="bar" tabindex="4"> ...

What am I missing?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

物价感观 2024-09-15 23:09:43

事实证明,1.8.2 版本的 ICEfaces 不支持此功能。 ICEsoft已经在上面注册了JIRA,希望在下一个版本中能够解决这个问题。

Turns out that this is not supported in the 1.8.2 version of ICEfaces. ICEsoft has registered a JIRA on it, and hopefully it will be solved in the next release.

┾廆蒐ゝ 2024-09-15 23:09:43

您应该查看 panelTab TLD,有没有这样的属性。 panelTabSet 内选项卡的索引由源中的位置定义。

<ice:panelTabSet selectedIndex="2">
    <ice:panelTab label="first tab">...</ice:panelTab>
    <ice:panelTab label="second tab">...</ice:panelTab>
    <ice:panelTab label="third tab">...</ice:panelTab>
</ice:panelTabSet>

上例中默认选择“第三个选项卡”(索引从0开始)

You should take a look at the panelTab TLD, there is no such attribute. The index of the tabs inside a panelTabSet is defined by the position in the source.

<ice:panelTabSet selectedIndex="2">
    <ice:panelTab label="first tab">...</ice:panelTab>
    <ice:panelTab label="second tab">...</ice:panelTab>
    <ice:panelTab label="third tab">...</ice:panelTab>
</ice:panelTabSet>

In the above example, the "third tab" is selected by default (index starts at 0)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文