[
https://issues.apache.org/jira/browse/ISIS-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14661520#comment-14661520
]
Martin Grigorov commented on ISIS-1007:
---------------------------------------
The feature is implemented.
It depends on non-released version of Wicket Bootstrap (0.9.12-SNAPSHOT) so it
is not ready to merge. I guess you will want it for Isis 1.11.0. Let me know if
you need 0.9.12 sooner.
What's left to be done is to add i18n support for the confirmation dialog.
I suggest to use Isis i18n functionality, e.g.:
- com.example.MyDomainObject.someAction.confirmationTitle - this i18n entry
should be used for the title, which is "Are you sure?" by default
- com.example.MyDomainObject.someAction.confirmationOk - this i18n entry should
be used for the confirming button, which is "OK" by default
- com.example.MyDomainObject.someAction.confirmationCancel - this i18n entry
should be used for the rejecting button, which is "Cancel" by default
> Provide support for "are you sure" idiom, eg using a @AreYouSure annotation
> on the action
> -----------------------------------------------------------------------------------------
>
> Key: ISIS-1007
> URL: https://issues.apache.org/jira/browse/ISIS-1007
> Project: Isis
> Issue Type: New Feature
> Components: Core, Core: Viewer: Wicket
> Affects Versions: viewer-wicket-1.7.0, core-1.7.0
> Reporter: Dan Haywood
> Assignee: Martin Grigorov
> Priority: Minor
> Fix For: 1.11.0
>
>
> ... or (post ISIS-970 using @Action(areYouSure=true)
> (Instead of @AreYouSure, another name might be @Dangerous or
> @Action(dangerous=true)).
> To include the "are you sure" checkbox (or other equivalent UI mechanism),
> plus also the styling of the action's button, eg make it red and with a
> suitable icon.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)