« Return to Thread: How to programatically create a facelet (FaceletFactory.getInstance() returns null?)

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

by Cracauer, Dave :: Rate this Message:

Reply to Author | View in Thread

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

 « Return to Thread: How to programatically create a facelet (FaceletFactory.getInstance() returns null?)