Class TemplateInitialisationHandler

    • Field Detail

      • htmlAttributes

        protected java.lang.String htmlAttributes
    • Constructor Detail

      • TemplateInitialisationHandler

        public TemplateInitialisationHandler()
    • Method Detail

      • processAction

        public boolean processAction()
                              throws java.io.IOException
        Description copied from class: JcmsFormHandler
        Method to be implemented to check/validate action to be performed and process them.

        Default implementation is to return false. No need to call super method.

        This method may NOT be invoked at all if security validation are not met.

        You must ensure your handler and JSP can work properly without any code invoked in this method.

        Overrides:
        processAction in class JcmsFormHandler
        Returns:
        false if no redirection is needed, true otherwise
        Throws:
        java.io.IOException - IO Exception
      • init

        protected void init()
        Description copied from class: JcmsFormHandler
        Method to implement if you need to initialize your handler from parameter received, prior to all security validation.

        You must absolutely not perform any action which modify data or site configuration.

        Therefore it is strongly recommend NOT TO implement this method, or use very wisely.

        Overrides:
        init in class JcmsFormHandler
      • isMediaURL

        public boolean isMediaURL()
      • getMediaPath

        public java.lang.String getMediaPath()
      • getMaxWidth

        public int getMaxWidth()
      • getMaxHeight

        public int getMaxHeight()
      • getHtmlAttributes

        public java.lang.String getHtmlAttributes()
      • getCss

        public java.lang.String getCss()
      • getMediaDescription

        public java.lang.String getMediaDescription()
      • getUrl

        public java.lang.String getUrl()