Package org.projectforge.web.wicket.flowlayout

Examples of org.projectforge.web.wicket.flowlayout.TextAreaPanel


        } else if (param.isMultiline() == true) {
          int maxLength = param.getMaxLength();
          if (maxLength <= 0 || UserPrefEntryDO.MAX_STRING_VALUE_LENGTH < maxLength) {
            maxLength = UserPrefEntryDO.MAX_STRING_VALUE_LENGTH;
          }
          fs.add(new TextAreaPanel(fs.newChildId(), new MaxLengthTextArea(TextAreaPanel.WICKET_ID,
              new PropertyModel<String>(param, "value"), maxLength)));
        } else if (I18nEnum.class.isAssignableFrom(param.getType()) == true) {
          final LabelValueChoiceRenderer<I18nEnum> choiceRenderer = new LabelValueChoiceRenderer<I18nEnum>(this, (I18nEnum[]) param
              .getType().getEnumConstants());
          final DropDownChoice<I18nEnum> choice = new DropDownChoice<I18nEnum>(fs.getDropDownChoiceId(),
View Full Code Here


        {
          final FieldsetPanel fs = gridBuilder.newFieldset(ToDoDO.class, "comment");
          closeToDoDialogCommentTextArea = new MaxLengthTextArea(TextAreaPanel.WICKET_ID, new PropertyModel<String>(data, "comment"),
              commentTextArea.getMaxLength());
          closeToDoDialogCommentTextArea.setOutputMarkupId(true).add(AttributeModifier.replace("tabindex", "-1"));
          fs.add(new TextAreaPanel(fs.newChildId(), closeToDoDialogCommentTextArea));
          WicketUtils.setHeight(closeToDoDialogCommentTextArea, 20);
        }
      }

      /**
 
View Full Code Here

TOP

Related Classes of org.projectforge.web.wicket.flowlayout.TextAreaPanel

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.