Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5872

Quarkus Dev UI: Enhance Form Displayer APIS to enable using it in TaskInbox

XMLWordPrintable

    • False
    • False
    • 2021 Week 37-39 (from Sep 13), 2021 Week 40-42 (from Oct 4), 2021 Week 43-45 (from Oct 25)

      FormDisplayer should be embedded inWe need to Improve the FormDisplayer component APIS to allow embedding it in the comunication with the channel and the JS api in the embedded Form.

       

      FormDisplayerApi should expose following methods:

      • init(data, ctx): initializes the component with the given data (task data or empty object) and context containing information about the current task, the schema, current user... It should initialize the inner
      • submitForm(args): triggers the submit lifecycle in the form:
        • calls beforeSubmit() in the rendered form. If that's successfull does the form submission and calls afterSubmit() in the embedded form js api. If the before submit throws error, it skips the submit.

       

              rh-ee-pefernan Pere Fernandez Perez
              rh-ee-pefernan Pere Fernandez Perez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: