Introduction

This is a ridiculously simple wicket-component, that should make it as easy as possible to use Lightbox within your wicket application. In fact it is a few lines only, and any decent wicket user can create this within 10 minutes. But wicket is all about reusable components, so let´s reuse them ;)

Usage is very simple: Just create a Lightbox2Panel and pass a List of image/thumbnail pairs to it. It will then create an unsorted List of thumbnails with lightbox-scripts attached.

Disclaimer

As i am neither an expert in Wicket programming, nor a lightbox-master, do not take this as an example of how things should be done in Wicket. I´m almost certain, there is a better/cleaner/easier way to do this, but this one does it for me. This implementation definately lacks features. If you´re missing something, contact me.

Feel free to send criticism, patches, or at least a link to some better component if you like to.