Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-2367

Configuring delete action

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Neutral Neutral
    • None
    • None
    • None

      I just was tryting to make a 'delete' action. The documentation is very unhelpful..

      It seems that this is what I'm having to be satisified with:

      'deleteNodesConfirmationActionDefinition

      deleteNodesConfirmationAction

      Opens a dialog to confirm deleting an item.
      '

      Confirming is nice, but actually I find in more important that the thing gets deleted. Which is doesn't.

      It seems that there must be defined an 'successname'.

        if (getDefinition().getSuccessActionName() != null) {
                                      actionExecutionService.executeAction(getDefinition().getSuccessActionName(), valueContext.current().nullableValue());
                                  }
      

      I don't know how to accomplish that.

      'deleteNodesConfirmationActionDefinition' is clickable, but goes to nexus, which doesn't help at all.

        Acceptance criteria

              mdrapela Martin DrĂ¡pela
              mihxil Michiel Meeuwissen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: