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 Dynamically create component from namespace and tag name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Dynamically create component from namespace and tag name" Watch "Dynamically create component from namespace and tag name" New topic
Author

Dynamically create component from namespace and tag name

Barney Barumba
Greenhorn

Joined: Dec 07, 2010
Posts: 1
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamically create component from namespace and tag name
 
Similar Threads
JSF 1.2 Input Custom Component.
create component with ajax and listener behavior in java
Mystified by JSF 2 composition components
Using ValueExpression's in a validator tag
Can't render custom facelet component in IceFaces