Class JPortalCreateHandler

    • Constructor Detail

      • JPortalCreateHandler

        public JPortalCreateHandler()
    • Method Detail

      • getFormStepCount

        public int getFormStepCount()
        Description copied from class: JcmsFormHandler
        Retrieve the total number of steps used for edition when invoking this form handler.

        The default implementation of this method is to return 1, corresponding to one step (which means only 1 screen being displayed).

        You can provide a custom FormHandler to override this behavior.

        See jcore/doSteps.jspf for use of this method.

        Overrides:
        getFormStepCount in class JcmsFormHandler
        Returns:
        the total number of steps in this formhandler
      • validateFinish

        protected boolean validateFinish()
                                  throws java.io.IOException
        Overrides:
        validateFinish in class generated.EditJPortalHandler
        Throws:
        java.io.IOException
      • validateNext

        protected boolean validateNext()
                                throws java.io.IOException
        Overrides:
        validateNext in class generated.EditJPortalHandler
        Throws:
        java.io.IOException
      • showNextButton

        public boolean showNextButton()
        Description copied from class: JcmsFormHandler
        Check if the "Next" button should be displayed in step modal form.

        The default implementation of this method is to return true unless the finish button is being displayed by method JcmsFormHandler.showFinishButton().

        You can provide a custom FormHandler to override this behavior.

        See jcore/doStepButtons.jspf for use of this method.

        Overrides:
        showNextButton in class JcmsFormHandler
        Returns:
        true to display the "Next" button, false to hide it
      • getTemplate

        public java.lang.String getTemplate()
      • setTemplate

        public void setTemplate​(java.lang.String template)
      • getTemplateList

        public java.util.List<JPortalTemplate> getTemplateList()