• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Why does header repeat?  RSS feed

 
Ranch Hand
Posts: 207
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm a JSF newbie, for sure. I'm working w/ a dataTable and I can't get my headers to display *only* as headers, they're repeating for each row of data.

Here's my dataTable:



I would expect to see the two nbsp's, "Directory Name" and "Is Default" as the first row, the header...but instead they appear next to each data item in every row!

What am I doing wrong?

I'm using Glassfish V1 w/ the built-in JSF 1.2 RI from Sun. I posted this question on the Glassfish forums but was ignored (for about a week now) so I assume it's a stupid question and no one wants to bother w/ it.

Thanks!
 
Vinnie Jenks
Ranch Hand
Posts: 207
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nevermind, that WAS a dumb question. Once I wrapped the plain text values w/ outputText controls...it all worked.

What bizarre behavior for doing it incorrectly, however!
 
I love a good mentalist. And so does this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!