【问题标题】:Switch a4j (richfaces) tabPanel programmatically with Javascript使用 Javascript 以编程方式切换 a4j (richfaces) tabPanel
【发布时间】:2011-05-23 13:10:44
【问题描述】:

当我点击一个commandButton时,我想执行一些js来将当前标签面板切换到另一个标签面板。我的 tabPanel 是 switchType="client"。

【问题讨论】:

    标签: jsf richfaces tabpanel ajax4jsf


    【解决方案1】:

    你可以使用

    RichFaces.switchTab('tabPanelId','tabLabel','tabId') method to change tabs.
    

    详细信息可查看here

    【讨论】:

      猜你喜欢
      • 2016-04-07
      • 1970-01-01
      • 2012-02-01
      • 2019-05-07
      • 1970-01-01
      • 1970-01-01
      • 2010-10-03
      • 2011-10-05
      • 2011-12-25
      相关资源
      最近更新 更多