• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to debug an ID when given a WARN in HtmlGridRenderer?

 
Paul Smiley
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you debug a log message like this?

"PanelGrid xyzForm:_id5 has not enough children. Child count should be a multiple of the columns attribute."

I did a view source and no such identifier appears. No line number or anything. Not much use to me. Anyone know how to find this easily?
[ September 13, 2005: Message edited by: Paul Smiley ]
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you don't give your components an ID then JSF makes one up for you. Hence, _id5.

Basically, what this means is you have a component, maybe a panelGrid, that is expecting more child components than what you have provided.
 
Paul Smiley
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doh! I put a Panel grid in there with no id as I would with a Swing JPanel.
Thanks!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!