You might want to try my ClientSideImageMap class:
https://issues.apache.org/jira/browse/WICKET-1936

<https://issues.apache.org/jira/browse/WICKET-1936>It's a bit more flexible
than the existing implementation (and it'll support what you're wanting to
do).  The existing client side image map just grabs the URL off the link.
 It doesn't "attach" the link to the area of the map.  ClientSideImageMap
takes advantage of the fact that you can attach a Link object to any markup
element.

On Wed, Jun 17, 2009 at 4:59 AM, Frank Prins <[email protected]>wrote:

> Hi There All!
>
>
>
> Working with Wicket for a while now, and really starting to get hooked,
> great stuff!
>
> I am working on a user interface for an application, and ran into a
> (minor) thing, I hope someone can shine a light on this.
>
>
>
> In a shortcut menu, I am using an imagemap with a couple of links in it,
> and I am wondering if it is possible to create some ALT tags for mouse
> over actions, one for each link The links in the Imagemap look this this
> (simplified for readability):
>
>
>
> imageMap.addPolygonLink(new int[] {123,123), new
> BookmarkablePageLink("Support", SupportHomePage.class);
>
>
>
> So I tried to create a SimpleAttributeModifier on both the PolygonLink
> and BookmarkablePageLink, but unfortunately none of them worked.
>
> Did I miss something here, or is there just no possibility?
>
>
>
> thanks in advance!
>
>
>
> Frank Prins
>
>

Reply via email to