简体   繁体   中英

How to build my own ConfirmAjaxButton in Apache Wicket?

I need to modify com.googlecode.wicket.jquery.ui.form.button.ConfirmAjaxButton to first check if the form was modified by the user. So I copied the code into

BlockingCloseButton

But when using it in a form, I get the exception

Last cause: Failed to find markup file associated. BlockingCloseButton: [BlockingCloseButton [Component id = closeButton]]

How can I solve this? I haven't found a markup file for ConfirmAjaxButton.

I have found the markup file in

wicket-jquery-ui-7.1.0-javadoc.jar : com/googlecode/wicket/jquery/ui/form/button/ConfirmAjaxButton.html

Thanks to the nice tool by Igor Polevoy

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM