我想使用 JSF / Richfaces 执行以下任务
单击链接时-我想生成带有地图的PNG图像(图像的一部分应该是可点击的)并在面板下呈现。
当我生成图像时,我知道需要可点击的图像坐标。所以我可以生成地图。但我想在一个 XHTML 文件下完成。可以丰富: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>