我想分配一个动态值来#{viewScope.newLOBType}
使用(如下setPropertyActionListener
所示remotecommand
),那么如何将值从 Javascript 传递到这里?
代码:
<p:remoteCommand name="showPanel" update=":createLOBPanel">
<f:setPropertyActionListener target="#{viewScope.newLOBType}" value="..<dynamic value from JavaScript>.. "/>
</p:remoteCommand>