• Post Reply Bookmark Topic Watch Topic
  • New Topic

inserting html tag directly into JSF xhtml pages  RSS feed

 
Tim Resh
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to insert some html tag like the following into a primefaces xhtml page but it does not display on the output with the other primefaces tags





This uses a css3 tags to rotate the text 90 degrees so I can have a word next to my graph that is vertical. Apparently jsf strips out the html tags.

Anybody ever tried this? How do you put in formatting to make the xhtml pages pretty and not plain, any suggestions? I already have the theme support but it still is pretty rough look.
 
Tim Resh
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it working. Vertical text within a row/column on a panelgrid. here's how;

1) put the above style text in a file called verticalStyle.css and then use

at the top of your xhtml file.

2) use the following to display text 90 degree clockwise


You will have to do some changes to any other fields or output as this will overlay the output without regards for height of the field.

Hope this makes sense
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!