Javascript 尖兵;用JS添加项目
是否可以通过javascript wigdet选项添加项目Javascript 尖兵;用JS添加项目,javascript,jsf,primefaces,Javascript,Jsf,Primefaces,是否可以通过javascript wigdet选项添加项目 <p:pickList id="pickList" value="#{pickListView.features}" var="features" itemLabel="#{features}" itemValue="#{features}" showSourceFilter="true" showTargetFilter="true" filterMatchMode="contains" widgetVar="pickl
<p:pickList id="pickList" value="#{pickListView.features}" var="features" itemLabel="#{features}" itemValue="#{features}"
showSourceFilter="true" showTargetFilter="true" filterMatchMode="contains" widgetVar="picklist" />
将所选项目传输到targetlist
JS和Primefaces小部件有没有办法将项目添加到sourcelist中?我已经解决了这个问题
remoteCommand
“添加到源列表”是什么意思?您的意思是将项目从目标列表传输回源列表,还是更新列表的备份数据结构?要在Primefaces库中使用JS.lookup remoteCommand更新备份数据结构,谢谢kolossus。remoteCommand工作正常
remoteCommand