• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

missing columnClasses in h:panelGrid

 
peter tong
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


the output is


as we can see, only the first column "welcome...." has <td class="tdBorder">, the other two columns "logout", "Language" has not!!
why will this happens?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should check panelGrid's columnClasses API : Comma-delimited list of CSS style classes that will be applied to the columns of this table. If the number of elements in this list is less than the number of columns specified in the "columns" attribute, no "class" attribute is output for each column greater than the number of elements in the list.
You have 3 columns, and only one element in columnClasses.
 
peter tong
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
success!!
using

thannks!!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic