Package play.utils.meta.form

Examples of play.utils.meta.form.TextWidget


    if (annotation(Required.class) != null) {
      required = true;
    }
   
    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);
View Full Code Here

TOP

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

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.