Hi Dan, Jeroen, I remember we have discussed functionality for the Wicket Viewer to provide a "Are you sure?" button/link for important/dangerous actions. For example for delete actions. Currently this is worked around with an extra boolean property, i.e. the user has to check the "Yes, I want to delete" checkbox to be able to delete an entity.
Could something like http://mistic100.github.io/Bootstrap-Confirmation/ do the job? I.e. clicking on such "dangerous" link will show the popup asking for confirmation and then the user will have to click the "Confirm" button to proceed. In Isis we could add @Action(needsConfirmation=boolean) and if it is 'true' then the extra behavior will be added to the link/button. For the labels of the Confirm/Cancel buttons I think it would be better to use Wicket/Isis I18N to not pollute the @Action annotation with extra attributes. Martin Grigorov Freelancer. Available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov
