In question: The class behind ui:include JSF tag I found out that I need to use the IncludeHandler to use
<ui:include>
programmatically.
However, the constructor needs a "config"-parameter and I don't know how to set this up.
Please give an example that shows how to use the IncludeHandler for a simple include like
<ui:include src="include.xhtml" />
My jsf-component currently is built programmaticly but I want to include some parts written as ".xhtml". So at the end a web-designer simply has a component like
<fg:generator></fg:generator>
and some ".xhtml"-files to play around with the styling. If there's a better approach than the IncludeHandler (still needs to be in Java) let me know :)