java Primefaces 中的组合框

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5903343/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-30 13:21:08  来源:igfitidea点击:

combobox in Primefaces

javajsfcomboboxprimefaces

提问by Harish

I am trying to learn JSF and was using JSF 2.0 along with PrimeFaces 3.0.Its cool but I was surprised to see there is no combo box.This is the drop down they have.Is there any way I can get combo box as most of the users prefer to type something and aid them as well.I remember seeing a combobox in ExtJs now merged with Sensha.Is there a component like thisin Primefaces coming or we should develop such components.

我正在尝试学习 JSF,并且正在使用 JSF 2.0 和 PrimeFaces 3.0。它很酷,但我很惊讶地看到没有组合框。这是下拉他们。就是有什么办法,我可以得到组合框,因为大多数用户的喜欢敲东西,帮助他们为well.I记得看到在ExtJS的组合框现在Sensha.Is合并有类似的组件在 Primefaces 到来或者我们应该开发这样的组件。

PS:The AJAX implementation is top notch,would recommend to any one looking for using JSF for development

PS:AJAX 实现是一流的,会推荐给任何想使用 JSF 进行开发的人

采纳答案by Cagatay Civici

3.1 has editable selectOneMenu. I believe this is what you are looking for.

3.1 具有可编辑的selectOneMenu。我相信这就是你正在寻找的。

http://blog.primefaces.org/?p=1631

http://blog.primefaces.org/?p=1631

回答by Matt Handy

Try to ask this question at the Primefaces support forum. They also have an issue tracking sitewith the option for new feature requests.

尝试在Primefaces 支持论坛上提出这个问题。他们还有一个问题跟踪站点,可以选择新功能请求。

Or, if you are lucky, Cagatay (the Primefaces developer) visits SO from time to time and you get an answer from himself.

或者,如果幸运的话,Cagatay(Primefaces 开发人员)会不时访问 SO,您会从他那里得到答案。