InstantiationException when deploying ear with custom tag lib on Jboss
posted 7 years ago
Here is my custom component:
Here is my faces-config.xml:
Here is the relevant portion of my web.xml:
Here is my tag descriptor:
Here is my call to the tag in xhtml:
The reason for extending the HTMLInputText class is so I can dynamically set the id of the form field based on my own logic. Otherwise I cannot display a dynamic list of form fields (HTMLInputTexts) by iterating through a list of data. I believe the problem is the com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer class is not visible to my application. It lives in jsf-impl.jar under a different app (jboss-web.deployer). This must be a classloader issue. I dont' see how to get around it.