Class CmsTwoListsDialog

    • Method Detail

      • defaultActionHtml

        protected java.lang.String defaultActionHtml()
        Generates the dialog starting html code.

        Returns:
        html code
      • defaultActionHtmlContent

        protected java.lang.String defaultActionHtmlContent()
        Returns the html code for the default action content.

        Returns:
        html code
      • defaultActionHtmlEnd

        protected java.lang.String defaultActionHtmlEnd()
        Generates the dialog ending html code.

        Returns:
        html code
      • defaultActionHtmlStart

        protected java.lang.String defaultActionHtmlStart()
        Generates the dialog starting html code.

        Returns:
        html code
      • displayDialog

        public void displayDialog()
                           throws javax.servlet.jsp.JspException,
                                  java.io.IOException,
                                  javax.servlet.ServletException
        Display method for two list dialogs.

        Throws:
        javax.servlet.jsp.JspException - if dialog actions fail
        java.io.IOException - if writing to the JSP out fails, or in case of errors forwarding to the required result page
        javax.servlet.ServletException - in case of errors forwarding to the required result page
      • writeDialog

        public void writeDialog()
                         throws java.io.IOException
        Writes the dialog html code, only if the CmsDialog.ACTION_DEFAULT is set.

        Throws:
        java.io.IOException - if writing to the JSP out fails, or in case of errors forwarding to the required result page
      • displayDialog

        public void displayDialog​(boolean writeLater)
                           throws javax.servlet.jsp.JspException,
                                  java.io.IOException,
                                  javax.servlet.ServletException
        Display method for two list dialogs, executes actions, but only displays if needed.

        Parameters:
        writeLater - if true no output is written, you have to call manually the defaultActionHtml() method.
        Throws:
        javax.servlet.jsp.JspException - if dialog actions fail
        java.io.IOException - if writing to the JSP out fails, or in case of errors forwarding to the required result page
        javax.servlet.ServletException - in case of errors forwarding to the required result page
      • getActiveWp

        public A_CmsListDialog getActiveWp()
        Returns the workplace instance of the active list.

        Returns:
        the workplace instance of the active list
      • getFirstWp

        public A_CmsListDialog getFirstWp()
        Returns the workplace instance of the first list.

        Returns:
        the workplace instance of the first list
      • getPassiveWp

        public A_CmsListDialog getPassiveWp()
        Returns the workplace instance of the passive list.

        Returns:
        the workplace instance of the passive list
      • getSecondWp

        public A_CmsListDialog getSecondWp()
        Returns the workplace instance of the second list.

        Returns:
        the workplace instance of the second list