ModalX for Wicket
 Previous: Blog and Feedback  Next: Class Diagram

ModalX for Wicket

ModalX stands for "Modal eXtensions".

Wicket is one of the best Java User Interface frameworks available. We've been using it since 2006 and have never looked back.

The Wicketstuff library is designed to be a collections of enhancements that extend the Wicket framework with useful 'add ons'. ModalX is now part of the Wicketstuff library and is open source, released under the same Apache license.

ModalX is a small, elegant set of classes arranged in such a way that makes the creation and use of Modal Forms and Message Boxes in wicket just as easy as it was in the good old days of desktop development using MFC, OWL or Swing. Back in those days all you needed to do was derive from a ModalWindow class, add your 'extra' bits then simply instantiate the modal window and voila!

Please read on to discover what ModalX is, why it exists, play with a live demo and download it:

DateTimeField issue under IE

Under IE if a DateTimeField is used within a ModalX form there can be issues with its operation. It works fine on virtually every other browser. The Wicket devs have said that, to work under IE, the ModalWindow itself needs be contained within a Form. The ModalX ModalFormContent class contains its own form so this would represent a 'form within a form' which is totally ok for Wicket. We just haven't yet attempted to try this refactor on the ModalX framework yet. If someone else spends some time on this please send us the patches and we'll incorporate it into the next ModalX release.

 ModalX for Wicket
 Previous: Blog and Feedback  Next: Class Diagram