开发者

How to set tabindex on panelTabSet in ICEfaces

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"> ...

开发者_JAVA技巧and on the panelTabs

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

What am I missing?


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.


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)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜