Class FormPopupHelper


  • public final class FormPopupHelper
    extends java.lang.Object
    Helper for opening a mask/form as popup.
    Since:
    7.5
    Author:
    art
    • Method Detail

      • openIndexForm

        public static IntelligentFormPopupWindow openIndexForm​(java.lang.String formName)
        Opens a form popup window in default mode with the given form.
        Parameters:
        formName - name of the form, which should be opened
        Returns:
        form popup window
      • openIndexForm

        public static IntelligentFormPopupWindow openIndexForm​(java.lang.String formName,
                                                               java.lang.String popupTitle)
        Opens a form popup window in default mode with the given form.
        Parameters:
        formName - name of the form, which should be opened
        popupTitle - title of the form popup window
        Returns:
        form popup window
      • openIndexForm

        public static IntelligentFormPopupWindow openIndexForm​(java.lang.String formName,
                                                               java.lang.String popupTitle,
                                                               boolean readOnly)
        Opens a form popup window in default mode with the given form.
        Parameters:
        formName - name of the form, which should be opened
        popupTitle - title of the form popup window
        readOnly - value for read only parameter
        Returns:
        form popup window
      • openNewItemForm

        public static IntelligentFormPopupWindow openNewItemForm​(java.lang.String formName,
                                                                 java.lang.String ddcName)
        Opens a form popup window in index mode for new documents with the given form.
        Parameters:
        formName - name of the form, which should be opened
        ddcName - name of the definition for the new documents
        Returns:
        form popup window
      • openNewItemForm

        public static IntelligentFormPopupWindow openNewItemForm​(java.lang.String formName,
                                                                 java.lang.String ddcName,
                                                                 java.lang.String popupTitle)
        Opens a form popup window in index mode for new documents with the given form.
        Parameters:
        formName - name of the form, which should be opened
        ddcName - name of the definition for the new documents
        popupTitle - title of the form popup window
        Returns:
        form popup window
      • openEditForm

        public static IntelligentFormPopupWindow openEditForm​(java.lang.String formName,
                                                              DocumentId docId)
        Opens a form popup window in index mode for editing existing documents with the given form.
        Parameters:
        formName - name of the form, which should be opened
        docId - document id of the document to edit
        Returns:
        form popup window
      • openEditForm

        public static IntelligentFormPopupWindow openEditForm​(java.lang.String formName,
                                                              DocumentId docId,
                                                              java.lang.String popupTitle)
        Opens a form popup window in index mode for editing existing documents with the given form.
        Parameters:
        formName - name of the form, which should be opened
        docId - document id of the document to edit
        popupTitle - title of the form popup window
        Returns:
        form popup window
      • openQueryForm

        public static IntelligentFormPopupWindow openQueryForm​(java.lang.String formName)
        Opens a form popup window in query mode with the given form.
        Parameters:
        formName - name of the form, which should be opened
        Returns:
        form popup window
      • openQueryForm

        public static IntelligentFormPopupWindow openQueryForm​(java.lang.String formName,
                                                               java.lang.String popupTitle)
        Opens a form popup window in query mode with the given form.
        Parameters:
        formName - name of the form, which should be opened
        popupTitle - title of the form popup window
        Returns:
        form popup window