File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes InstantiationException when deploying ear with custom tag lib on Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "InstantiationException when deploying ear with custom tag lib on Jboss" Watch "InstantiationException when deploying ear with custom tag lib on Jboss" New topic
Author

InstantiationException when deploying ear with custom tag lib on Jboss

Hunter Stern
Greenhorn

Joined: Sep 01, 2004
Posts: 2
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.



The stack trace is below:

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: InstantiationException when deploying ear with custom tag lib on Jboss