Package org.apache.wicket.core.request.mapper

Examples of org.apache.wicket.core.request.mapper.PackageMapper


    mountedPath = mountPath;
    mountedSegments = getMountSegments(mountedPath);

    PackageName pkgNameObj = PackageName.forClass(homePage);
    packageName = pkgNameObj.getName();
    mountedMapper = new PackageMapper(packageName, pkgNameObj);
  }
View Full Code Here


   * @param pageClass
   *            the page class to be mounted
   */
  public final <P extends Page> void mountPackage(final String path, final Class<P> pageClass)
  {
    PackageMapper packageMapper = new PackageMapper(PackageName.forClass(pageClass));
    MountMapper mountMapper = new MountMapper(path, packageMapper);
    mount(mountMapper);
  }
View Full Code Here

   * @param pageClass
   *            the page class to be mounted
   */
  public final <P extends Page> void mountPackage(final String path, final Class<P> pageClass)
  {
    PackageMapper packageMapper = new PackageMapper(PackageName.forClass(pageClass));
    MountMapper mountMapper = new MountMapper(path, packageMapper);
    mount(mountMapper);
  }
View Full Code Here

        public void mount(WebApplication application) {
            if (this.clazz != null) {
                mountPage(application);
            }else if (this.packageName != null){
                application.mount(new MountMapper(mountPoint, new PackageMapper(packageName)));
            }
        }
View Full Code Here

TOP

Related Classes of org.apache.wicket.core.request.mapper.PackageMapper

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.