How to programatically create a facelet (FaceletFactory.getInstance() returns null?)

View: New views
1 Messages — Rating Filter:   Alert me  

How to programatically create a facelet (FaceletFactory.getInstance() returns null?)

by Cracauer, Dave :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How to programatically create a facelet (FaceletFactory.getInstance() returns null?)

Hi,
I'm trying to build my own component sub tree using a mix of richfaces tags and facelets.  I want to be able to add an .xhtml as a child of another UI component.  It looked like the easy way was FaceletFactory.getInstance().getFacelet(name).apply(xxx).  However, the return value of FaceletFactory.getInstance() is always null.

Is there a better way to achieve this?

Thanks,
Dave