[Seaside] Image map tag
mbany at cincom.com
Fri Feb 9 09:29:59 UTC 2007
> > Hey we're trying to figure out the WAImageMapTag. Is this
> a complete item?
> What do you mean with complete item? Whether it works or it
> maps directly to an html element or it or has room for improvement?
I believe Carl would like WAImageMapTag to provide an api
as complete as WAImageTag's api, i.e. #altText:, #document:,
#mimeType:, #url:, #fileName:
Currently, the only way to supply an image to an WAImageMapTag
is to send #form: with a Form object.
> > It's not clear at all how to use it.
> Have a look at the screenshoot application.
Carl is using VW, there is no screenshot application in VW.
The #form: message cannot be used since VW does not have Form.
> > Do we need to flesh it out?
I agree with Carl that we should add the missing apis.
Maybe with an api like this
callback: [:pt | self clickAt: pt];
image: [:image | ... ]
where image is an instance of WAImageTag
If no one else volunteers, I can take care.
More information about the Seaside