Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamically create component from namespace and tag name

Barney Barumba
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 (""), 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.


  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic