There are 4 tables that display records from the database through JPA. 4 tables should be shown at the same time, that is, there should be 4 frames on the page, in each a separate file is output. When clicking on individual links at the top, you should see a separate table on the page. How to make a template for this file? Here's how it should be

    1 answer 1

    This task can be solved without the use of frames at all, if all pages are self-sufficient. An example of the design of the All Tables page:

    <h:panelGrid columns="2"> <ui:include src="Table1.xhtml"> <ui:include src="Table3.xhtml"> <ui:include src="Table2.xhtml"> <ui:include src="Table4.xhtml"> </h:panelGrid>