Examples of MountPath


Examples of jp.javelindev.wicket.parameter.bind.MountPath

    }

    private void setupMountPoint(MountPoint mountPoint, Collection<? extends PathInfo> paths) {
        for (PathInfo info : paths) {
            Path path = info.path;
            MountPath mountPath = new MountPath(info.pageClassName, path.value(), path.isHybrid());
            mountPoint.addPath(mountPath);
        }
    }
View Full Code Here

Examples of org.wicketstuff.annotation.mount.MountPath

   * @param pageClass
   * @param list
   */
  private void scanClass(Class<? extends Page> pageClass, AnnotatedMountList list)
  {
    MountPath mountPath = pageClass.getAnnotation(MountPath.class);
    if (mountPath == null)
      return;

    String path = mountPath.value();

    // default if no explicit path is provided
    if ("".equals(path))
    {
      path = getDefaultMountPath(pageClass);
    }

    list.add(getRequestMapper(path, pageClass));

    // alternates
    for (String alt : mountPath.alt())
    {
      list.add(getRequestMapper(alt, pageClass));
    }
  }
View Full Code Here

Examples of org.wicketstuff.wicket.mount.core.annotation.MountPath

    }

    final Class<? extends WebPage> authPage = getSignInPageClass();
    if (authPage != null)
    {
      final MountPath mp = authPage.getAnnotation(MountPath.class);
      if (mp == null)
      {
        final SecureAutoMount annot = getClass().getAnnotation(SecureAutoMount.class);
        String root = annot.defaultRoot().trim();
        if (!root.isEmpty() && !root.endsWith("/"))
View Full Code Here

Examples of org.wicketstuff.wicket.mount.core.annotation.MountPath

          final AuthorizeInstantiation mp = elem.getAnnotation(AuthorizeInstantiation.class);
          processMountPoint(context, elem, mp);
        }
        for (Element elem : roundEnv.getElementsAnnotatedWith(MountPath.class))
        {
          final MountPath mp = elem.getAnnotation(MountPath.class);
          processMountPoint(context, elem, mp);
        }

        generateSource(context);
      }
View Full Code Here

Examples of org.wicketstuff.wicket.mount.core.annotation.MountPath

          continue;
        }

        for (Element elem : roundEnv.getElementsAnnotatedWith(MountPath.class))
        {
          final MountPath mp = elem.getAnnotation(MountPath.class);
          processMountPoint(context, elem, mp);
        }

        generateSource(context);
      }
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.