• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

InstantiationException when deploying ear with custom tag lib on Jboss

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic