Note that there are some explanatory texts on larger screens.

plurals
  1. POWARN [Parameters] Parameters: Invalid chunk ignored. warning coming in primefaces application
    primarykey
    data
    text
    <p>I am trying to build sample JSF 2 based autocomplete form. I am using primefaces 3.0.M2, JSF 2.1.2 libraries and JBoss 6.</p> <p>I am using autoComplete component of primefaces but its not working. I am not getting any autocomplete text when I type in input text box.</p> <p>I can see only following warning in JBoss console window :</p> <pre><code>19:40:56,874 WARN [Parameters] Parameters: Invalid chunk ignored. </code></pre> <p>My xhtml file looks like following :</p> <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:p="http://primefaces.prime.com.tr/ui"&gt; &lt;h:head&gt; &lt;title&gt;sample auto completer&lt;/title&gt; &lt;/h:head&gt; &lt;h:body&gt; &lt;p:messages id="messages" /&gt; &lt;p:autoComplete id="AutoCompleter" value="#{myBean.text}" completeMethod="#{myBean.complete}" onSelectUpdate="messages"/&gt; &lt;/h:body&gt; &lt;/html&gt; </code></pre> <p>and java bean code is as follows :</p> <pre><code>package com.shekhar.jsf; import java.util.ArrayList; import java.util.List; public class Bean { private String text; public List&lt;String&gt; complete(String val) { List&lt;String&gt; lst = new ArrayList&lt;String&gt;(); for (int i = 0; i &lt; 10; i++) { lst.add(val + i); } return lst; } public void setText(String text) { this.text = text; } public String getText() { return text; } } </code></pre> <p>and my faces-config file contains following code :</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;faces-config xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd" version="2.0"&gt; &lt;managed-bean&gt; &lt;managed-bean-name&gt;myBean&lt;/managed-bean-name&gt; &lt;managed-bean-class&gt;com.shekhar.jsf.Bean&lt;/managed-bean-class&gt; &lt;managed-bean-scope&gt;request&lt;/managed-bean-scope&gt; &lt;/managed-bean&gt; &lt;/faces-config&gt; </code></pre> <p>I dont understand which thing I am missing. Please help !!!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload