how to do partial page rendering (center content) with jsf2 templating via ajax (from menu)

前端 未结 2 2006
孤独总比滥情好
孤独总比滥情好 2020-12-18 16:56

i have been struggling getting this to work for 2 weeks, I am trying to merge info from BalusC from these 2 posts to (link1 link2) to achieve partial page rendering of a ce

2条回答
  •  庸人自扰
    2020-12-18 17:12

    The error you are getting suggests the include...xhtml page can not be found. Where are the files located? They should be in the same directory as the page-layout.xhtml file? To simplify everything I would just test if the include works, yuo can replace this:

    
                        
                             
             
                        
                             
            
                         
                             
            
     
    

    with:

    
                     
    
    

提交回复
热议问题