This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Murach's Java Programming and have Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

missing columnClasses in h:panelGrid  RSS feed

 
peter tong
Ranch Hand
Posts: 250
  • 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: 250
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
success!!
using

thannks!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!