我有一个应用程序与客户端图像映射定义了多个部分.我需要从<area>onclick属性调用Managed Bean中的方法.
这不起作用:
<area id="ReviewPerson" shape="rect" coords="3, 21, 164, 37" href="#"
onclick="#{personBean.method}" alt="Review Person" id="reviewPersonArea"
title="Review Person" />
Run Code Online (Sandbox Code Playgroud)
由于我的手被绑在图像映射上(不幸的是),如何在<area>标记内调用托管bean方法?
我想从JSF中的javascript函数调用backing bean方法.请你能指导我如何实现这个目标.
此致,Ravi Krish