Great news! :)
I've been able to create a panel that can render a collection of entities
that implemet my floor plan's locatable interface on a dynamic image
with an an attached corresponding image map..
The first implementation just draws a circle on the location, and the
image map has a link definition at the same place (i.e. you can click
on the circle).
viz:
imageMap.addCircleArea(link, location.getX(), location.getY(), 10);
However! Here's the question:
Given that I am am iterating through the collected adapters, how do I
generate a link URL that can be used to load that entity?
I'm basically looking for the body of this method:
AbstractLink clickableLinkFor(int i, ObjectAdapter adapter) {
...
}
where "i" is just used to increment the link ID, and might not be need.
Any suggestions? I tried looking into how regular Isis wicket
components do it, and I got a bit lost (it's also late! Maybe I missed
something obvious).
Thanks,
Kevin