Class FormPopupHelper

java.lang.Object
com.saperion.ngc.scripthelper.FormPopupHelper

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

    • openIndexForm

      public static IntelligentFormPopupWindow openIndexForm(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(String formName, 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(String formName, 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(String formName, 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(String formName, String ddcName, 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(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(String formName, DocumentId docId, 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(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(String formName, 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