You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Yoganarasimha G <yo...@mphasis.com> on 2003/10/29 14:11:46 UTC

query on tag

HI all

I'm trying to use <html:img /> tag to display dynamically generated image. here's the code

<html:img src="/path1/OrgChartImageAction.do"> here i want to use "usemap" attribute.
The coordinates for use map is generated dynamically when the 'src="/path1/OrgChartImageAction.do"' 
is triggered and i'm storing the imagemap string in session. Can any one tell me how do i 
specify "usemap" attribute so that finally i get html as follows..

<img src="/pogo/OrgChartImageAction.do" usemap="#test1">

<map name="test1">
<area rect="xx,yy,xx1,yy1" HREF="javascript:displayProfile('abc')>
<area rect="xx2,yy2,xx3,yy3" HREF="javascript:callGet('xyz')>
<area rect="xx4,yy4,xx5,yy5" HREF="javascript:displayProfile('abc')>
</map>

regards
Yoga

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org