我需要更新xhtml中的托管bean值,以将属性传递给javascript函数
...
<p:commandButton style="margin-right: 5px"
styleClass="button_s"
id="submit" value="CHECK"
ajax="true"
actionListener="#{point.savePoint}"
onsuccess="drawPoint('#{point.correct}', '#{point.in}', '#{point.x}', '#{point.y}', '#{point.r}')">
</p:commandButton>
...
那么,我该怎么做才能更新.xhtml文件中的此属性?