• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamically create component from namespace and tag name

 
Barney Barumba
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way to create a component in Java based on the namespace and tag name, as entered in a .xhtml page? For example, to create a basic input text component I can do this:
But that requires me to do the mapping manually, and would not appear to work for composite components ("http://java.sun.com/jsf/composite"), which do not appear to have a registered component type. What I'd like to do is something like this: And have the framework do the work for me.

Cheers,

Barney
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic