0 Replies Latest reply on Nov 27, 2008 9:11 AM by daswidanja

    How to change selectedTab using js

      Hi
      I need to change tab on rich:tabPanel using javascript from rich:hotkey, in other words use keyboard to change tab's

      The code could be like this (except from that code don't work) :

      <rich:hotKey key="Shift+L" handler="changeTab();" />
      
      <script type="text/javascript">
       function changeTab (){
       ${rich:component('myTab')}. setSelectetTab('destinationTab');
       }
      </script>