How can I make a Wicket modal window un-draggable?

廉价感情. 提交于 2020-01-25 06:58:08

问题


I am using a Wicket modal window in my application. Is there any way to make it un-draggable? Any information will be very helpful to me. Thank you.


回答1:


Unfortunately, there is no support for this, at least out of the box. It is possible to prevent the user from resizing the window, but draggability is not affected by that.

Full Javadoc for ModalWindow in version 1.4.7 is here.




回答2:


As explained by Lord Torgamus, the standard ModalWindow can not be made un-draggable.

As an alternative, however, you could use the wiquery dialog. It offers the same confiuration options as the JQuery UI Dialog. Among other things, you can control draggability.



来源:https://stackoverflow.com/questions/4932232/how-can-i-make-a-wicket-modal-window-un-draggable

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!