Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JSF and the fly likes Horizontal line break code in Backing bean Java code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Horizontal line break code in Backing bean Java code" Watch "Horizontal line break code in Backing bean Java code" New topic
Author

Horizontal line break code in Backing bean Java code

A. Dusi
Ranch Hand

Joined: Sep 27, 2004
Posts: 114
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

Joined: Sep 27, 2004
Posts: 114
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.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Horizontal line break code in Backing bean Java code
 
It's not a secret anymore!