Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当用户双击菜单时,如何执行支持 bean 操作?例如,使用selectManyListbox 我假设我需要一些javascript 来使用ondblclick 执行支持bean 操作。
有没有办法做到这一点?
谢谢,德韦恩
<h:selectManyListBox ondblclick="document.getElementById('yourFormId').submit()" />
(或使用多种方式之一获取父表单并提交)