[ 
https://issues.apache.org/jira/browse/ISIS-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andi Huber updated ISIS-1626:
-----------------------------
    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.

{code:title=SimpleObjectMenu.java|borderStyle=solid}
@Action(semantics = SemanticsOf.NON_IDEMPOTENT_ARE_YOU_SURE) 
public List<SimpleObject> test() {
        return simpleObjectRepository.listAll();
}
{code}

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


  was:
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.

{code:title=SimpleObjectMenu.java|borderStyle=solid}
@Action(semantics = SemanticsOf.NON_IDEMPOTENT_ARE_YOU_SURE) 
public List<SimpleObject> test() {
        return simpleObjectRepository.listAll();
}
{code}

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



> Confimation Dialog not shown on no-parameter Menu Actions
> ---------------------------------------------------------
>
>                 Key: ISIS-1626
>                 URL: https://issues.apache.org/jira/browse/ISIS-1626
>             Project: Isis
>          Issue Type: Bug
>          Components: Core: Viewer: Wicket
>    Affects Versions: 1.14.0
>            Reporter: Andi Huber
>             Fix For: 1.15.0
>
>
> 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.
> {code:title=SimpleObjectMenu.java|borderStyle=solid}
> @Action(semantics = SemanticsOf.NON_IDEMPOTENT_ARE_YOU_SURE) 
> public List<SimpleObject> test() {
>         return simpleObjectRepository.listAll();
> }
> {code}
> Steps to reproduce: 
> Take the simple-app artifact 1.14 and add the test snipped from above to the 
> SimpleObjectMenu.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to