title: How to override primefaces component class
body: <p>I would like to override a primefaces component class. So, I have registered the component class in faces-config.xml of WAR project.</p>
  
  <pre><code>    &lt;component&gt;
          &lt;component-type&gt;org.primefaces.component.dnd.Droppable&lt;/component-type&gt;
          &lt;component-class&gt;com.******.****.****.component.CustomDroppable&lt;/component-class&gt;
      &lt;/component&gt;
  </code></pre>
  
  <p>This is my new test class:</p>
  
  <pre><code>public class CustomDroppable extends Droppable{
  
      @Override
      public void queueEvent(FacesEvent event) {
          System.out.print("fffffffffffff");
      }
  
  }
  </code></pre>
  
  <p>The application was built anew, but it uses the old class. Why ? What else should I do ?</p>