Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1626

Confirmation Dialog not shown on no-parameter Menu Actions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.14.0
    • 1.15.0
    • Viewer Wicket
    • None

    Description

      No-Parameter Menu Actions annotated with any of the 'ARE_YOU_SURE' semantics will not produce the expected confirmation dialog when you click on the corresponding menu item.

      SimpleObjectMenu.java
      @Action(semantics = SemanticsOf.NON_IDEMPOTENT_ARE_YOU_SURE) 
      public List<SimpleObject> test() {
              return simpleObjectRepository.listAll();
      }
      

      Steps to reproduce:
      Take the simple-app artifact 1.14 and add the test snipped from above to the SimpleObjectMenu.

      Attachments

        Activity

          People

            danhaywood Daniel Keir Haywood
            hobrom Andi Huber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: