[Seaside] [vw]Image map revisited

Philippe Marschall philippe.marschall at gmail.com
Fri Jul 6 18:05:02 UTC 2007

2007/7/6, Carl Gundel <carlg at libertybasic.com>:
> When I asked about how to use image maps with Seaside and VW last year, the
> answer was effectively as I understood it that it was broken as delivered.
> Now I am currently using Seaside 2.6 for my current work, and will be for at
> least a few more months.  So I put off this work, but now I really do need
> an image map.  I saw that there is a new image map API for 2.7.  I figured
> that I may be able to backport the new stuff to v2.6.  The trouble is I
> don't see how to use the new image map API.  I see only two methods in the
> WAImageMapTag:
>   callback:
>   parseImageMap:
> How do I use these?

The class comment says:
A WAImageMapTag is supposed to be used like this:

	html map
		id: #pictureMap;
		title: 'Click here';
		callback: [ :point | self click: point + self offset];
		with: [
			html image
				form: self form ]
Examples can be found in WAScreenshot

Which part is unclear?


> Is a backport feasible?  :-)
> -Carl Gundel
> http://www.runbasic.com
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the Seaside mailing list