If it's an option, you could also use good old WOActiveImage. It has
bindings (x,y) that specify the coordinates clicked by the user, so
you can process your imagemap on the server side.
It comes with a downside, though - all of the image is clickable, so
the user does not get feedback about clickability of certain parts of
the image when hovering over it.
http://developer.apple.com/documentation/WebObjects/Reference/DynamicElements/WOActiveImage/chapter_3_section_1.html
Cheers,
- Hugi
On 10.12.2008, at 19:22, Ramsey Lee Gurley wrote:
Hi James,
I think you need to use invokeAction. There is no action binding on
WOGenericElement
http://developer.apple.com/documentation/WebObjects/Reference/DynamicElements/WOGenericElement/chapter_16_section_3.html#/
/apple_ref/doc/uid/TP30001055-CH17-TPXREF103
Ramsey
On Dec 10, 2008, at 2:10 PM, James Cicenia wrote:
How do I put a hyperlink in the image map?
I tried doing a GenericElement like:
SearchElement: WOGenericElement{
coords="358,96,412,111";
elementName = "area";
shape="rect";
alt="search" ;
onClick = "EditForm.submit();return false;";
action=search;
}
but it doesn't render the href portion.
Thanks
James Cicenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40mac.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]