Package org.projectforge.web.wicket.components

Examples of org.projectforge.web.wicket.components.RequiredMaxLengthTextField


      }
    }
    {
      // Name
      final FieldsetPanel fs = gridBuilder.newFieldset(getString("fibu.kunde.name"));
      final RequiredMaxLengthTextField name = new RequiredMaxLengthTextField(InputPanel.WICKET_ID, new PropertyModel<String>(data, "name"));
      fs.add(name);
      if (isNew() == false) {
        WicketUtils.setFocus(name);
      }
    }
View Full Code Here


      fs.addCheckBox(new PropertyModel<Boolean>(data, "paid"), null);
    }
    {
      // Subject
      final FieldsetPanel fs = gridBuilder.newFieldset(getString("fibu.rechnung.betreff"));
      final RequiredMaxLengthTextField subject = new RequiredMaxLengthTextField(fs.getTextFieldId(), new PropertyModel<String>(data,
          "subject"));
      fs.add(subject);
    }
    {
      // Text comment
View Full Code Here

    ajaxTargets = new HashSet<Component>();

    gridBuilder.newSplitPanel(GridSize.COL50, GridType.CONTAINER);
    // Title of skill
    FieldsetPanel fs = gridBuilder.newFieldset(SkillDO.class, "title");
    final RequiredMaxLengthTextField titleField = new RequiredMaxLengthTextField(fs.getTextFieldId(), new PropertyModel<String>(data,
        "title"));
    fs.add(titleField);
    WicketUtils.setFocus(titleField);

    gridBuilder.newSplitPanel(GridSize.COL50, GridType.CONTAINER);
View Full Code Here

TOP

Related Classes of org.projectforge.web.wicket.components.RequiredMaxLengthTextField

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.