How to set colspan and rowspan in JSF panelGrid?

前端 未结 6 1144
粉色の甜心
粉色の甜心 2020-12-08 12:54

How can I set colspan and rowspan in JSF ?

6条回答
  •  佛祖请我去吃肉
    2020-12-08 13:41

    Assume

    1. a message resource file with two entries:

      key.row=
      key.gt=>

    2. row.xhtml

      
      
          
              
          
      
          
            
            
            
      
            
          
      
      
      

      then, for example

      
        
        
        
      
        
          
          
      
          
      Hello!!!!!

    Prints a table with 3 rows:

    1. r1-c1, r1-c2 , r1-c3

    2. 3 blank cells

    3. a cell aligned center, having colspan 3 and containing a hello div.

提交回复
热议问题