I have a Facelet that might be used in different applications. I don\'t to copy it, but reuse it. I need to pass the backing bean that will manage the view as a parameter,
Because I would have found it helpful yesterday, when I was looking for this, here is a simple version of how to do this, without the extraneous template, defines and namespaces:
File1.xhtml (the root tag doesn't matter)
File2.xhtml
File1.xhtml
File2.xhtml
File3.xhtml