I've posted about this issue on the users mailinglist a couple of days ago, and I've got a fixed version of the ImageMap ready now. Unlike the existing ImageMap, my new one works together with an Image, so you can easily have a dynamic image
corresponding to your dynamic ImageMap.

One problem: it breaks compatibility with the old ImageMap, because it's attached to the <map> tag instead of the <img> tag and requires a <map> tag in the markup. I think this is a better approach than the old way, but for people already using the
old ImageMap, such a break in compatibility may be a problem. So what to do?

Options:
1: Add the new ImageMap under a different class name (but which?)
2: Replace the old ImageMap with the new one anyway
3: Replace the old ImageMap with the new one starting with Wicket 2.0

Personally I don't quite see the use of the old ImageMap (it looks like it can't work together with a dynamic Image, but I could be wrong), but I'm pretty new to Wicket,
so I could easily be overlooking some other way of dealing with Images.

Reply via email to