Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

InstantiationException when deploying ear with custom tag lib on Jboss  RSS feed

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!