Interface AutoCompletionService

  • public interface AutoCompletionService
    Service for autocompleting javascript expressions that are used within the context of a form.
    • Method Detail

      • autoComplete

        List<AutoCompletionResult> autoComplete​(Object scope,
                                                String value,
                                                int cursor)
        Attempts to autocomplete a JavaScript expression with variables found in the form scope.
        scope - the Object where the expression resides. This is either a BasicFormFragment, BasicFormFragmentContainer, a BasicFormStep or a BasicFormVersion
        value - the javascript expression to autocomplete
        cursor - the position of the cursor within the value; the autocompletion will start at this point
        a list of possible auto completion results