Annotation Type WebComponentController


  • @Inherited
    @Documented
    @Target(TYPE)
    @Retention(RUNTIME)
    public @interface WebComponentController
    Annotation to identify a class as a web component controller. A web component controller is the main entry of the Silverpeas component's Web GUI and it takes in charge of the Web requests and of the Web navigation.
    Author:
    Yohann Chastagnier
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value
      Gets the web component controller bean identifier.
    • Element Detail

      • value

        String value
        Gets the web component controller bean identifier. This identifier will be put into each requests to a resource managed by the component. The identifier is used both to check the identifier of the targeted application instance and as the base folder of the web pages (JSPs). For example: for an Almanach application instance, returns "almanach" and the identifier of the almanach applications have to be prefixed by "almanach" and the JSP have to be located into the folder almanach/jsp.
        Returns:
        the web component identifier.