hmmm....

when I do that it still renders as such:

<area shape="rect" title="search" alt="search" onClick="EditForm.submit();return false;" coords="358,96,412,111">
SearchElement: WOGenericElement{
        shape="rect";
        coords="358,96,412,111";
        elementName = "area";
        alt="search" ;
        invokeAction = search;
        onClick = "EditForm.submit();return false;";
        title="search";
}

Any thoughts?
Thanks
James


On Dec 10, 2008, at 1:22 PM, 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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to