1)How to include the many xhtml pages in one xhtml page
2) how to get the references to them in managed bean class 
            Asked
            
        
        
            Active
            
        
            Viewed 145 times
        
    1 Answers
1
            
            
        You need to try this
 <ui:include src="/page.xhtml">
        <ui:param value="value" name="name" />
 </ui:include>
Here, ui:param is used to pass the parameter.
 
    
    
        Yusuf Kapasi
        
- 577
- 2
- 9
- 
                    but how to access the refernces and contents of page.xhtml in managedbean class – cjack Nov 20 '14 at 14:12
- 
                    It should be the other way round, you should access the properties and use the functions of managedbean in your xhtml files. – Yusuf Kapasi Nov 20 '14 at 15:02
 
    