Package play.utils.meta.form

Examples of play.utils.meta.form.TextAreaWidget


   
    if (CharSequence.class.isAssignableFrom(getField().getType())) {
      widget = new TextWidget(this);
      MaxLength maxLength = annotation(MaxLength.class);
      if (maxLength != null && maxLength.value() > 128)
        widget = new TextAreaWidget(this);

      Column column = annotation(Column.class);
      if (column != null && column.length() > 128)
        widget = new TextAreaWidget(this);
    }

    if (Number.class.isAssignableFrom(getField().getType()) || getField().getType().equals(double.class)
        || getField().getType().equals(int.class) || getField().getType().equals(long.class)) {
      widget = new NumberWidget(this);
View Full Code Here

TOP

Related Classes of play.utils.meta.form.TextAreaWidget

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.