Andrew Fielden
Andrew Fielden

Reputation: 3899

Wicket 1.5 Non modal window

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?

Upvotes: 2

Views: 698

Answers (2)

Andrew Fielden
Andrew Fielden

Reputation: 3899

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 :-)

Upvotes: 1

DerMiggel
DerMiggel

Reputation: 493

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.

Upvotes: 0

Related Questions