1

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.

Pops
  • 30,199
  • 37
  • 136
  • 151
Tapas Bose
  • 28,796
  • 74
  • 215
  • 331

2 Answers2

3

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.

Pops
  • 30,199
  • 37
  • 136
  • 151
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.

Thomas
  • 2,231
  • 1
  • 19
  • 27