【发布时间】:2015-12-05 15:38:41
【问题描述】:
是否可以将项目动态插入到单选菜单中:
目前用户必须转到另一个可以添加工作的页面:
然后导航回第一个视图以查看带有新添加的选择项的更新下拉菜单。更有效的选择是允许用户在此视图中即时插入,然后在下拉列表中选择它。
【问题讨论】:
-
So, basically, you want to add a dummy select item which when selected shows some dialog with that "Add new job" form and then refreshes the column in the parent page with the new job preselected in the行?
-
是的,预选将是一个奖励!我在想的另一个想法是在数据表的顶部有一个命令按钮,它将打开一个对话框,其功能与 Add New Job.xhtml 页面相同。但你的想法会更有效率。
标签: jsf primefaces selectonemenu