The issue is:
If I have page like:
... ... <ui:composition> .. .. </ui:compositionui> ... ...
... ... <ui:composition template="/templates/main.xhtml"> .. .. </ui:compositionui> ... ...
"doesn't works" means what ?
Got a screenshot of working/non-working ?