Package org.apache.myfaces.tobago.internal.component

Examples of org.apache.myfaces.tobago.internal.component.AbstractUIForm


    Style style = new Style(facesContext, button);
    writer.writeStyleAttribute(style);
    HtmlRendererUtils.renderDojoDndItem(component, writer, true);
    writer.writeClassAttribute(Classes.create(button));
    if (((UIButton) component).isDefaultCommand()) {
      final AbstractUIForm form = ComponentUtils.findAncestor(component, AbstractUIForm.class);
      writer.writeAttribute(DataAttributes.DEFAULT, form.getClientId(facesContext), false);
    }
    writer.flush(); // force closing the start tag

    String image = (String) button.getAttributes().get(Attributes.IMAGE);
    if (image != null) {
View Full Code Here


  }

  public static boolean isInActiveForm(UIComponent component) {
    while (component != null) {
      if (component instanceof AbstractUIForm) {
        AbstractUIForm form = (AbstractUIForm) component;
        if (form.isSubmitted()) {
          return true;
        }
      }
      component = component.getParent();
    }
View Full Code Here

  }

  public static boolean isInActiveForm(UIComponent component) {
    while (component != null) {
      if (component instanceof AbstractUIForm) {
        AbstractUIForm form = (AbstractUIForm) component;
        if (form.isSubmitted()) {
          return true;
        }
      }
      component = component.getParent();
    }
View Full Code Here

    Style style = new Style(facesContext, button);
    writer.writeStyleAttribute(style);
    HtmlRendererUtils.renderDojoDndItem(component, writer, true);
    writer.writeClassAttribute(Classes.create(button));
    if (((UIButton) component).isDefaultCommand()) {
      final AbstractUIForm form = ComponentUtils.findAncestor(component, AbstractUIForm.class);
      writer.writeAttribute(DataAttributes.DEFAULT, form.getClientId(facesContext), false);
    }
    writer.flush(); // force closing the start tag

    String image = (String) button.getAttributes().get(Attributes.IMAGE);
    if (image != null) {
View Full Code Here

  }

  public static boolean isInActiveForm(UIComponent component) {
    while (component != null) {
      if (component instanceof AbstractUIForm) {
        AbstractUIForm form = (AbstractUIForm) component;
        if (form.isSubmitted()) {
          return true;
        }
      }
      component = component.getParent();
    }
View Full Code Here

  }

  public static boolean isInActiveForm(UIComponent component) {
    while (component != null) {
      if (component instanceof AbstractUIForm) {
        AbstractUIForm form = (AbstractUIForm) component;
        if (form.isSubmitted()) {
          return true;
        }
      }
      component = component.getParent();
    }
View Full Code Here

  }

  public static boolean isInActiveForm(UIComponent component) {
    while (component != null) {
      if (component instanceof AbstractUIForm) {
        final AbstractUIForm form = (AbstractUIForm) component;
        if (form.isSubmitted()) {
          return true;
        }
      }
      component = component.getParent();
    }
View Full Code Here

  }

  public static boolean isInActiveForm(UIComponent component) {
    while (component != null) {
      if (component instanceof AbstractUIForm) {
        final AbstractUIForm form = (AbstractUIForm) component;
        if (form.isSubmitted()) {
          return true;
        }
      }
      component = component.getParent();
    }
View Full Code Here

    final Style style = new Style(facesContext, button);
    writer.writeStyleAttribute(style);
    writer.writeClassAttribute(Classes.create(button));
    if (((UIButton) component).isDefaultCommand()) {
      final AbstractUIForm form = ComponentUtils.findAncestor(component, AbstractUIForm.class);
      writer.writeAttribute(DataAttributes.DEFAULT, form.getClientId(facesContext), false);
    }
    writer.flush(); // force closing the start tag

    String image = (String) button.getAttributes().get(Attributes.IMAGE);
    if (image != null) {
View Full Code Here

    final Style style = new Style(facesContext, button);
    writer.writeStyleAttribute(style);
    HtmlRendererUtils.renderDojoDndItem(component, writer, true);
    writer.writeClassAttribute(Classes.create(button));
    if (((UIButton) component).isDefaultCommand()) {
      final AbstractUIForm form = ComponentUtils.findAncestor(component, AbstractUIForm.class);
      writer.writeAttribute(DataAttributes.DEFAULT, form.getClientId(facesContext), false);
    }
    writer.flush(); // force closing the start tag

    String image = (String) button.getAttributes().get(Attributes.IMAGE);
    if (image != null) {
View Full Code Here

TOP

Related Classes of org.apache.myfaces.tobago.internal.component.AbstractUIForm

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.