Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
145
Capturing client event (eg. onClick etc.) on Web tab
posted

Hi,

I need to capture the client event (onClick) when a tab is clicked and invoke a javascript function. Is there any way out for this. It seems that the current tabItem tag doesnt provides any support for this. Please provide me a way to achieve this.

Thanks in adavance

Kaushal

  • 2180
    Offline posted

    Hi,

    The capturing of the client event onClick is possible in 9.1 version of JSF NetAdvantage. Here is an example page : http://java.samples.infragistics.com/NetAdvantage/JSF/2009.1/featurebrowser/fbhome.jsp

    Please, proceed to the WebTab link in the main navigation and after that to CSOM(new) link.

    There is example of canceling tab change - this is achieved by using the new tag tabViewClientEvents and the property selectedTabChanging. There is also the example code.

    Greetings,

    Svetla