If I'm understanding you correctly, "OrgChartImageAction.do" is the
action that on submission will GENERATE the coordinates that you need in
the REFERENCE to "OrgChartImageAction.do".  It seems like this won't
work.  You need to have your setup action for this page generate the
coordinates for the map, and then have this page submit to a different
action.

> -----Original Message-----
> From: Yoganarasimha G [mailto:[EMAIL PROTECTED] 
> 
> 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>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to