You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Torger Kielland <to...@veginformatikk.no> on 2009/09/16 14:53:03 UTC

Question regarding "t:panelTabbedPane"/"t:panelTab" and tab change

Hi!

I have a "t:panelTabbedPane" with several tabs ("t:panelTab") in one of 
my pages, and when you open one (or any) of them I want to run a little 
JavaScript snippet. The problem is that the "onclick"-attribute (and 
it's likes) on t:panelTabbedPane is triggered not only when a tab is 
opened, but also by the contents of the tabs, and with "t:panelTab" only 
by the contents. What I need is something that is run only when a tab is 
opened. Ideas?

Best regards
Torger Kielland