When using <ui:composition> templating, where should I declare the <f:metadata>?
I have made a lot of progress in converting my JSF applications to book-markable pages, but I am wondering if I am doing it the right way. One question is that is there a best-practice location for the f:metadata tags? My typical Facelets client page looks like this: <ui:composition template="./pattern.xhtml"> <ui:define name="content"> <f:metadata> <f:viewParam name="userId" value="#{bean.userId}" /> <f:viewParam name="startRecord" value="#{bean.startRecord}" /> <f:viewParam name="pageSize" value="#{bean.pageSize}" /> <f:viewParam name="sort" value="#{bean.sort}" /> </f:metadata> <h1>Data