Package org.wicketstuff.wicket.mount.annotation

Examples of org.wicketstuff.wicket.mount.annotation.AutoMount.defaultRoot()


  protected String getDefaultRootPath(AutoMountContext context, TypeElement elem)
  {
    AutoMount annotation = context.getAppAnnotation(AutoMount.class);
    if (annotation != null)
    {
      return annotation.defaultRoot().replaceAll("^/+|/+$", "");
    }
    return "";
  }

  @Override
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.