Annotation Interface Controller


@Retention(RUNTIME) @Inherited @Target(TYPE) @Documented public @interface Controller
Controller annotation to define XPage default parameters
  • Element Details

    • controllerJsp

      String controllerJsp
      The XPage name as it is called in the URL
      Returns:
      the controller jsp
    • controllerPath

      String controllerPath
      Path of the controller JSP
      Returns:
      the controller path
    • right

      String right
      The right associated to the JSP
      Returns:
      the right
    • pageTitleProperty

      String pageTitleProperty
      The default page title property
      Returns:
      the property for the page title
      Default:
      ""
    • pageTitleI18nKey

      String pageTitleI18nKey
      The default page title i18n key
      Returns:
      the i18n key for the page title
      Default:
      ""
    • pagePathI18nKey

      String pagePathI18nKey
      The default page path property
      Returns:
      the i18n key for the page path
      Default:
      ""
    • securityTokenEnabled

      boolean securityTokenEnabled
      Enables the security token automatic processing (generation and validation)
      Returns:
      True if this controller security token is handled by the automatic process.
      Default:
      false