wrt to it being fixed or not i do not know

wrt to adding a link - because of our 2.0 constructor refactor that method
will have to be changed to user a callback factory

ILinkFactory { Link createLink(MarkupContainer parent, String id) }

ImageMap.addRectangleLink(int, int, int, int, ILinkFactory)

i dont have a timeline, perhaps adding an rfe might speed things up, a patch
would speed them up even more :)

-igor

On 12/6/06, Stefan Lindner <[EMAIL PROTECTED]> wrote:

In the current trunk for WicketExamples I found

  // FIXME image map doesn't work anymore!
  // Image map link example

in file linkomatic\home.java.

Is this still true? Does ImageMap not work with current wicket 2? Is there
a timeline for fixing this?
If it should already work, I have another question?
When I want to add an AjaxFallbackLink to an ImageMap, I must do something
like

     ImageMap map = new ImageMap(this, "mapName");
     map.addRectangleLink(1,1, 100, 100, link);

But when I add the RectangleLink, the Link object must already be created.
So, what sould be the parent for this link? The ImageMap? And an
AjaxFallback Link needs an Id in it's constructor, so what is the ID for the
AjayFallbackLink?

     Link l = new AjaxFallbackLink(parent?, id?)

If the ImageMap does not work with Wicket 2, is there a workaround? Would
it be possible to make the map with html and place a link inside of the
<area> tags?

Stefan Lindner

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to