Class ViewComponent

  • All Implemented Interfaces:

    public class ViewComponent
    extends BaseComponent
    Reads the view and generates it.
    • Constructor Detail

      • ViewComponent

        public ViewComponent()
    • 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
      • generateWindow

        protected String generateWindow​(Window window)
      • generateView

        protected String generateView​(String viewName)
      • generateProcess

        protected String generateProcess​(Process process)
      • generateAttachment

        protected String generateAttachment​(String viewId)
      • correctViewId

        protected String correctViewId​(String viewId)
      • 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