Annotation Type RedirectToInternal


  • @Inherited
    @Documented
    @Target(METHOD)
    @Retention(RUNTIME)
    public @interface RedirectToInternal
    Annotation to specify to which resource, in the current component, the control will be passed once the treatment of the annotated method succeeded. For example: @RedirectToInternal("Main") will redirect to the component's home page.

    Author:
    Yohann Chastagnier
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value
      The destination path of the resource internal to the current Silverpeas component.
    • Element Detail

      • value

        String value
        The destination path of the resource internal to the current Silverpeas component. Prefix of the path is automatically handled by the router.
        Returns:
        the destination path.