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.
如何显示 SelecteItem 中的 Label 并将值用作 Rich:combobox 中的 Key?Jboss 论坛说这是不可能的,因为rich:combobox 是为建议而设计的。不能真正替代 h:selectOneMenu 。有什么解决方法或替代方法吗?
PS:我尝试使用 JSF 转换器,它同时修改了值和标签。
不。使用 selectOneMenu。如果您想要ajax,请添加 a4j:support 作为孩子。