Package org.apache.myfaces.tobago.event

Examples of org.apache.myfaces.tobago.event.TabChangeSource.addTabChangeListener()


        valueBinding.setValue(FacesContext.getCurrentInstance(), handler);
      }
    }
    if (handler != null) {
      if (valueBinding != null) {
        changeSource.addTabChangeListener(new TabChangeListenerValueBindingDelegate(type, valueBinding));
      } else {
        changeSource.addTabChangeListener(handler);
      }
    }
    // TODO else LOG.warn?
View Full Code Here


    }
    if (handler != null) {
      if (valueBinding != null) {
        changeSource.addTabChangeListener(new TabChangeListenerValueBindingDelegate(type, valueBinding));
      } else {
        changeSource.addTabChangeListener(handler);
      }
    }
    // TODO else LOG.warn?
    return (SKIP_BODY);
  }
View Full Code Here

      }
    }

    if (handler != null) {
      if (binding != null) {
        changeSource.addTabChangeListener(
            new ValueExpressionTabChangeListener((String) type.getValue(elContext), binding));
      } else {
        changeSource.addTabChangeListener(handler);
      }
    }
View Full Code Here

    if (handler != null) {
      if (binding != null) {
        changeSource.addTabChangeListener(
            new ValueExpressionTabChangeListener((String) type.getValue(elContext), binding));
      } else {
        changeSource.addTabChangeListener(handler);
      }
    }

    return (SKIP_BODY);
  }
View Full Code Here

          if (valueExpression != null) {
            valueExpression.setValue(faceletContext, listener);
          }
        }
        if (valueExpression != null) {
          changeSource.addTabChangeListener(
              new ValueExpressionTabChangeListener(type.getValue(), valueExpression));
        } else {
          changeSource.addTabChangeListener(listener);
        }
      }
View Full Code Here

        }
        if (valueExpression != null) {
          changeSource.addTabChangeListener(
              new ValueExpressionTabChangeListener(type.getValue(), valueExpression));
        } else {
          changeSource.addTabChangeListener(listener);
        }
      }
    } else {
      throw new TagException(tag, "Parent is not of type TabChangeSource, type is: " + parent);
    }
View Full Code Here

      if (handler != null && binding != null) {
        ComponentUtil.setValueForValueBinding(binding, handler);
      }
    }
    if (handler != null) {
      changeSource.addTabChangeListener(handler);
    }
    // TODO else LOG.warn?
    return (SKIP_BODY);
  }
View Full Code Here

    }
    if (handler != null) {
      if (valueBinding != null) {
        FacesUtils.addBindingOrExpressionTabChangeListener(changeSource, getTypeValue(), valueBinding);
      } else {
        changeSource.addTabChangeListener(handler);
      }
    }
    // TODO else LOG.warn?
    return (SKIP_BODY);
  }
View Full Code Here

          } else {
            FacesUtils.addBindingOrExpressionTabChangeListener(changeSource, type.getValue(),
                new LegacyValueBinding(valueExpression));
          }
        } else {
          changeSource.addTabChangeListener(listener);
        }
      }
    } else {
      throw new TagException(tag, "Parent is not of type TabChangeSource, type is: " + parent);
    }
View Full Code Here

        valueBinding.setValue(FacesContext.getCurrentInstance(), handler);
      }
    }
    if (handler != null) {
      if (valueBinding != null) {
        changeSource.addTabChangeListener(new TabChangeListenerValueBindingDelegate(type, valueBinding));
      } else {
        changeSource.addTabChangeListener(handler);
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.