Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Horizontal line break code in Backing bean Java code

 
A. Dusi
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question may be basic, but I am still learning JSF:

I have few components that I am adding to the JSF view through Java code in my backing bean. The total number of components is not fixed.
These components are laid out one on each line. I need to get a

(horizontal line) after each component. Is this possible through Java code
Or should I use any images?

Basically I would like to get an equivalent code for
of HTML.
Would be nice to know the equivalent code for
too. For now I am using a blank HtmlOutputText.

Thanks for any suggestions.
 
A. Dusi
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I forgot to mention that these components belong to a panelGrid. So that reminded to look into the panelGrid properties and I resolved it by setting the frame to "hsides" value.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic