【发布时间】:2016-12-19 12:58:00
【问题描述】:
虽然我使用的是丰富的自动完成功能,但问题是在仅搜索时它会显示值列表,如果它是空值,它不会显示所有值。我将 ajax 作为模式。
【问题讨论】:
-
您能简单介绍一下您的问题吗,因为我无法联系您
虽然我使用的是丰富的自动完成功能,但问题是在仅搜索时它会显示值列表,如果它是空值,它不会显示所有值。我将 ajax 作为模式。
【问题讨论】:
使用 value = 0 覆盖本地应用程序中 Richfaces 库的 getMinCharsOrDefault 方法,并在 facesconfig.xml 中添加下面的渲染器工具包。
<component-family>javax.faces.Input</component-family>
<renderer-type>org.richfaces.AutocompleteRenderer</renderer-type>
<renderer-class> your overriden class name </renderer-class>
【讨论】: