Frage

I need to create a non-modal popup dialog, which can be dragged and resized by the user. This example is great, but is a modal dialog. I don't want to block the user from scrolling the main web page. Is there any component built in to Wicket that I can use, or do I need to use a Javascript library such as YUI or Dojo?

War es hilfreich?

Lösung

I'm going to use jQwicket for this, which is a JQuery/Wicket integration library

It has a load of useful components, but the one I can use for this particular case is the DialogWebMarkupContainer component.

JQwicket gives me a fairly painless way of using Javascript, using the Java I know and love. That's as it should be :-)

Andere Tipps

I'm not entirely sure if I understand your concern with "blocking the user from scrolling the main web page" correctly, but maybe you should look into WiQuery - escpecially this example. These dialogs still let you interact with the underlying page.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top