Package com.liferay.faces.alloy.component.tab

Examples of com.liferay.faces.alloy.component.tab.TabSelectEvent


public class TabViewBehaviorListener implements AjaxBehaviorListener {

  @Override
  public void processAjaxBehavior(AjaxBehaviorEvent ajaxBehaviorEvent) throws AbortProcessingException {

    TabSelectEvent tabSelectEvent = (TabSelectEvent) ajaxBehaviorEvent;
    TabView tabView = (TabView) tabSelectEvent.getComponent();

    try {
      MethodExpression methodExpression = tabView.getTabSelectListener();

      if (methodExpression != null) {
View Full Code Here


      }

      // Queue an tabView tab event rather than the specified faces event.
      AjaxBehaviorEvent behaviorEvent = (AjaxBehaviorEvent) facesEvent;
      Behavior behavior = behaviorEvent.getBehavior();
      TabSelectEvent tabEvent = new TabSelectEvent(this, behavior, tab, rowData);
      super.queueEvent(tabEvent);
    }

    // Otherwise, queue the specified faces event.
    else {
View Full Code Here

TOP

Related Classes of com.liferay.faces.alloy.component.tab.TabSelectEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.