Primefaces page layout with tree menu as navigation

后端 未结 2 1064
孤街浪徒
孤街浪徒 2020-12-20 01:36

I am using primefaces 3.1 with `, having four positions. In the west position(west) I have added tree menu. JSF code is follows



        
2条回答
  •  醉酒成梦
    2020-12-20 02:08

    This is achieved with the help of layout. Define layout template for your application. Sample is shown here ...

    myLayoutTemplate.xhtml

           
            
                
                    Place Your menu here ...
                
            
    
            
                
                    Page Content is loaded here .....
                
            
        
    

    In Your Page.xhtml which is to be loaded on click of your menu item, .....

    
        
    
        
    
    

提交回复
热议问题