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

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


  public SystemMapper(final Application application)
  {
    this.application = application;
    add(new PageInstanceMapper());
    add(new BookmarkableMapper());
    add(new HomePageMapper(new HomePageProvider(application)));
    add(new ResourceReferenceMapper(new PageParametersEncoder(),
      new ParentFolderPlaceholderProvider(application), getResourceCachingStrategy()));
    add(RestartResponseAtInterceptPageException.MAPPER);
    add(new BufferedResponseMapper());
  }
View Full Code Here


   
    super.init();
   
    mountPage("signin", getSignInPageClass());

    getRootRequestMapperAsCompound().add(new HomePageMapper(getHomePage()) {
      @Override
      protected void encodePageComponentInfo(Url url, PageComponentInfo info) {
        //Does nothing
      }
     
View Full Code Here

  public SystemMapper(final Application application)
  {
    this.application = application;
    add(new PageInstanceMapper());
    add(new BookmarkableMapper());
    add(new HomePageMapper(new HomePageProvider(application)));
    add(new ResourceReferenceMapper(new PageParametersEncoder(),
      new ParentFolderPlaceholderProvider(application), getResourceCachingStrategy()));
    add(new UrlResourceReferenceMapper());
    add(RestartResponseAtInterceptPageException.MAPPER);
    add(new BufferedResponseMapper());
View Full Code Here

  public SystemMapper(final Application application)
  {
    this.application = application;
    add(new PageInstanceMapper());
    add(new BookmarkableMapper());
    add(new HomePageMapper(new HomePageProvider<Page>(application)));
    add(new ResourceReferenceMapper(new PageParametersEncoder(),
      new ParentFolderPlaceholderProvider(application), getResourceCachingStrategy()));
    add(RestartResponseAtInterceptPageException.MAPPER);
    add(new BufferedResponseMapper());
  }
View Full Code Here

   */
  public IRequestMapper getRequestMapper(String mountPath,
  Class<? extends IRequestablePage> pageClass)
  {
    if ("/".equals(mountPath)) {
      return new HomePageMapper(pageClass);
    }
    return new MountedMapper(mountPath, pageClass);
  }
View Full Code Here

TOP

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

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.