开发者

startsWith autocomplete jsf

开发者 https://www.devze.com 2023-04-09 21:49 出处:网络
Ill just why is it this error apperars when i add this code to my autosuggest \"CANT INSTANTIATE CORE.BEAN\"

Ill just why is it this error apperars when i add this code to my autosuggest "CANT INSTANTIATE CORE.BEAN"

while(rs.next()) {
            String s = rs.getString("name");
            if(s.startsWith(text)){
            data.add(s);}  

here's my xhtml file

<p:autoComplete id="input" value="#{bean.text}" completeMethod="#{bean.complete}" maxResults="11" />

or if im doing it wrong, any开发者_如何学Pythonone who could correct me?

Thanks!

0

精彩评论

暂无评论...
验证码 换一张
取 消