Package it.cilea.osd.jdyna.web

Examples of it.cilea.osd.jdyna.web.Box


 
 
  @Override
  public void validate(Object object, Errors errors) {

    Box metadato = (Box) object;

    // lo shortname non puo' essere vuoto

    String shortName = metadato.getShortName();
    if(shortName!=null && shortName.startsWith("edit")) {
      errors.rejectValue("shortName",
      "error.message.validation.shortname.pattern.nostartedit");
    }
    // validazione shortname...deve essere unico e non nullo e formato solo da caratteri
View Full Code Here

TOP

Related Classes of it.cilea.osd.jdyna.web.Box

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.