On Sun, May 28, 2023 at 12:27 PM smallufo <[email protected]> wrote:
> I found that all my ModalWindow cannot compile because ModalWindow is > removed. > Is there any reason for this? > And it seems there is a modelDialog ( to replace ModalWindow ?) , > https://github.com/apache/wicket/blob/wicket-9.x/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow.java#L126 ModalWindow has been deprecated in 9.x and removed in 10.x The migration guide also mentions it - https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+9.0#MigrationtoWicket9.0-DeprecateModalWindowfromwicket-extensionASFJIRAkey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution5aa69414-a9e9-3523-82ec-879b028fb15bWICKET-6666 But there is no really a guide how to replace ModalWindow with ModalDialog. The best is to check the demo pages: https://github.com/apache/wicket/tree/wicket-9.x/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal > but it doesn't accept model object. > Any migration guide ? thanks. > [image: 截圖 2023-05-28 17.22.43.png] >
