Package org.apache.wicket.markup.html.form

Examples of org.apache.wicket.markup.html.form.LabeledWebMarkupContainer


      this.label.add(AttributeModifier.replace("for", ((ComponentWrapperPanel) component).getComponentOutputId()));
      labelFor = true;
    }
    for (final Component comp : components) {
      if (comp instanceof LabeledWebMarkupContainer) {
        final LabeledWebMarkupContainer labeledComponent = (LabeledWebMarkupContainer) comp;
        if (labeledComponent.getLabel() == null) {
          labeledComponent.setLabel(new Model<String>(labelText));
        }
      } else if (component instanceof ComponentWrapperPanel) {
        final FormComponent<?> formComponent = ((ComponentWrapperPanel)component).getFormComponent();
        if (formComponent != null && formComponent.getLabel() == null) {
          formComponent.setLabel(new Model<String>(labelText));
View Full Code Here

TOP

Related Classes of org.apache.wicket.markup.html.form.LabeledWebMarkupContainer

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.