【发布时间】:2009-03-19 09:56:16
【问题描述】:
我想使用 JSF / Richfaces 执行以下任务
点击链接 - 我想生成一个带有地图的 PNG 图像(图像的一部分应该是可点击的)并在面板下呈现。
当我生成图像时,我知道需要可点击的图像坐标。所以我可以生成地图。但我想在一个 XHTML 文件下完成。可以rich:paint2d标签接受地图之类的 -
<map name="mapGraph">
<area coords="754,378 20" href="http://google.com" shape="Circle" alt="Drill Down">
<area coords="33,439 20" href="http://google.com" shape="Circle" alt="Drill Down">
<area coords="393,425 20" href="http://google.com" shape="Circle" alt="Drill Down">
<area coords="573,378 20" href="http://google.com" shape="Circle" alt="Drill Down">
<area coords="213,407 20" href="http://yahoo.com" shape="Circle" alt="Drill Down">
</map>
【问题讨论】: