Class SessionDynamicResourceComponent

  • All Implemented Interfaces:

    public class SessionDynamicResourceComponent
    extends BaseComponent
    This class generates other components called session dynamic resources. This kind of resources are loaded before the javascript content used in the application and they are provided by those classes extending the SessionDynamicTemplateComponent class.
    • Constructor Detail

      • SessionDynamicResourceComponent

        public SessionDynamicResourceComponent()
    • Method Detail

      • generate

        public String generate()
        Description copied from interface: Component
        Generates the content of the component which is sent to the client for execution/rendering.
        Specified by:
        generate in interface Component
        Specified by:
        generate in class BaseComponent
        the generated javascript which is send back to the client
      • getETag

        public String getETag()
        Description copied from interface: Component
        An ETag is a hash-like string which is used to determine if content has changed since the last request for the content. See this link for more information. Note for language specific components the etag has to encode the language (id) also! See ( OBContext.getLanguage()) to get the current language.
        Specified by:
        getETag in interface Component
        getETag in class BaseComponent
        a unique hash for the content generated