虽然我正在使用丰富的自动完成功能,但问题是仅搜索时会显示值列表,如果它为空值则不会显示所有值。我将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>
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句